aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/ui/test.crow
blob: 9a0e22c085f82c0a88b88d46d1bc1b718193473d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>
<Window Font="droid bold, 10" Caption="Open GL" HorizontalAlignment="Left" Width="30%" Height="90%">
	<VerticalStack>
		<HorizontalStack Background="Jet" Height="Fit" Width="Stretched"  Margin="2">
			<Popper Caption="File" Template="#Tests.ui.Popper.template" Width="Fit">
				<Border Fit="True" Foreground="Gray" Background="Jet">
					<VerticalStack Height="Fit" Width="Fit" Margin="2">
						<Label Text="New File" Style="#Tests.ui.MenuItem.style" />
						<Label Text="Open..." Style="#Tests.ui.MenuItem.style"/>
						<Label Text="Save..." Style="#Tests.ui.MenuItem.style"/>
						<Label Text="Exit" Style="#Tests.ui.MenuItem.style"/>
					</VerticalStack>
				</Border>
			</Popper>
			<Label Text="Edit" Style="#Tests.ui.LabelButton.style"/>
			<Label Text="Project" Style="#Tests.ui.LabelButton.style"/>
			<Label Text="Help" Style="#Tests.ui.LabelButton.style"/>
		</HorizontalStack>
		<GroupBox Caption="Object Rotation" Margin="10" Width="70%" Height="Fit" >
			<VerticalStack Spacing="10">
				<Spinner Width="50%" Maximum="1,0" SmallIncrement="0.01" Value="{²RotationSpeed}"/>
				<Slider Height="10" Width="50%" Maximum="1,0" SmallIncrement="0.01" Value="{²RotationSpeed}"/>
				<CheckBox IsChecked="{²ClockWiseRotation}" Caption="Clockwise Rotation"/>
				<GroupBox Caption="Rotation Axis" Height="Fit" >
					<VerticalStack>
						<RadioButton Caption="x"/>
						<RadioButton Caption="y"/>
						<RadioButton Caption="z"/>
					</VerticalStack>
				</GroupBox>
			</VerticalStack>
		</GroupBox>

		<Image Width="100" Height="100"
		Path="#Crow.Images.Icons.exit2.svg"	/>
	</VerticalStack>
</Window>