Crates.io | irox-egui-extras |
lib.rs | irox-egui-extras |
version | 0.5.0 |
source | src |
created_at | 2023-09-05 02:58:05.808266 |
updated_at | 2024-10-30 02:41:44.446791 |
description | Extras & tweaks for the egui framework |
homepage | https://github.com/spmadden/irox |
repository | https://github.com/spmadden/irox |
max_upload_size | |
id | 963837 |
size | 210,914 |
Stuff that should have been in egui, but isn't.
Use:
let object = (); // your object that impls Serialize
let mut ser = EguiSerializer::new();
if let Ok(()) = obj.serialize( & mut ser) {
ser.show(ui);
}
In the above screenshot, ui
is a Window
Drop-in replacement of egui's ProgressBar widget with some tweaks:
Boilerplate bootstraps to make writing tools in egui easier. See the screenshot above for an example of the ToolFrame.
You must impl ToolApp
to use ToolFrame
Wraps your App impl to automatically persist your App state to disk. Requires features serde
Allows you to compose multiple Apps together. The update
method will be called sequentially, in the order the apps
are provided.