egui/eframe/examples
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
..
confirm_exit.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
custom_3d_glow.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
custom_3d_three-d.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
custom_font.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
custom_window_frame.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
download_image.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
file_dialog.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
hello_world.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
image.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00
rust-logo-256x256.png Improve the frame around ImageButton 2021-09-20 22:37:21 +02:00
rust-logo-license.txt Add example of loading and showing an image with eframe/egui 2021-09-04 17:44:01 +02:00
rustacean-flat-happy.svg Add an example of how to display an SVG image in egui (#1228) 2022-02-09 08:12:12 +01:00
svg.rs Storage and frame refactor (#1418) 2022-03-25 21:19:31 +01:00