aboutsummaryrefslogtreecommitdiff
path: root/Erable/Views/MainWindow.axaml
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-08 21:27:18 -0500
committerAndrew Lee <alee14498@protonmail.com>2021-02-08 21:27:18 -0500
commite81e3817c0a4b735da47e6c45529c6f88ed4d52f (patch)
treed787a2503a6d4d3c19f9a3c6bced71c61035842a /Erable/Views/MainWindow.axaml
parentf5a7e3ef7e25aa2545f541e171f2d5f6fe43ecc7 (diff)
downloaderable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.tar.gz
erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.tar.bz2
erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.zip
Moved playback to backend; Menu; Size now matches
Diffstat (limited to 'Erable/Views/MainWindow.axaml')
-rw-r--r--Erable/Views/MainWindow.axaml23
1 files changed, 18 insertions, 5 deletions
diff --git a/Erable/Views/MainWindow.axaml b/Erable/Views/MainWindow.axaml
index 02d362a..de6c5b7 100644
--- a/Erable/Views/MainWindow.axaml
+++ b/Erable/Views/MainWindow.axaml
@@ -5,18 +5,31 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Erable.Views.MainWindow"
- Icon="/Assets/avalonia-logo.ico"
+ Width="800"
+ Height="450"
+ Icon="/Assets/erable.png"
Title="Erable">
<Design.DataContext>
<vm:MainWindowViewModel/>
</Design.DataContext>
<StackPanel>
- <TextBlock Text="{Binding Greeting}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+ <DockPanel>
+ <Menu DockPanel.Dock="Top">
+ <MenuItem Header="_File">
+ <MenuItem Header="_Open..."/>
+ <Separator/>
+ <MenuItem Header="_Exit" PointerPressed="InputElement_OnPointerPressed"/>
+ </MenuItem>
+ <MenuItem Header="_Help">
+ <MenuItem Header="_About"/>
+ </MenuItem>
+ </Menu>
+ </DockPanel>
<Button Name="PlayButton" Width="80" Command="{Binding PlayFunction}" >Play</Button>
- <Button Name="StopButton" Width="80" >Stop</Button>
+ <Button Name="StopButton" Width="80" Command="{Binding StopFunction}">Stop</Button>
<Button Name="BrowseButton" Width="80" Command="{Binding BrowseFunction }" >Browse</Button>
- <Button Name="MessageBoxTest" Width="80" Command="{Binding MsgBoxTest }" >Message Box Test</Button>
-
+ <!--<Button Name="MessageBoxTest" Width="80" Command="{Binding MsgBoxTest }" >Message Box Test</Button>-->
+ <Slider Name="AudioSlider"/>
</StackPanel>
</Window>