aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/dockableWindows/ui/test.crow
blob: 1e4e81e4f7eaf4c3cd333f590f1ae39865fb4e9c (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
38
39
40
41
42
43
44
45
46
<?xml version="1.0"?>
<VerticalStack Background="DimGrey">
	<VerticalStack Name="Watches" Background="Black" Height="Fit" Width="Stretched">
		<HorizontalStack Height="Fit">
			<Label Style="smallLabel" Text="hover:" Width="50"/>
			<Label Style="smallLabel" Text="{HoverWidget}"/>
		</HorizontalStack>
		<HorizontalStack Height="Fit">
			<Label Style="smallLabel" Text="focus:" Width="50"/>
			<Label Style="smallLabel" Text="{FocusedWidget}"/>
		</HorizontalStack>
		<HorizontalStack Height="Fit">
			<Label Style="smallLabel" Text="active:" Width="50"/>
			<Label Style="smallLabel" Text="{ActiveWidget}"/>
		</HorizontalStack>
	</VerticalStack>
	<Label Text="Press 'F6' to add new windows, 'F2'/'F3' for save/restore"/>
	<DockStack Name="mainDock" Height="Stretched" />
	<!--<Splitter/>
	<Button Caption="Refresh tree" MouseClick="refreshGraphicTree"/>
	<TreeView IsRoot="true" Name="treeView" Data="{GraphicTree}" Height="200">
		<ItemTemplate>
			<Border Width="Stretched" Focusable="true" Foreground="Transparent">
				<HorizontalStack Spacing="5">
					<Widget Width="5" Height="5"/>
					<Border Width="16" Height="16" Foreground="Black" Background="DimGrey">
						<Image Margin="2" Path="{GetIcon}" />
					</Border>
					<Widget Width="2" Height="5" Background="Blue" Visible="{IsHover}"/>
					<Widget Width="5" Height="5" Background="Green" Visible="{Visible}"/>
					<Label Text="{Caption}" Width="Fit"/>
					<Label Text="{Name}" Width="Fit"/>
					<Label Text="{LogicalParent}" Width="Stretched" Foreground="Yellow"/>
				</HorizontalStack>
			</Border>
		</ItemTemplate>
		<ItemTemplate DataType="Crow.Group" Data="GetChildren"
			Path="#ui.GTreeExp.itemp"/>
		<ItemTemplate DataType="Crow.Container" Data="GetChildren"
			Path="#ui.GTreeExp.itemp"/>
		<ItemTemplate DataType="Crow.TemplatedContainer" Data="GetChildren"
			Path="#ui.GTreeExp.itemp"/>
		<ItemTemplate DataType="Crow.TemplatedGroup" Data="GetChildren"
			Path="#ui.GTreeExp.itemp"/>
	</TreeView>-->
</VerticalStack>