VRCMelonAssistant/ModAssistant/Pages/Options.xaml

373 lines
13 KiB
Plaintext
Raw Normal View History

2020-02-26 22:48:54 +13: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:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:ModAssistant.Pages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="{DynamicResource Options:Title}"
d:DesignHeight="629"
d:DesignWidth="1182"
mc:Ignorable="d">
<Page.Resources />
2020-02-17 14:57:58 +13:00
<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid.RowDefinitions>
2020-02-26 22:48:54 +13:00
<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" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
2020-05-10 09:40:45 +12:00
<RowDefinition Height="auto" />
2020-05-18 22:56:16 +12:00
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
2020-05-19 23:44:09 +12:00
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
2020-02-17 14:57:58 +13:00
<Grid.ColumnDefinitions>
2020-02-26 22:48:54 +13:00
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
2019-12-19 17:13:44 +13:00
</Grid.ColumnDefinitions>
2019-04-22 18:41:43 +12:00
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="0"
Margin="15,5,5,5"
HorizontalAlignment="Left"
FontSize="24"
FontWeight="Bold"
Text="{DynamicResource Options:PageTitle}" />
2020-05-31 10:39:25 +12:00
<ComboBox
Name="LanguageSelectComboBox"
Grid.Row="0"
Grid.Column="3"
Height="30"
HorizontalAlignment="Stretch"
VerticalContentAlignment="Center"
SelectionChanged="LanguageSelectComboBox_SelectionChanged" />
2019-04-22 18:41:43 +12:00
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="1"
Margin="5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:InstallFolder}" />
<Border
Grid.Row="2"
Grid.ColumnSpan="2"
Height="30"
MinWidth="450"
Margin="5"
Background="{DynamicResource DirectoryBackground}"
BorderBrush="{DynamicResource DirectoryOutline}"
BorderThickness="1">
<TextBlock
Name="DirectoryTextBlock"
Margin="5"
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="16"
Text="{Binding InstallDirectory}" />
2020-02-17 14:57:58 +13:00
</Border>
2020-02-26 22:48:54 +13:00
<Button
Grid.Row="2"
Grid.Column="2"
Height="30"
2020-05-18 13:07:32 +12:00
Margin="5"
Padding="5"
2020-02-26 22:48:54 +13:00
Click="SelectDirButton_Click"
Content="{DynamicResource Options:SelectFolderButton}" />
<Button
Grid.Row="2"
Grid.Column="3"
Height="30"
2020-05-18 13:07:32 +12:00
Margin="5"
Padding="5"
2020-02-26 22:48:54 +13:00
Click="OpenDirButton_Click"
Content="{DynamicResource Options:OpenFolderButton}" />
2019-04-22 18:41:43 +12:00
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="3"
Margin="5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:SaveSelectedMods}" />
<CheckBox
Name="SaveSelected"
Grid.Row="3"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="SaveSelected_Checked"
IsChecked="{Binding SaveSelection, Mode=TwoWay}"
Unchecked="SaveSelected_Unchecked" />
2019-04-22 18:41:43 +12:00
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="4"
Margin="5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:CheckInstalledMods}" />
<CheckBox
Name="CheckInstalled"
Grid.Row="4"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="CheckInstalled_Checked"
IsChecked="{Binding CheckInstalledMods, Mode=TwoWay}"
Unchecked="CheckInstalled_Unchecked" />
2019-05-19 03:32:14 +12:00
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="5"
Margin="50,5,5,5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:SelectInstalledMods}" />
<CheckBox
Name="SelectInstalled"
Grid.Row="5"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="SelectInstalled_Checked"
IsChecked="{Binding SelectInstalledMods, Mode=TwoWay}"
Unchecked="SelectInstalled_Unchecked" />
2020-05-10 09:40:45 +12:00
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="6"
2020-05-10 09:40:45 +12:00
Margin="50,5,5,5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:ReinstallInstalledMods}" />
<CheckBox
Name="ReinstallInstalled"
Grid.Row="6"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="ReinstallInstalled_Checked"
IsChecked="{Binding ReinstallInstalledMods, Mode=TwoWay}"
Unchecked="ReinstallInstalled_Unchecked" />
<TextBlock
Grid.Row="7"
2020-02-26 22:48:54 +13:00
Margin="5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold">
<TextBlock Text="{DynamicResource Options:EnableOneClickInstalls}" />
: ↳
2020-02-02 17:00:52 +13:00
</TextBlock>
2020-02-26 22:48:54 +13:00
<TextBlock
2020-05-10 09:40:45 +12:00
Grid.Row="8"
2020-02-26 22:48:54 +13:00
Margin="50,5,5,5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:BeatSaver}" />
<CheckBox
Name="BeatSaverProtocolHandler"
2020-05-10 09:40:45 +12:00
Grid.Row="8"
2020-02-26 22:48:54 +13:00
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="BeatSaverProtocolHandler_Checked"
IsChecked="{Binding BeatSaverProtocolHandlerEnabled}"
Unchecked="BeatSaverProtocolHandler_Unchecked" />
2020-02-26 22:48:54 +13:00
<TextBlock
2020-05-10 09:40:45 +12:00
Grid.Row="9"
2020-02-26 22:48:54 +13:00
Margin="50,5,5,5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:ModelSaber}" />
<CheckBox
Name="ModelSaberProtocolHandler"
2020-05-10 09:40:45 +12:00
Grid.Row="9"
2020-02-26 22:48:54 +13:00
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="ModelSaberProtocolHandler_Checked"
IsChecked="{Binding ModelSaberProtocolHandlerEnabled}"
Unchecked="ModelSaberProtocolHandler_Unchecked" />
2020-05-19 23:44:09 +12:00
<TextBlock
Grid.Row="10"
Margin="50,5,5,5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:Playlists}" />
<CheckBox
Name="PlaylistProtocolHandler"
Grid.Row="10"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="PlaylistsProtocolHandler_Checked"
IsChecked="{Binding PlaylistsProtocolHandlerEnabled}"
Unchecked="PlaylistsProtocolHandler_Unchecked" />
<TextBlock
Grid.Row="11"
Margin="50,5,5,5"
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold"
Text="{DynamicResource Options:CloseWindow}" />
<CheckBox
Name="CloseWindowToggle"
Grid.Row="11"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="CloseWindowOnFinish_Checked"
IsChecked="{Binding CloseWindowOnFinish}"
Unchecked="CloseWindowOnFinish_Unchecked" />
2020-02-26 22:48:54 +13:00
<StackPanel
Grid.Row="12"
Margin="5"
HorizontalAlignment="Left"
Orientation="Horizontal">
<TextBlock FontSize="16" FontWeight="Bold">
<TextBlock Text="{DynamicResource Options:GameType}" />
:&#160;
2020-02-02 17:00:52 +13:00
</TextBlock>
2020-02-26 22:48:54 +13:00
<TextBlock
Name="GameTypeTextBlock"
FontSize="16"
Text="{Binding InstallType}" />
2020-02-03 19:03:41 +13:00
</StackPanel>
2020-02-08 12:49:03 +13:00
2020-02-26 22:48:54 +13:00
<StackPanel
Grid.Row="13"
Grid.ColumnSpan="2"
Margin="5"
HorizontalAlignment="Stretch">
2020-02-08 12:49:03 +13:00
<Grid>
<Grid.ColumnDefinitions>
2020-02-26 22:48:54 +13:00
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
2020-02-08 12:49:03 +13:00
</Grid.ColumnDefinitions>
2020-02-26 22:48:54 +13:00
<TextBlock
HorizontalAlignment="Left"
FontSize="16"
FontWeight="Bold">
<TextBlock Text="{DynamicResource Options:ApplicationTheme}" />
:&#160;
2020-02-17 15:16:22 +13:00
</TextBlock>
2020-02-26 22:48:54 +13:00
<ComboBox
Name="ApplicationThemeComboBox"
Grid.Column="2"
Height="30"
HorizontalAlignment="Stretch"
VerticalContentAlignment="Center"
SelectionChanged="ApplicationThemeComboBox_SelectionChanged" />
2020-02-08 12:49:03 +13:00
</Grid>
</StackPanel>
2020-02-26 22:48:54 +13:00
<Button
Name="ApplicationThemeExportTemplate"
Grid.Row="13"
Grid.Column="2"
Height="30"
2020-05-18 13:07:32 +12:00
Margin="5"
Padding="5"
2020-02-26 22:48:54 +13:00
Click="ApplicationThemeExportTemplate_Click"
Content="{DynamicResource Options:ExportTemplateButton}" />
<Button
Name="ApplicationThemeOpenThemesFolder"
Grid.Row="13"
Grid.Column="3"
Height="30"
2020-05-18 13:07:32 +12:00
Margin="5"
Padding="5"
2020-02-26 22:48:54 +13:00
Click="ApplicationThemeOpenThemesFolder_Click"
Content="{DynamicResource Options:OpenFolderButton}" />
2020-02-26 22:48:54 +13:00
<TextBlock
Grid.Row="14"
Margin="15,5,5,5"
HorizontalAlignment="Left"
FontSize="24"
FontWeight="Bold"
2020-05-18 22:56:16 +12:00
Text="{DynamicResource Options:Tools}" />
2020-02-26 22:48:54 +13:00
<StackPanel
Grid.Row="15"
2020-05-18 13:07:32 +12:00
Grid.ColumnSpan="4"
2020-02-26 22:48:54 +13:00
Margin="0"
HorizontalAlignment="Left"
Orientation="Horizontal">
2020-05-18 22:56:16 +12:00
<Button
Height="30"
Margin="5"
Padding="5"
Click="InstallPlaylistButton_Click"
Content="{DynamicResource Options:InstallPlaylist}" />
</StackPanel>
<TextBlock
Grid.Row="16"
Margin="15,5,5,5"
HorizontalAlignment="Left"
FontSize="24"
FontWeight="Bold"
Text="{DynamicResource Options:Diagnostics}" />
<StackPanel
Grid.Row="17"
Grid.ColumnSpan="4"
Margin="0"
HorizontalAlignment="Left"
Orientation="Horizontal">
2020-02-26 22:48:54 +13:00
<Button
Height="30"
Margin="5"
2020-05-18 13:07:32 +12:00
Padding="5"
2020-02-26 22:48:54 +13:00
Click="OpenLogsDirButton_Click"
Content="{DynamicResource Options:OpenLogsButton}" />
<Button
x:Name="OpenAppData"
Height="30"
Margin="5"
2020-05-18 13:07:32 +12:00
Padding="5"
2020-02-26 22:48:54 +13:00
Click="OpenAppDataButton_Click"
Content="{DynamicResource Options:OpenAppDataButton}" />
<Button
x:Name="YeetBSIPA"
Height="30"
Margin="5"
2020-05-18 13:07:32 +12:00
Padding="5"
2020-02-26 22:48:54 +13:00
Click="YeetBSIPAButton_Click"
Content="{DynamicResource Options:UninstallBSIPAButton}" />
<Button
Height="30"
Margin="5"
2020-05-18 13:07:32 +12:00
Padding="5"
2020-02-26 22:48:54 +13:00
Background="{DynamicResource ButtonDangerBackground}"
Click="YeetModsButton_Click">
<TextBlock Foreground="White" Text="{DynamicResource Options:RemoveAllModsButton}" />
2020-02-14 17:44:51 +13:00
</Button>
</StackPanel>
</Grid>
2019-04-22 18:41:43 +12:00
</Page>