egui/examples
Emil Ernerfeldt 3c4223c6b1
Support images with rounded corners (#3257)
* Add `Rect::ZERO`

* Add `Rounding::ZERO`

* Add `RectShape::new`

* Add `Image::rounding` to support images with rounded corners
2023-08-15 09:29:30 +02:00
..
confirm_exit Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
custom_3d_glow Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
custom_font Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
custom_font_style Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
custom_window_frame Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
download_image Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
file_dialog Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
hello_world Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
hello_world_par Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
hello_world_simple Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
keyboard_events Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
puffin_profiler Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
retained_image Support images with rounded corners (#3257) 2023-08-15 09:29:30 +02:00
save_plot Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
screenshot Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
serial_windows Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
svg Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
user_attention Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +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.