egui/egui_demo_lib
Emil Ernerfeldt b7ebe16cfb
Storage and frame refactor (#1418)
The purpose of this is to expose `frame.storage()` and `frame.storage_mut()` so users can save/load app state from the `App::update` function, without having to add another parameter to that function.

Changes:
* Added `Frame::storage()` and `Frame::storage_mut()`
* `App::update` now takes a `&mut Frame` rather than just `&Frame`
* `Frame` is no longer `Clone` or `Sync` (doesn't have to be since https://github.com/emilk/egui/pull/1366)
2022-03-25 21:19:31 +01:00
..
benches Refactor TessellationOptions to expose slider for feathering size (#1408) 2022-03-23 11:41:38 +01:00
src Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
Cargo.toml Context::request_repaint will wake up the UI thread (#1366) 2022-03-15 17:21:52 +01:00
README.md Add inter-linking between different forms of documentations and examples 2021-12-29 21:44:48 +01:00

egui demo library

Latest version Documentation unsafe forbidden MIT Apache

This crate contains example code for egui.

The demo library is a separate crate for three reasons:

  • To ensure it only uses the public egui api.
  • To remove the amount of code in egui proper.
  • To make it easy for other integrations to use the egui demos a test.