Emil Ernerfeldt
dbab277658
[egui_glium] Restore window position when starting app
4 years ago
Emil Ernerfeldt
05f3cd66ce
README.md: add links to egui_template, Discussions and CONTRIBUTING.md
4 years ago
Emil Ernerfeldt
5588c2075c
Create CONTRIBUTING.md
4 years ago
Emil Ernerfeldt
58c025a7e3
Merge pull request #70 from emilk/framework
Combine demo_glium and demo_web into one egui_demo crate
4 years ago
Emil Ernerfeldt
d0f6954900
Combine demo_glium and demo_web into one egui_demo crate
4 years ago
Emil Ernerfeldt
fb941cf618
[egui_web] Simplify the arguments you pass to `start()`
4 years ago
Emil Ernerfeldt
8f034d391d
[egui_glium] Your app state will auto-save to a good directory
Directory found with https://docs.rs/directories-next/2.0.0/directories_next/struct.ProjectDirs.html#method.data_dir
4 years ago
Emil Ernerfeldt
89937bf636
[egui_web] Auto-save app state to Local Storage every 30 seconds
4 years ago
Emil Ernerfeldt
2fe1e99218
Remove example_glium
Look at https://github.com/emilk/egui_template instead
4 years ago
Emil Ernerfeldt
8e9bce459f
Move Painting demo to own window (and file)
4 years ago
Emil Ernerfeldt
f9b1e88fe6
Constrain tooltips to fit within the screen
4 years ago
Emil Ernerfeldt
03d09a9b57
Turn on anti-aliasing in debug builds
4 years ago
Emil Ernerfeldt
75e2752a47
Tweak hyperlink color
4 years ago
Emil Ernerfeldt
dd2f50e8ed
Add #[must_use] to all widgets
4 years ago
Emil Ernerfeldt
99808d2df8
Implement Storage trait for egui_web:s local storage bindings
4 years ago
Emil Ernerfeldt
7ff5d4726b
Change default window width
4 years ago
Emil Ernerfeldt
01c65b0dcb
Replace Arc<Context> with struct CtxRef
4 years ago
Emil Ernerfeldt
ce0ea74c9f
Fix: The background of CentralPanel will now cover unused space too
4 years ago
Emil Ernerfeldt
ea10add1cb
Deprecate left/centered/right column functions in Ui
4 years ago
Emil Ernerfeldt
1e1bfa4dc7
Add ui.allocate_painter helper
4 years ago
Emil Ernerfeldt
58f36eb6ef
A `Window` may now cover an existing `CentralPanel`
4 years ago
Emil Ernerfeldt
82a3997188
[egui_web] Add max canvas size to help perf issues on some platforms
Related: https://github.com/emilk/egui/issues/67
4 years ago
Emil Ernerfeldt
c3c4f28a9d
Added App::clear_color() that apps can use to specify background color
4 years ago
Emil Ernerfeldt
9ea8d907fd
[egui_glium] Fix: disable scissor before clearing
4 years ago
Emil Ernerfeldt
b0e17638df
trait App now has fn name() for specifying egui_glium window title
4 years ago
Emil Ernerfeldt
71449fe61c
Only forbid warnings in release builds
4 years ago
Emil Ernerfeldt
0e2c4077cb
Add '?' as fallback to the default replacement character
4 years ago
Emil Ernerfeldt
d022765a3c
Improve decimal logic for Slider and DragValue
* You can now control the minimum and maixumum number of decimals to show in a `Slider` or `DragValue`.
* `Slider` and `DragValue` uses fewer decimals by default. See the full precision by hovering over the value.
4 years ago
Emil Ernerfeldt
d6d9c4828e
Turn off `Window` title bars with `window.title_bar(false)`
You can still resize and move them assuming there is some area that
does not steal the drag input. In particular, if a scroll area covers
the window than dragging the window contents will scroll, not move it.
Closes https://github.com/emilk/egui/issues/66
4 years ago
Emil Ernerfeldt
c422ab930a
Remove very old lint.sh
4 years ago
Emil Ernerfeldt
dbf1e2d65b
New more mobile-friendly web demo
4 years ago
Emil Ernerfeldt
e4afba3bb8
Misc code cleanup
4 years ago
Emil Ernerfeldt
56502405f5
Tweak demo to work better on small screens (phones)
4 years ago
Emil Ernerfeldt
8af83bf93f
Slight tweak of the default `Style` and font sizes
4 years ago
Emil Ernerfeldt
709e711364
Deprecated RawInput::screen_size and replaced with screen_rect
4 years ago
Emil Ernerfeldt
2c766aa540
Make RawInput::time an Option
4 years ago
Emil Ernerfeldt
413f5fd37a
Allow windows to cover side panel if they do not otherwise fit
4 years ago
Emil Ernerfeldt
1c9fbc1588
Adjust default-size of Resize areas to fit within screen
4 years ago
Emil Ernerfeldt
91e5295db2
Add mouse-over explanation to duplicate ID warning
4 years ago
Emil Ernerfeldt
471314bb44
Fix edge-case in duplicate ID warning
4 years ago
Emil Ernerfeldt
f1b4353039
[egui_glium]: Store window size in points instead of physical pixels
4 years ago
Emil Ernerfeldt
484e218e54
cargo update
4 years ago
Emil Ernerfeldt
8528d8c5f7
Update parking_lot_core
Required turning on features = ["wasm-bindgen"] in egui_web
4 years ago
Emil Ernerfeldt
f9fc1e8a23
update js-sys, wasm-bindgen and wasm-bindgen-futures
4 years ago
Emil Ernerfeldt
cfd18fd782
update serde_json
4 years ago
Emil Ernerfeldt
67785c173b
update glium to 0.29
4 years ago
Emil Ernerfeldt
1453357800
update serde
4 years ago
Emil Ernerfeldt
f565535eca
update ahash to 0.6.2
4 years ago
Emil Ernerfeldt
0e0beece44
SidePanel::left and TopPanel::top now takes `impl Hash` instead of Id
4 years ago
Emil Ernerfeldt
18ebac116f
Add widget `ImageButton`
4 years ago