Emil Ernerfeldt
a2a4eafd0e
fix compilation of test and benchmark
2020-10-01 16:54:05 +02:00
Emil Ernerfeldt
5856cded95
refactor RunMode: move it from backend to the demo App ( #23 )
...
This simplifies the egui_glium and egui_web backends substantially,
reduces the scope of RunMode to a single file, and
removes duplicated code.
Basically: this is how I should have written it from the beginning.
2020-09-16 08:03:40 +02:00
Emil Ernerfeldt
5ba420988f
[docs] improve toggle_switch.rs demo with better comments
2020-09-11 17:17:43 +02:00
Emil Ernerfeldt
c6f7534a8b
README.md: add a "Why Egui?" section
...
Includes a comparison with imgui-rs
2020-09-11 11:38:45 +02:00
Emil Ernerfeldt
10574c34d6
make it easy to combine Response:s with | and |= overloads
2020-09-11 10:19:04 +02:00
Emil Ernerfeldt
a76d57480d
fix: menu bar should have a background
2020-09-07 20:54:29 +02:00
Emil Ernerfeldt
8b93135fe4
[style] you can override the default body text style
2020-09-04 10:15:35 +02:00
Emil Ernerfeldt
3962fae76e
Merge pull request #13 from FGRibreau/patch-1
...
fix 404 link
2020-08-05 10:27:11 +02:00
Emil Ernerfeldt
b17f200b35
github action
...
From https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
2020-07-30 12:12:06 +02:00
Emil Ernerfeldt
67bafad8f9
[button] add ability to disable Button
2020-06-22 10:36:27 +02:00
Emil Ernerfeldt
53dbbd0d53
[id] smarter id selection for collapsing header
2020-06-12 15:03:36 +02:00
Emil Ernerfeldt
5c2a0a59ac
[collapsing header] add id_source to builder
2020-06-12 13:49:35 +02:00
Emil Ernerfeldt
916e667aa2
[style] tigher buttons and monospaced DragValue text
2020-06-11 18:07:42 +02:00
Emil Ernerfeldt
097730461d
[input] add queries for if egui is interested in mouse/kb
2020-06-11 18:07:21 +02:00
Emil Ernerfeldt
94545409c6
[id] improve default Id generation
...
Base on child count instead of on screen position.
This is more robust against changing sizes of nearby widgets.
2020-06-11 18:06:23 +02:00
Emil Ernerfeldt
2dea2ee668
update Cargo.lock to 0.1.2
2020-06-10 17:11:44 +02:00
Emil Ernerfeldt
cc589c7bbc
bump version to 0.1.2
2020-06-10 16:58:57 +02:00
Emil Ernerfeldt
acdc2b004f
[widgets] new widget: DragValue
2020-06-10 16:23:49 +02:00
Emil Ernerfeldt
a90dda6162
[button] add sense so you can make drag buttons
2020-06-10 16:23:15 +02:00
Emil Ernerfeldt
2162ffff42
[slider] round so what you see is what you get
2020-06-10 16:22:31 +02:00
Emil Ernerfeldt
3c85c2d364
Merge pull request #3 from Jasper-Bekkers/master
...
Add badges
2020-06-10 12:04:30 +02:00
Emil Ernerfeldt
9f46d8f0be
[ui] add convenience functions
2020-05-30 09:51:57 +02:00
Emil Ernerfeldt
3de20d033e
[window] remove frame delay when moving/resizing
2020-05-27 08:38:21 +02:00
Emil Ernerfeldt
bcc786fd95
[license] licence under MIT or Apache-2.0
2020-05-26 15:07:31 +02:00
Emil Ernerfeldt
550f3dcfa1
[examples] fix fractal clock size
2020-05-26 11:15:53 +02:00
Emil Ernerfeldt
6ad74ccaf5
Merge pull request #2 from not-fl3/patch-1
...
Mention miniquad backend in readme
2020-05-07 17:35:57 +02:00
Emil Ernerfeldt
87e3aacf35
enforce and fix a bunch of clippy issues
2020-05-07 10:47:03 +02:00
Emil Ernerfeldt
0be9722af5
Handle more than 2^16 vertices in WebGL renderer
2019-03-12 14:43:50 +01:00
Emil Ernerfeldt
0ba687f521
Run on requestAnimationFrame by default
2019-03-12 10:01:25 +01:00
Emil Ernerfeldt
9cdd038285
Expose mesher module
2019-03-12 10:01:25 +01:00
Emil Ernerfeldt
192b59ebb0
Refactor: remove GuiCmd
2019-03-11 15:59:49 +01:00
Emil Ernerfeldt
87288634e9
Refactor: Merge LayoutOptions and Style
2019-03-11 15:39:54 +01:00
Emil Ernerfeldt
7cbf8e45bc
Nicer looking colors and sliders
2019-03-11 15:30:32 +01:00
Emil Ernerfeldt
ef4f0908f2
make label into a macro
2019-01-21 01:48:32 -06:00
Emil Ernerfeldt
c2c94ddda5
Pixel-perfect fonts
2019-01-19 10:10:28 -06:00
Emil Ernerfeldt
cd8ca47e76
Small tweaks
2019-01-19 10:09:00 -06:00
Emil Ernerfeldt
391abda3d5
Mobile fixes
2019-01-17 17:34:01 -06:00
Emil Ernerfeldt
46293f6fd4
Allow zooming font atlas
2019-01-17 17:33:20 -06:00
Emil Ernerfeldt
88fdd127ea
Allow resizing fonts at runtime
2019-01-17 11:03:39 -06:00
Emil Ernerfeldt
fe3542a28d
Allow floating point font sizes
2019-01-17 07:07:02 -06:00
Emil Ernerfeldt
616245c323
Refactor: create Texture struct
2019-01-16 17:09:12 -06:00
Emil Ernerfeldt
7f83876005
Enable colored text (and other misc fixes)
2019-01-16 09:28:43 -06:00
Emil Ernerfeldt
4dab7a1504
Fix font test
2019-01-15 04:50:30 -06:00
Emil Ernerfeldt
2c0ca77e09
Add support for alignment (min, center, max) in horizontal and vertical layouts
2019-01-15 04:50:30 -06:00
Emil Ernerfeldt
3f84836c20
Add rect field to InteractInfo struct
2019-01-15 04:48:05 -06:00