diff --git a/RedBookPlayer/GUI/SettingsWindow.xaml b/RedBookPlayer/GUI/SettingsWindow.xaml index 7f5c54a..e846afe 100644 --- a/RedBookPlayer/GUI/SettingsWindow.xaml +++ b/RedBookPlayer/GUI/SettingsWindow.xaml @@ -1,40 +1,140 @@ - - Themes - - - - Auto-play CD on load - - - - Index navigation can change track - - - - Treat index 0 of track 1 as track 0 (hidden track) - - - - Play data tracks like old, non-compliant players - - - - Generate a TOC if the disc is missing one - - - Volume - - - - - - - - + d:DesignHeight="450" x:Class="RedBookPlayer.GUI.SettingsWindow" Title="Settings" SizeToContent="WidthAndHeight"> + + + + + Themes + + + + Auto-play CD on load + + + + Index navigation can change track + + + + Treat index 0 of track 1 as track 0 (hidden track) + + + + Play data tracks like old, non-compliant players + + + + Generate a TOC if the disc is missing one + + + Volume + + + + + + + + + + + + + + + + + Load Image + + + + + + + + + Toggle Play/Pause + + + + + + + + + Stop Playback + + + + + + + + + Next Track + + + + + + + + + Previous Track + + + + + + + + + Next Index + + + + + + + + + Previous Index + + + + + + + + + Fast-Forward + + + + + + + + + Rewind + + + + + + + + + Toggle De-Emphasis + + + + + + + \ No newline at end of file diff --git a/RedBookPlayer/GUI/SettingsWindow.xaml.cs b/RedBookPlayer/GUI/SettingsWindow.xaml.cs index cfe293e..a4424a0 100644 --- a/RedBookPlayer/GUI/SettingsWindow.xaml.cs +++ b/RedBookPlayer/GUI/SettingsWindow.xaml.cs @@ -1,6 +1,8 @@ +using System; using System.Collections.Generic; using System.IO; using Avalonia.Controls; +using Avalonia.Input; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; @@ -36,6 +38,7 @@ namespace RedBookPlayer.GUI MainWindow.ApplyTheme(_selectedTheme); } + SaveKeyboardList(); _settings.Save(); } @@ -46,6 +49,7 @@ namespace RedBookPlayer.GUI AvaloniaXamlLoader.Load(this); PopulateThemes(); + PopulateKeyboardList(); this.FindControl