egui_demo_lib 0.8.1: export ColorTest

This commit is contained in:
Emil Ernerfeldt
2021-01-19 17:13:29 +01:00
parent 90a0ce969b
commit 29bb7c9f9d
4 changed files with 7 additions and 2 deletions
+4
View File
@@ -57,6 +57,10 @@ impl ColorTest {
ui: &mut Ui,
mut tex_allocator: &mut Option<&mut dyn epi::TextureAllocator>,
) {
ui.vertical_centered(|ui| {
ui.add(crate::__egui_github_link_file!());
});
ui.label("This is made to test that the egui painter backend is set up correctly, so that all colors are interpolated and blended in linear space with premultiplied alpha.");
ui.label("If everything is set up correctly, all groups of gradients will look uniform");
+1
View File
@@ -49,6 +49,7 @@ mod apps;
pub(crate) mod frame_history;
mod wrap_app;
pub use apps::ColorTest; // used for tests
pub use apps::DemoWindows; // used for tests
pub use wrap_app::WrapApp;