2019-11-16 23:10:17 +00:00
|
|
|
<UserControl
|
|
|
|
x:Class="Wabbajack.VortexCompilerConfigView"
|
|
|
|
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:Wabbajack"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2019-11-17 00:41:59 +00:00
|
|
|
d:DataContext="{d:DesignInstance local:VortexCompilerVM}"
|
2019-11-16 23:10:17 +00:00
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="20" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="30" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="20" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="40" />
|
|
|
|
<RowDefinition Height="40" />
|
2019-12-14 03:44:27 +00:00
|
|
|
<RowDefinition Height="40" />
|
2019-11-16 23:10:17 +00:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="0"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="0"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Game"
|
|
|
|
TextAlignment="Center"
|
|
|
|
ToolTip="The game you wish to target" />
|
|
|
|
<ComboBox
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="0"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-11-17 00:41:59 +00:00
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
ItemsSource="{Binding GameOptions}"
|
|
|
|
SelectedValue="{Binding SelectedGame}"
|
|
|
|
ToolTip="The game you wish to target">
|
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
2019-11-17 07:28:33 +00:00
|
|
|
<TextBlock Margin="6,2" Text="{Binding DisplayName}" />
|
2019-11-17 00:41:59 +00:00
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
2019-11-16 23:10:17 +00:00
|
|
|
<TextBlock
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="1"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="0"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Game Folder"
|
|
|
|
TextAlignment="Center"
|
|
|
|
ToolTip="The install folder for the game" />
|
|
|
|
<local:FilePicker
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="1"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-12-15 06:20:28 +00:00
|
|
|
PickerVM="{Binding GameLocation}"
|
2019-11-16 23:10:17 +00:00
|
|
|
FontSize="14"
|
|
|
|
ToolTip="The install folder for the game" />
|
2019-11-17 00:41:59 +00:00
|
|
|
<Grid
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="2"
|
2019-11-17 00:41:59 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
Height="28"
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
VerticalAlignment="Top">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button
|
|
|
|
Grid.Column="0"
|
|
|
|
Margin="0,0,5,0"
|
|
|
|
Background="Transparent"
|
2019-11-17 01:42:42 +00:00
|
|
|
Command="{Binding FindGameInSteamCommand}"
|
2019-11-17 00:41:59 +00:00
|
|
|
Style="{StaticResource CircleButtonStyle}"
|
|
|
|
ToolTip="Attempt to locate the game in Steam">
|
|
|
|
<Image Margin="1" Source="../../Resources/Icons/steam.png" />
|
|
|
|
</Button>
|
|
|
|
<Button
|
|
|
|
Grid.Column="1"
|
|
|
|
Background="Transparent"
|
2019-11-17 01:42:42 +00:00
|
|
|
Command="{Binding FindGameInGogCommand}"
|
2019-11-17 00:41:59 +00:00
|
|
|
Style="{StaticResource CircleButtonStyle}"
|
|
|
|
ToolTip="Attempt to locate game in GoG">
|
|
|
|
<Image Margin="1" Source="../../Resources/Icons/gog.png" />
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
|
2019-11-16 23:10:17 +00:00
|
|
|
<TextBlock
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="0"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="4"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Download Location"
|
|
|
|
TextAlignment="Center"
|
2019-12-15 03:55:16 +00:00
|
|
|
ToolTip="The folder to download your mods" />
|
2019-11-16 23:10:17 +00:00
|
|
|
<local:FilePicker
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="0"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="6"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-12-15 06:20:28 +00:00
|
|
|
PickerVM="{Binding DownloadsLocation}"
|
2019-11-16 23:10:17 +00:00
|
|
|
FontSize="14"
|
2019-12-15 03:55:16 +00:00
|
|
|
ToolTip="The folder to download your mods" />
|
2019-11-16 23:10:17 +00:00
|
|
|
<TextBlock
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="1"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="4"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Staging Location"
|
|
|
|
TextAlignment="Center" />
|
|
|
|
<local:FilePicker
|
2019-12-14 03:44:27 +00:00
|
|
|
Grid.Row="1"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="6"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-12-15 06:20:28 +00:00
|
|
|
PickerVM="{Binding StagingLocation}"
|
2019-11-16 23:10:17 +00:00
|
|
|
FontSize="14" />
|
2019-12-14 03:44:27 +00:00
|
|
|
<TextBlock
|
|
|
|
Grid.Row="2"
|
|
|
|
Grid.Column="4"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Output Location"
|
|
|
|
TextAlignment="Center"
|
|
|
|
ToolTip="The folder to place the resulting modlist.wabbajack file" />
|
|
|
|
<local:FilePicker
|
|
|
|
Grid.Row="2"
|
|
|
|
Grid.Column="6"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
2019-12-15 06:20:28 +00:00
|
|
|
PickerVM="{Binding Parent.OutputLocation}"
|
2019-12-14 03:44:27 +00:00
|
|
|
FontSize="14"
|
|
|
|
ToolTip="The folder to place the resulting modlist.wabbajack file" />
|
2019-11-16 23:10:17 +00:00
|
|
|
</Grid>
|
|
|
|
</UserControl>
|