2019-09-27 04:07:54 +00:00
|
|
|
<Window x:Class="Wabbajack.ModeSelectionWindow"
|
|
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2019-10-09 09:38:57 +00:00
|
|
|
Style="{StaticResource {x:Type Window}}" Icon="Icons/wabbajack.ico" WindowStyle="ToolWindow"
|
2019-09-27 04:07:54 +00:00
|
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
|
|
mc:Ignorable="d"
|
2019-10-20 11:26:42 +00:00
|
|
|
Title="Wabbajack" Height="800" Width="1024" ResizeMode="CanResize"
|
2019-09-27 04:07:54 +00:00
|
|
|
Closing="Close_Window">
|
2019-10-09 09:58:08 +00:00
|
|
|
<Grid Margin="20">
|
2019-09-27 11:51:37 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
2019-10-09 09:58:08 +00:00
|
|
|
<ColumnDefinition Width="*"/>
|
2019-10-07 17:33:34 +00:00
|
|
|
<ColumnDefinition Width="30"/>
|
|
|
|
<ColumnDefinition Width="30"/>
|
2019-09-27 11:51:37 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2019-09-27 04:07:54 +00:00
|
|
|
<Grid.RowDefinitions>
|
2019-10-07 17:33:34 +00:00
|
|
|
<RowDefinition Height="30"/>
|
2019-10-20 11:26:42 +00:00
|
|
|
<RowDefinition Height="150"/>
|
2019-10-09 09:58:08 +00:00
|
|
|
<RowDefinition Height="*"/>
|
2019-10-07 17:33:34 +00:00
|
|
|
<RowDefinition Height="70"/>
|
|
|
|
<RowDefinition Height="70"/>
|
2019-10-22 12:05:57 +00:00
|
|
|
<RowDefinition Height="70"/>
|
2019-09-27 04:07:54 +00:00
|
|
|
</Grid.RowDefinitions>
|
2019-10-07 17:33:34 +00:00
|
|
|
<Image MouseLeftButtonDown="GitHub_MouseLeftButtonDown" Margin="5,0,0,0" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Name="GitHub"/>
|
|
|
|
<Image MouseLeftButtonDown="Patreon_MouseLeftButtonDown" Margin="5,0,0,0" Grid.Row="0" Grid.Column="1" Name="Patreon"/>
|
|
|
|
<Image MouseLeftButtonDown="Discord_MouseLeftButtonDown" Margin="5,0,0,0" Grid.Row="0" Grid.Column="2" Name="Discord"/>
|
2019-10-09 09:58:08 +00:00
|
|
|
<Image Grid.Row="1" Grid.ColumnSpan="3" Name="Banner" Stretch="Uniform" Margin="2,0,2,0"/>
|
2019-10-20 11:26:42 +00:00
|
|
|
<ListBox ScrollViewer.CanContentScroll="False" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Grid.Row="2" Grid.ColumnSpan="3"
|
|
|
|
ItemsSource="{Binding ModLists}" SelectedItem="{Binding Path=SelectedModList, Mode=TwoWay}">
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Grid Margin="10">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="300"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="20"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="200"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="200"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="200"></ColumnDefinition>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="20"></RowDefinition>
|
|
|
|
<RowDefinition Height="15"></RowDefinition>
|
|
|
|
<RowDefinition Height="150"></RowDefinition>
|
|
|
|
<RowDefinition Height="20"></RowDefinition>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Image Source="{Binding Links.ImageUri}" Grid.Column="0" Grid.Row="0" Grid.RowSpan="4"></Image>
|
|
|
|
<TextBlock Text="{Binding Title}" FontSize="20" Grid.Column="2" Grid.Row="0"></TextBlock>
|
|
|
|
<TextBlock Text="{Binding Author}" Grid.Column="2" Grid.Row="1"></TextBlock>
|
|
|
|
<TextBlock Text="{Binding Game}" HorizontalAlignment="Right" TextAlignment="Right" Grid.Column="4" Grid.Row="1"></TextBlock>
|
|
|
|
<TextBlock Text="{Binding Description}" VerticalAlignment="Top" HorizontalAlignment="Left" TextWrapping="Wrap" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="3"></TextBlock>
|
|
|
|
<Button Grid.Row="3" Grid.Column="2">More Info</Button>
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
2019-10-22 12:05:57 +00:00
|
|
|
<Button Name="InstallModlist" Grid.ColumnSpan="3" Grid.Row="3" Margin="2" Click="InstallModlist_Click" IsEnabled="{Binding CanInstall}">
|
2019-10-20 11:26:42 +00:00
|
|
|
<TextBlock FontSize="40">Download and Install</TextBlock>
|
2019-09-27 04:07:54 +00:00
|
|
|
</Button>
|
2019-10-22 12:05:57 +00:00
|
|
|
<Button Name="InstallFromList" Grid.ColumnSpan="3" Grid.Row="4" Margin="2" Click="InstallFromList_Click">
|
|
|
|
<TextBlock FontSize="40">Install from Disk</TextBlock>
|
|
|
|
</Button>
|
2019-10-20 11:26:42 +00:00
|
|
|
<Button Name="CreateModlist" Grid.ColumnSpan="3" Grid.Row="5" Margin="2" Click="CreateModlist_Click">
|
2019-09-27 04:07:54 +00:00
|
|
|
<TextBlock FontSize="40">Create a ModList</TextBlock>
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</Window>
|