egui/examples
Emil Ernerfeldt d7d222d3f6
Polish image API (#3338)
* Imoprove docs for callback shapes

* Improve docs for loader traits

* Use snake_case for feature `all_loaders`

* Make loaders publix

* Slightly better error message on image load failure

* Improve image loading error messages

* Use `bytes://` schema for included bytes loader

* Try user loaders first

* Move `image_loading_spinners` to `Visuals`

* Unify and simplify code

* Make the main text of `Button` optional

This largely makes ImageButton obsolete

* Fix docstrings

* Better docs

* typos

* Use the more explicit `egui_extras::install_image_loaders`

* Simplify `Image::paint_at` function
2023-09-14 16:33:10 +02:00
..
confirm_exit Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
custom_3d_glow Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
custom_font Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
custom_font_style Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
custom_window_frame Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
file_dialog Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
hello_world Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
hello_world_par Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
hello_world_simple Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
images Polish image API (#3338) 2023-09-14 16:33:10 +02:00
keyboard_events Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
puffin_profiler Add more puffin profile scopes to `eframe` (#3330) 2023-09-13 09:00:38 +02:00
save_plot Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
screenshot Final polish for new image loading (#3328) 2023-09-13 16:27:08 +02:00
serial_windows Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
user_attention Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
README.md examples/README.md: explain that the examples are for master 2023-02-08 20:34:43 +01:00

README.md

egui and eframe examples

All the examples in this folder uses eframe to set up a window for egui. Some examples are specific to eframe, but many are applicable to any egui integration.

There are a lot more examples at https://www.egui.rs, and it has links to the source code of each example.

Also check out the official docs at https://docs.rs/egui and https://docs.rs/eframe.

Note that all the examples on master are for the latest master version of egui.

If you want to look for examples for a specific version of egui, go to that tag, e.g. https://github.com/emilk/egui/tree/latest/examples.