[demo] Remove dead code
This commit is contained in:
parent
8fb1472560
commit
f793ac7f3e
2 changed files with 0 additions and 4 deletions
|
@ -83,8 +83,6 @@ fn set_open(open: &mut BTreeSet<String>, key: &'static str, is_open: bool) {
|
||||||
pub struct DemoWindows {
|
pub struct DemoWindows {
|
||||||
open_windows: OpenWindows,
|
open_windows: OpenWindows,
|
||||||
|
|
||||||
demo_window: super::DemoWindow,
|
|
||||||
|
|
||||||
/// open, title, view
|
/// open, title, view
|
||||||
demos: Demos,
|
demos: Demos,
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,6 @@ pub struct Widgets {
|
||||||
color: Color32,
|
color: Color32,
|
||||||
single_line_text_input: String,
|
single_line_text_input: String,
|
||||||
multiline_text_input: String,
|
multiline_text_input: String,
|
||||||
toggle_switch: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for Widgets {
|
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(),
|
color: (Rgba::from_rgb(0.0, 1.0, 0.5) * 0.75).into(),
|
||||||
single_line_text_input: "Hello World!".to_owned(),
|
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(),
|
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,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue