aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/winLoad.crow
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-09-20 12:00:59 +0000
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-09-20 12:00:59 +0000
commit9aec3f89e7239eded3fd18b5428947143463b213 (patch)
treec5495b6212ef33c6470cd5560ab066d0a67309fd /ui/winLoad.crow
parent4b007c2b1f6791ca52e840a15c2edc9c754acf41 (diff)
tesselation, should be optionalwinBinary
Diffstat (limited to 'ui/winLoad.crow')
-rw-r--r--ui/winLoad.crow19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/winLoad.crow b/ui/winLoad.crow
new file mode 100644
index 0000000..b3e4ebf
--- /dev/null
+++ b/ui/winLoad.crow
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<Window Caption="Saved Games" Width="80%" Height="80%" Icon="#icons.load.svg" >
+ <VerticalStack>
+ <ListBox Data="{SavedGames}" SelectedItem="{²SelectedSavedGame}">
+ <Template>
+ <Wrapper Name="ItemsContainer"/>
+ </Template>
+ <ItemTemplate>
+ <ListItem Fit="True" Margin="0" Focusable="true"
+ Selected = "{Background=${ControlHighlight}}"
+ Unselected = "{Background=Transparent}">
+ <BoardWidget Margin="0" FilePath="{}" Font="droid, 10" Width="200" Height="200" />
+ </ListItem>
+ </ItemTemplate>
+ </ListBox>
+ <Button Command="{CMDLoadSelectedFile}"/>
+ </VerticalStack>
+</Window>
+