Emil Ernerfeldt
a4ce2afcd8
Update dependencies
4 years ago
Emil Ernerfeldt
cbdfc03378
Improve and expand documentation tests
4 years ago
crumblingstatue
8787eb77cf
Fix crates.io links to backends ( #30 )
4 years ago
Emil Ernerfeldt
060ce6b49f
Improve docs
4 years ago
Emil Ernerfeldt
2e80aba068
New example code
4 years ago
Emil Ernerfeldt
72285e7954
[slider] Add Slider::u32
4 years ago
Emil Ernerfeldt
7638ca9962
[app] Simplify interface to egui::app::App
4 years ago
Emil Ernerfeldt
daa7a2bdb2
[egui_glium] refactor
4 years ago
Emil Ernerfeldt
c364403d44
[app] Give apps the ability to resize integration
4 years ago
Emil Ernerfeldt
ba7f3572a0
Give TextEdit a default width
4 years ago
Emil Ernerfeldt
4b549a773e
Replace ctx.background_ui with CentralPanel
4 years ago
Emil Ernerfeldt
44a7cac046
`Context::begin_frame()` no longer returns anything.
Put your widgets into a `SidePanel`, `TopPanel`,
`Window` or into `ctx.background_ui()`.
4 years ago
Emil Ernerfeldt
f86cb4a923
[demo] Improve introspection UI of areas
4 years ago
Emil Ernerfeldt
3416f3b91f
[style] Wrap tooltip text earlier
4 years ago
Emil Ernerfeldt
c96a929713
Improve GraphicLayers: always paint all layers
4 years ago
Emil Ernerfeldt
211d70b4f3
[window] Remove ability to throw windows
4 years ago
Emil Ernerfeldt
fa831a2b55
Fix throwing areas around
4 years ago
Emil Ernerfeldt
df056d2ce4
[egui_web] Disable face culling in WebGL renderer
Closes https://github.com/emilk/egui/issues/29
4 years ago
Emil Ernerfeldt
90700e950e
Add /.vscode and /.*.json to .gitignore
4 years ago
Emil Ernerfeldt
46e39d3dd9
Add high-prio TODO to refactor layer system
4 years ago
Emil Ernerfeldt
35b949a2d8
Refactor panels into proper containers
4 years ago
Emil Ernerfeldt
8b51ae5dea
Panels: Added Context::panel_left and panel_top
Context will keep track of the avilable space left after panels.
Windows will be constrained to that available space.
So add panels first, THEN add windows.
4 years ago
Emil Ernerfeldt
15c5e0b04d
[menu] Fix minor size issue of menu bars
4 years ago
Emil Ernerfeldt
46ce9a4f3d
[windows] Constrain windows to screen
4 years ago
Emil Ernerfeldt
39431afd03
[refactor] Rename Layer to LayerId for clarity
4 years ago
Emil Ernerfeldt
9b01c75e16
tesselator: produce fewer paint jobs with PaintCmd::Triangles
4 years ago
Emil Ernerfeldt
7fbb11481b
Try to protect against invalid Triangles
4 years ago
Emil Ernerfeldt
bc5dbd718e
Fix: Context::wants_mouse_input() now returns false if a mouse drag started outside of Egui
4 years ago
Emil Ernerfeldt
6bbdf08482
[refactor] Split DemoWindows out of demos::DemoApp
4 years ago
Emil Ernerfeldt
8ccc36937f
[egui_glium] Add option not to persist app to file
4 years ago
Emil Ernerfeldt
43813a71eb
[app] Add egui::app::DummyStorage
4 years ago
Emil Ernerfeldt
7f8564b27a
Expand and clarify project goals
4 years ago
Emil Ernerfeldt
222f534713
Add links to wgpu and winit integrations
4 years ago
Emil Ernerfeldt
12d387d7f5
Replace term "backend" with "integration"
4 years ago
Emil Ernerfeldt
92cfbe643c
Add #![forbid(unsafe_code)] and safety badge
4 years ago
Emil Ernerfeldt
b8642b4db4
Do less rounding of positions to pixel boundaries
Fixes https://github.com/emilk/egui/issues/27
4 years ago
Emil Ernerfeldt
a4e19d7207
[app] Add demo app slider to change scale of all of Egui
4 years ago
Emil Ernerfeldt
251cde60f0
[app] Refactor egui::app::App interface to be more data oriented
4 years ago
Emil Ernerfeldt
e56924dc4f
Add check.sh helper
4 years ago
Emil Ernerfeldt
4e0ea32d99
fix clippy issues
4 years ago
Emil Ernerfeldt
4fc34cca45
[demo] Show detailed memory usage statistics of paint lists
4 years ago
Emil Ernerfeldt
570860ec5f
[refactor] Create helper struct Mutex (with double-lock detection)
4 years ago
Emil Ernerfeldt
c2a0705c6f
Add ability to override text color with `visuals.override_text_color`
This is kind of hacky; I may redesign this later
4 years ago
Emil Ernerfeldt
1bd45c35eb
Collapsing header returns header and body responses
4 years ago
Emil Ernerfeldt
7561ccc189
ui.horizontal(...) etc returns Response
This is much more ergonomic than just returning a Rect (like previously).
The Response only contains `hover` checks.
4 years ago
Emil Ernerfeldt
7db71eb875
Use positional ids for sliders
This means two sliders now can use the same label
4 years ago
Emil Ernerfeldt
a35fe7da12
Export egui::demos::app::DemoApp
Closes https://github.com/emilk/egui/issues/26
4 years ago
Emil Ernerfeldt
73dc3484ae
[refactor] Separate space allocation from cursor advancement
4 years ago
Emil Ernerfeldt
f0a45f5055
[refactor] Simplify Context with new `struct Options`
4 years ago
Emil Ernerfeldt
ad4f87831b
[refactor] Make `Ui` lighter by using a clone-on-write `Arc<Style>`
4 years ago