Skip to content

Commit faa04ca

Browse files
author
John Ludlow
committed
Add basic ECS classes - resolve conflicts - add child controls back in
1 parent 5400eaa commit faa04ca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • Local/UserInterface/ImGuiSample/UserInterface/Controls

Local/UserInterface/ImGuiSample/UserInterface/Controls/TestWindow.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ public class TestWindow : BaseWindow
44
{
55
public TestWindow() : base("Test Window")
66
{
7-
Controls.Add(new ImGuiPanel("Panel 1"));
8-
Controls.Add(new ImGuiPanel("Panel 2"));
9-
Controls.Add(new ImGuiPanel("Panel 3"));
7+
Controls.Add(new ImGuiPanel("Panel 1") { Controls = { new TextControl { Text = "This is some text inside Panel 1." } } });
8+
Controls.Add(new ImGuiPanel("Panel 2") { Controls = { new TextControl { Text = "This is some text inside Panel 2." } } });
9+
Controls.Add(new ImGuiPanel("Panel 3") { Controls = { new TextControl { Text = "This is some text inside Panel 3." } } });
1010
}
1111
}

0 commit comments

Comments
 (0)