egui/egui_demo_app/src
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
..
apps Re-implement PaintCallbacks With Support for WGPU (#1684) 2022-05-28 17:52:36 +02:00
backend_panel.rs Improve web demo for mobile (#1556) 2022-05-02 13:13:35 +02:00
frame_history.rs Replace TODO: with TODO(emilk): and update code guidelines 2022-05-21 16:53:25 +02:00
lib.rs Use dark-light on Mac and Windows (#1726) 2022-06-09 17:41:59 +02:00
main.rs Add egui_wgpu crate (#1564) 2022-05-12 09:02:28 +02:00
wrap_app.rs Use dark-light on Mac and Windows (#1726) 2022-06-09 17:41:59 +02:00