aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/common/ui')
-rw-r--r--Samples/common/ui/Interfaces/Divers/chess.crow19
1 files changed, 19 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/Divers/chess.crow b/Samples/common/ui/Interfaces/Divers/chess.crow
new file mode 100644
index 00000000..30b86d46
--- /dev/null
+++ b/Samples/common/ui/Interfaces/Divers/chess.crow
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<HorizontalStack Height="Fit" Background="vgradient|0:Grey|0.3:Jet|0.7:Jet|1:Black" VerticalAlignment="Bottom" Margin="10">
+ <CheckBox Caption="Hint" IsChecked="{²EnableHint}"/>
+ <Button Caption="Undo" MouseClick="onUndoClick"/>
+ <Button Caption="N" MouseClick="onNewGameClick"/>
+ <Button Caption="Options" MouseClick="onOptionsClick"/>
+ <Widget Width="Stretched" Height="1"/>
+ <Button Caption="Quit" MouseClick="onQuitClick"/>
+ <VerticalStack Style="hsStatus" >
+ <Label Style="labStatus" Text="State:"/>
+ <Label Style="labStatus2" Text="{CurrentState}" />
+ </VerticalStack >
+ <VerticalStack Style="hsStatus" >
+ <Label Style="labStatus" Text="Hover:"/>
+ <Label Style="labStatus2" Text="{SelCell}"/>
+ </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>