aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-07 12:19:09 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-07 12:19:09 +0200
commitac08ff01dbc59628a94a6e09cd0aff07f588f05f (patch)
treeb65ff6c0306e31cc8a10a6ccd822ec432e6a2f12 /Tests/Interfaces
parent167e50bf7c4af84a6793326e39b0d3e41d4eb8bf (diff)
* Tests.csproj:
* Window.goml: * GOLIBTest_HStack.cs: * GOLIBTest_Window.cs: * testHStack.goml: * testWindow.goml: debug and tests * Window.cs: Resizing window with corsors * OpenTKGameWindow.cs: OnRender function, hidding clear and swap overridable with OnRenderFrame
Diffstat (limited to 'Tests/Interfaces')
-rwxr-xr-xTests/Interfaces/testHStack.goml11
-rwxr-xr-xTests/Interfaces/testWindow.goml14
2 files changed, 20 insertions, 5 deletions
diff --git a/Tests/Interfaces/testHStack.goml b/Tests/Interfaces/testHStack.goml
new file mode 100755
index 00000000..8e4083a0
--- /dev/null
+++ b/Tests/Interfaces/testHStack.goml
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!--<HorizontalStack Background="Gray" Margin="1">-->
+<Group Background="Gray" Margin="5" Height="-1" Width="-1">
+ <VerticalStack Background="Green" Margin="1">
+ <HorizontalStack Width="-1" Height="-1" Margin="5" Background="Red">
+ <Checkbox Height="100" Width="200" Background="Blue"/>
+ <!-- <Checkbox Height="-1" Width="-1"/>-->
+ </HorizontalStack>
+ </VerticalStack>
+</Group>
+<!--</HorizontalStack>--> \ No newline at end of file
diff --git a/Tests/Interfaces/testWindow.goml b/Tests/Interfaces/testWindow.goml
index 32c64401..d4246ac2 100755
--- a/Tests/Interfaces/testWindow.goml
+++ b/Tests/Interfaces/testWindow.goml
@@ -3,18 +3,22 @@
<Window Name="window1" Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0,5;0,5;0,5;0,5"
Focusable="True">
<VerticalStack Height="0" Width="0">
+ <Slider Name="slider" Height="10" Width="150"/>
<Label Text="{fps}" Background="DarkRed"/>
<Label Text="{fpsMin}" />
<Label Text="{fpsMax}" />
- <Checkbox Height="-1" Width="-1"/>
+ <HorizontalStack Width="150" Height="-1" Margin="5" Background="Red">
+ <Checkbox Height="-1" Width="-1"/>
+ <Checkbox Height="-1" Width="-1"/>
+ </HorizontalStack>
<GroupBox Title="test" Height="-1" Width="-1" Margin="5">
<VerticalStack Width="100">
- <RadioButton Height="-1" Width="-1"/>
- <RadioButton Height="-1" Width="-1"/>
- <RadioButton Height="-1" Width="-1"/>
+ <RadioButton Caption="Radio 1"/>
+ <RadioButton Caption="Radio 2" IsChecked="true"/>
+ <RadioButton Caption="Radio 3"/>
+
</VerticalStack>
</GroupBox>
-
</VerticalStack>
</Window>
<!--</Group>-->