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>
|
2019-11-17 00:41:59 +00:00
|
|
|
<RowDefinition Height="28" />
|
2019-11-16 23:10:17 +00:00
|
|
|
<RowDefinition Height="40" />
|
|
|
|
<RowDefinition Height="40" />
|
2019-11-17 00:41:59 +00:00
|
|
|
<RowDefinition Height="28" />
|
2019-11-16 23:10:17 +00:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock
|
2019-11-17 00:41:59 +00:00
|
|
|
Grid.Row="1"
|
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-11-17 00:41:59 +00:00
|
|
|
Grid.Row="1"
|
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>
|
|
|
|
<TextBlock Text="{Binding DisplayName}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
2019-11-16 23:10:17 +00:00
|
|
|
<TextBlock
|
2019-11-17 00:41:59 +00:00
|
|
|
Grid.Row="2"
|
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-11-17 00:41:59 +00:00
|
|
|
Grid.Row="2"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="2"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
DataContext="{Binding GameLocation}"
|
|
|
|
FontSize="14"
|
|
|
|
ToolTip="The install folder for the game" />
|
2019-11-17 00:41:59 +00:00
|
|
|
<Grid
|
|
|
|
Grid.Row="3"
|
|
|
|
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"
|
|
|
|
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"
|
|
|
|
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-11-17 00:41:59 +00:00
|
|
|
Grid.Row="1"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="4"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="14"
|
|
|
|
Text="Download Location"
|
|
|
|
TextAlignment="Center"
|
|
|
|
ToolTip="The folder to downloads your mods" />
|
|
|
|
<local:FilePicker
|
2019-11-17 00:41:59 +00:00
|
|
|
Grid.Row="1"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="6"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
DataContext="{Binding DownloadLocation}"
|
|
|
|
FontSize="14"
|
|
|
|
ToolTip="The folder to downloads your mods" />
|
|
|
|
<TextBlock
|
2019-11-17 00:41:59 +00:00
|
|
|
Grid.Row="2"
|
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-11-17 00:41:59 +00:00
|
|
|
Grid.Row="2"
|
2019-11-16 23:10:17 +00:00
|
|
|
Grid.Column="6"
|
|
|
|
Height="30"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
DataContext="{Binding StagingLocation}"
|
|
|
|
FontSize="14" />
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|