VRCMelonAssistant/ModAssistant/Pages/Options.xaml

83 lines
5.7 KiB
Plaintext
Raw Normal View History

2019-04-22 18:41:43 +12:00
<Page x:Class="ModAssistant.Pages.Options"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:ModAssistant.Pages"
mc:Ignorable="d"
d:DesignHeight="629" d:DesignWidth="1182"
Title="Options">
<Page.Resources>
</Page.Resources>
<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
2019-07-11 09:56:12 +12:00
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
2019-04-22 18:41:43 +12:00
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
2020-02-03 19:03:41 +13:00
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
2019-04-22 18:41:43 +12:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
2019-12-19 17:13:44 +13:00
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
2019-04-22 18:41:43 +12:00
<TextBlock Grid.Row="0" Margin="15,5,5,5" Text="Settings" FontSize="24" FontWeight="Bold" HorizontalAlignment="Left"/>
<TextBlock Grid.Row="1" Margin="5" Text="Install Folder" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16"/>
<Border Grid.ColumnSpan="2" Grid.Row="2" Margin="5" Background="{DynamicResource DirectoryBackground}" Height="30" MinWidth="450" >
2019-05-25 08:32:34 +12:00
<TextBlock Name="DirectoryTextBlock" Margin="5" Text="{Binding InstallDirectory}" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="16"/>
2019-04-22 18:41:43 +12:00
</Border>
<Button Grid.Row="2" Grid.Column="2" Margin="3" Height="30" Width="80" Content="Select Folder" Click="SelectDirButton_Click"/>
2019-12-19 17:13:44 +13:00
<Button Grid.Row="2" Grid.Column="3" Margin="3" Height="30" Width="80" Content="Open Folder" Click="OpenDirButton_Click"/>
2019-04-22 18:41:43 +12:00
2019-12-19 17:13:44 +13:00
<TextBlock Grid.Row="3" Margin="5" Text="Save Selected Mods" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16" />
2019-04-22 18:41:43 +12:00
<CheckBox Grid.Row="3" Grid.Column="1" Name="SaveSelected" VerticalAlignment="Center" HorizontalAlignment="Left" IsChecked="{Binding SaveSelection, Mode=TwoWay}" Checked="SaveSelected_Checked" Unchecked="SaveSelected_Unchecked"/>
<TextBlock Grid.Row="4" Margin="5" Text="Check Installed Mods" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16" />
<CheckBox Grid.Row="4" Grid.Column="1" Name="CheckInstalled" VerticalAlignment="Center" HorizontalAlignment="Left" IsChecked="{Binding CheckInstalledMods, Mode=TwoWay}" Checked="CheckInstalled_Checked" Unchecked="CheckInstalled_Unchecked"/>
2019-05-19 03:32:14 +12:00
2019-07-11 09:56:12 +12:00
<TextBlock Grid.Row="5" Margin="50,5,5,5" Text="Select Installed Mods" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16" />
<CheckBox Grid.Row="5" Grid.Column="1" Name="SelectInstalled" VerticalAlignment="Center" HorizontalAlignment="Left" IsChecked="{Binding SelectInstalledMods, Mode=TwoWay}" Checked="SelectInstalled_Checked" Unchecked="SelectInstalled_Unchecked"/>
<TextBlock Grid.Row="6" Margin="5" Text="Enable OneClick Installs: ↳" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16" />
2019-07-11 09:56:12 +12:00
<TextBlock Grid.Row="7" Margin="50,5,5,5" Text="BeatSaver" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16" />
<CheckBox Grid.Row="7" Grid.Column="1" Name="BeatSaverProtocolHandler" VerticalAlignment="Center" HorizontalAlignment="Left" IsChecked="{Binding BeatSaverProtocolHandlerEnabled}" Checked="BeatSaverProtocolHandler_Checked" Unchecked="BeatSaverProtocolHandler_Unchecked"/>
2019-07-11 09:56:12 +12:00
<TextBlock Grid.Row="8" Margin="50,5,5,5" Text="ModelSaber" FontWeight="Bold" HorizontalAlignment="Left" FontSize="16" />
<CheckBox Grid.Row="8" Grid.Column="1" Name="ModelSaberProtocolHandler" VerticalAlignment="Center" HorizontalAlignment="Left" IsChecked="{Binding ModelSaberProtocolHandlerEnabled}" Checked="ModelSaberProtocolHandler_Checked" Unchecked="ModelSaberProtocolHandler_Unchecked"/>
<StackPanel Grid.Row="12" Margin="5" Orientation="Horizontal" HorizontalAlignment="Left">
2019-04-22 18:41:43 +12:00
<TextBlock Text="Game Type: " FontWeight="Bold" FontSize="16" />
2019-05-25 08:32:34 +12:00
<TextBlock Name="GameTypeTextBlock" Text="{Binding InstallType}" FontSize="16"/>
2020-02-03 19:03:41 +13:00
</StackPanel>
2020-02-03 19:41:38 +13:00
<TextBlock Grid.Row="13" Margin="5" HorizontalAlignment="Left" Text="Application Theme: " FontWeight="Bold" FontSize="16" />
2020-02-03 20:10:55 +13:00
<ComboBox Name="ApplicationThemeComboBox" Grid.Row="13" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" SelectionChanged="ApplicationThemeComboBox_SelectionChanged" VerticalContentAlignment="Center"></ComboBox>
<Button Name="ApplicationThemeExportTemplate" Grid.Row="13" Grid.Column="3" Margin="3" Height="30" Width="90" Content="Export Template" Click="ApplicationThemeExportTemplate_Click"></Button>
2020-02-03 19:03:41 +13:00
<TextBlock Grid.Row="14" Margin="15,5,5,5" Text="Diagnostics" FontSize="24" FontWeight="Bold" HorizontalAlignment="Left"/>
<StackPanel Grid.Row="15" Margin="0" Orientation="Horizontal" HorizontalAlignment="Left">
<Button Margin="5" Height="30" Width="80" Content="Open Logs" Click="OpenLogsDirButton_Click"/>
<Button Margin="5" Height="30" x:Name="YeetBSIPA" Width="100" Content="Uninstall BSIPA" Click="YeetBSIPAButton_Click"/>
<Button Margin="5" Height="30" Width="110" Background="Red" Content="Remove All Mods" Click="YeetModsButton_Click"/>
</StackPanel>
</Grid>
2019-04-22 18:41:43 +12:00
</Page>