egui/egui_demo_app
Emil Ernerfeldt 317436c057
Use dark-light on Mac and Windows (#1726)
* Use dark-light on Mac and Windows

dark-light has a nasty problem on Linux: https://github.com/frewsxcv/rust-dark-light/issues/17

So we made dark-light opt-in in https://github.com/emilk/egui/pull/1437

This PR makes dark-light a default dependency again,
but only use it on Max and Windows.

This is controlled with the new NativeOptions::follow_system_theme.
If this isn't enabled, then NativeOptions::default_theme is used.

* Add eframe::WebOptions
2022-06-09 17:41:59 +02:00
..
src Use dark-light on Mac and Windows (#1726) 2022-06-09 17:41:59 +02:00
Cargo.toml Re-implement PaintCallbacks With Support for WGPU (#1684) 2022-05-28 17:52:36 +02:00
README.md Move code from egui_demo_lib to egui_demo_app (#1540) 2022-04-28 11:23:34 +02:00

egui demo app

This app demonstrates egui and eframe.

View the demo app online at https://egui.rs.

Run it locally with cargo run --release -p egui_demo_app.

egui_demo_app can be compiled to WASM and viewed in a browser locally with:

./sh/start_server.sh &
./sh/build_demo_web.sh --fast --open

egui_demo_app uses egui_demo_lib.