egui/examples
Andreas Reich 8aa07e9d43
Clear color values are now explicitely sent to the rendering backend as-is. (#2666)
* Clear color values are not explicitely sent to the rendering backend as-is.
Previously, converting from Color32 to Rgba caused an srgb->linear conversion. This conversion is incorrect if the backbuffer doesn't perform automatic conversion from linear->srgb (lack of this conversion is generally what egui assumes!).

* fill in pr numbers in changelog

* Epi comment fix

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* Color32 comment fix

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* move changelog line

* rename fix

* use backticks in doc

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-04 11:02:15 +01:00
..
confirm_exit Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
custom_3d_glow Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
custom_3d_three-d Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
custom_font Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
custom_font_style Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
custom_window_frame Clear color values are now explicitely sent to the rendering backend as-is. (#2666) 2023-02-04 11:02:15 +01:00
download_image Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
file_dialog Avoid deadlocks by using lambdas for context lock (#2625) 2023-01-25 10:24:23 +01:00
hello_world Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
hello_world_par Avoid deadlocks by using lambdas for context lock (#2625) 2023-01-25 10:24:23 +01:00
keyboard_events Avoid deadlocks by using lambdas for context lock (#2625) 2023-01-25 10:24:23 +01:00
puffin_profiler Avoid deadlocks by using lambdas for context lock (#2625) 2023-01-25 10:24:23 +01:00
retained_image Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
screenshot Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
serial_windows Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
svg Rename eframe::EframeError to eframe::Error 2022-12-14 17:29:54 +01:00
README.md Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00

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.