aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-03-02 11:57:39 +0100
committerj-p <jp_bruyere@hotmail.com>2021-03-02 12:01:06 +0100
commit25a2b0d668dfea62e53a1fcf50ed32b43cfc2c68 (patch)
treebc77c325f93fb136b7a0ba977982d1262338ecf7 /Samples/common/ui
parent5b5150e5e7e1eca0aa99de8b8a7aa6f38b7310d8 (diff)
implement theme from directory
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>