aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/chess.crow
blob: 5616f45d6927336ead45ec2d6c88bdd1ac29c087 (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
<?xml version="1.0" encoding="UTF-8"?>
<HorizontalStack Height="Fit" Background="${MenusBackground}" VerticalAlignment="Bottom" Margin="4">
	<Menu Data="{Commands}" Height="Stretched" Width="Fit">
		<Template>
			<HorizontalStack Name="ItemsContainer" />
		</Template>
		<ItemTemplate DataType="Crow.Command" Path="ui/menuCommand.itmp"/>
		<ItemTemplate DataType="Crow.CommandGroup" >
			<MenuItem Data="{Commands}" Width="Fit" Height="Stretched" IsEnabled="{CanExecute}"
					Template="ui/menuItem.template"
					ItemTemplate="ui/menuItem.itmp">
			</MenuItem>
		</ItemTemplate>
	</Menu>
	<Label Text="Restart required..." Font="droid bold, 14" Visible="{RestartRequired}" Margin="3"
		Background="#100101" Foreground="White" />

	<Widget Width="Stretched"/>
	<VerticalStack Style="hsStatus" Width="160">
		<Label Style="labStatus" Text="State:" />
		<Label Style="labStatus2" Text="{CurrentState}" Background="{CurrentStateColor}"/>
	</VerticalStack>
	<VerticalStack Style="hsStatus">
		<Label Style="labStatus" Text="Hover:" />
		<Label Style="labStatus2" Text="{SelCell}" />
	</VerticalStack>
	<VerticalStack Style="hsStatus">
		<Label Style="labStatus" Text="Current Player:" />
		<Label Style="labStatus2" Text="{CurrentPlayer}" />
	</VerticalStack>
	<Image Width="30" Height="20" Path="#Crow.Icons.IconAlerte.svg" Visible="{StockfishNotFound}" />
	<Label Text="Stockfish not found" Font="droid bold, 10" Visible="{StockfishNotFound}" />
</HorizontalStack>