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

[demo] Alwyas start with widget gallery

This commit is contained in:
Emil Ernerfeldt
2021-02-20 09:18:23 +01:00
parent 0f13fff24b
commit 9e38674d13
14 changed files with 50 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
pub struct IdTest {}
impl super::Demo for IdTest {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
"ID Test"
}
@@ -79,7 +79,7 @@ impl Default for ManualLayoutTest {
}
impl super::Demo for ManualLayoutTest {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
"Manual Layout Test"
}
@@ -156,7 +156,7 @@ impl Default for TableTest {
}
impl super::Demo for TableTest {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
"Table Test"
}
@@ -221,7 +221,7 @@ pub struct InputTest {
}
impl super::Demo for InputTest {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
"Input Test"
}
@@ -273,7 +273,7 @@ impl super::View for InputTest {
pub struct WindowResizeTest {}
impl super::Demo for WindowResizeTest {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
"↔ Window Resize"
}