1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00
Files
egui/epi
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
..
2022-03-25 21:19:31 +01:00

epi: the egui application programming interface

Latest version Documentation unsafe forbidden MIT Apache

epi is a backend-agnostic interface for writing apps using egui (a platform agnostic GUI library).

This crate provides a common interface for programming an app using egui, which can then be easily plugged into eframe (which is a wrapper over egui_web, egui_glium and egui_glow).

This crate is only for those that want to write an app that can be compiled both natively and for the web.