1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Rename "Color test" to "Rendering test", and restructure it slightly (#4298)

Put the pixel-alignment test first, and hide the color test under a
collapsing header.

<img width="743" alt="Screenshot 2024-04-01 at 13 01 43"
src="https://github.com/emilk/egui/assets/1148717/8e7108ab-63c8-470f-9c21-83181287969b">
This commit is contained in:
Emil Ernerfeldt
2024-04-01 13:08:52 +02:00
committed by GitHub
parent e99bd00dec
commit 48ecf01e11
3 changed files with 60 additions and 32 deletions

View File

@@ -13,12 +13,12 @@
#![cfg_attr(feature = "puffin", deny(unsafe_code))]
#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))]
mod color_test;
mod demo;
pub mod easy_mark;
mod rendering_test;
pub use color_test::ColorTest;
pub use demo::{DemoWindows, WidgetGallery};
pub use rendering_test::ColorTest;
/// View some Rust code with syntax highlighting and selection.
pub(crate) fn rust_view_ui(ui: &mut egui::Ui, code: &str) {