egui/examples
frederik-uni 04ab5e7574
`Context::add_font` (#5228)
make it easier to add fonts. 

For example if I want to add a custom FontFamily or if the user wants to
add a Chinese fallback
* [x] I have followed the instructions in the PR template

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-10-23 14:29:44 +02:00
..
confirm_exit `eframe::Result` is now short for `eframe::Result<()>` (#4706) 2024-06-25 13:31:42 +02:00
custom_3d_glow `eframe::Result` is now short for `eframe::Result<()>` (#4706) 2024-06-25 13:31:42 +02:00
custom_font `Context::add_font` (#5228) 2024-10-23 14:29:44 +02:00
custom_font_style Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2024-09-11 17:52:53 +02:00
custom_keypad Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2024-09-11 17:52:53 +02:00
custom_style Add a `cargo machete` CI step (#5171) 2024-09-26 10:24:37 +02:00
custom_window_frame Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2024-09-11 17:52:53 +02:00
file_dialog Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
hello_world `eframe::Result` is now short for `eframe::Result<()>` (#4706) 2024-06-25 13:31:42 +02:00
hello_world_par Add a `cargo machete` CI step (#5171) 2024-09-26 10:24:37 +02:00
hello_world_simple Allow easier setting of background color for TextEdit (#5203) 2024-10-02 21:23:54 +02:00
images Add a `cargo machete` CI step (#5171) 2024-09-26 10:24:37 +02:00
keyboard_events Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
multiple_viewports `eframe::Result` is now short for `eframe::Result<()>` (#4706) 2024-06-25 13:31:42 +02:00
popups Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
puffin_profiler Use `log` crate instead of `eprintln` & remove some unwraps (#5010) 2024-09-13 14:23:13 +02:00
screenshot Make Light & Dark Visuals Customizable When Following The System Theme (#4744) 2024-09-11 17:52:53 +02:00
serial_windows Use `log` crate instead of `eprintln` & remove some unwraps (#5010) 2024-09-13 14:23:13 +02:00
user_attention `eframe::Result` is now short for `eframe::Result<()>` (#4706) 2024-06-25 13:31:42 +02:00
README.md examples/README.md: explain that the examples are for master 2023-02-08 20:34:43 +01:00
run_all.sh Fix up some examples (#3614) 2023-11-23 12:58:44 +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.