mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
[demo] Remove dead code
This commit is contained in:
@@ -83,8 +83,6 @@ fn set_open(open: &mut BTreeSet<String>, key: &'static str, is_open: bool) {
|
||||
pub struct DemoWindows {
|
||||
open_windows: OpenWindows,
|
||||
|
||||
demo_window: super::DemoWindow,
|
||||
|
||||
/// open, title, view
|
||||
demos: Demos,
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ pub struct Widgets {
|
||||
color: Color32,
|
||||
single_line_text_input: String,
|
||||
multiline_text_input: String,
|
||||
toggle_switch: bool,
|
||||
}
|
||||
|
||||
impl Default for Widgets {
|
||||
@@ -37,7 +36,6 @@ impl Default for Widgets {
|
||||
color: (Rgba::from_rgb(0.0, 1.0, 0.5) * 0.75).into(),
|
||||
single_line_text_input: "Hello World!".to_owned(),
|
||||
multiline_text_input: "Text can both be so wide that it needs a line break, but you can also add manual line break by pressing enter, creating new paragraphs.\nThis is the start of the next paragraph.\n\nClick me to edit me!".to_owned(),
|
||||
toggle_switch: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user