aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-12-25 07:36:47 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-12-25 07:36:47 +0100
commit887a4dc38da11fbe3f90666084ad59a2321e3202 (patch)
tree60a7884231eb21d886c52225e83f30ab0a03f485 /ui
parentb31d80d50c53a1c612dcc6405509b1c999b5f592 (diff)
Diffstat (limited to 'ui')
-rw-r--r--ui/winLoad.crow7
-rw-r--r--ui/winMessage.crow11
2 files changed, 16 insertions, 2 deletions
diff --git a/ui/winLoad.crow b/ui/winLoad.crow
index b3e4ebf..e4512c7 100644
--- a/ui/winLoad.crow
+++ b/ui/winLoad.crow
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<Window Caption="Saved Games" Width="80%" Height="80%" Icon="#icons.load.svg" >
- <VerticalStack>
+ <VerticalStack Margin="5">
<ListBox Data="{SavedGames}" SelectedItem="{²SelectedSavedGame}">
<Template>
<Wrapper Name="ItemsContainer"/>
@@ -13,7 +13,10 @@
</ListItem>
</ItemTemplate>
</ListBox>
- <Button Command="{CMDLoadSelectedFile}"/>
+ <HorizontalStack Spacing="0" Width="50%" HorizontalAlignment="Right" Background="Jet">
+ <Button Command="{CMDLoadSelectedFile}" Width="50%"/>
+ <Button Command="{CMDDeleteSelectedFile}" Width="50%"/>
+ </HorizontalStack>
</VerticalStack>
</Window>
diff --git a/ui/winMessage.crow b/ui/winMessage.crow
new file mode 100644
index 0000000..a72a007
--- /dev/null
+++ b/ui/winMessage.crow
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Container Fit="true">
+ <Border CornerRadius="15" Background="${WindowBackground}">
+ <Label Text="{}" Margin="40"
+ Foreground="White"
+ Font="serif bold, 28"
+ Width="Stretched"
+ TextAlignment="Center"/>
+ </Border>
+</Container>
+