diff options
Diffstat (limited to 'ui/winLoad.crow')
| -rw-r--r-- | ui/winLoad.crow | 19 |
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> + |