2019-07-22 22:17:46 +00:00
|
|
|
<Window x:Class="Wabbajack.MainWindow"
|
|
|
|
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"
|
|
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
|
|
mc:Ignorable="d"
|
2019-09-26 03:18:36 +00:00
|
|
|
Title="Wabbajack" Height="960" Width="1448"
|
2019-09-14 04:35:42 +00:00
|
|
|
Style="{StaticResource {x:Type Window}}" Icon="square_transparent_icon.ico" WindowStyle="ToolWindow"
|
2019-09-26 03:18:36 +00:00
|
|
|
ResizeMode="NoResize"
|
2019-09-14 04:35:42 +00:00
|
|
|
Closing="Window_Closing">
|
2019-07-30 21:45:04 +00:00
|
|
|
<Grid Margin="16">
|
2019-07-22 22:17:46 +00:00
|
|
|
<Grid.RowDefinitions>
|
2019-09-14 04:35:42 +00:00
|
|
|
<RowDefinition Height="Auto" />
|
2019-09-26 03:18:36 +00:00
|
|
|
<RowDefinition Height="460"/>
|
2019-09-14 04:35:42 +00:00
|
|
|
<RowDefinition Height="10" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="Auto" />
|
2019-07-22 22:17:46 +00:00
|
|
|
</Grid.RowDefinitions>
|
2019-09-26 03:18:36 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="700"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="700"></ColumnDefinition>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
2019-07-30 21:45:04 +00:00
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0, 16, 0, 16">
|
2019-09-14 04:35:42 +00:00
|
|
|
<TextBlock Text="{Binding Mode}" FontSize="16" FontWeight="Bold" />
|
|
|
|
<TextBlock Text=" : " FontSize="16" />
|
|
|
|
<TextBlock Text="{Binding ModListName}" FontSize="16" />
|
2019-07-22 22:17:46 +00:00
|
|
|
</StackPanel>
|
2019-09-26 03:18:36 +00:00
|
|
|
|
2019-10-07 12:02:31 +00:00
|
|
|
<!-- Settings -->
|
|
|
|
<Grid Grid.Row="1" Grid.Column="0" Margin="5">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Image Grid.Row="0" Source="{Binding SplashScreenImage}" Stretch="Uniform"></Image>
|
|
|
|
<Button Grid.Row="1" Height="30" Command="{Binding OpenModListPropertiesCommand}">
|
|
|
|
<TextBlock Text="Modlist Properties" FontSize="15" FontWeight="Bold"></TextBlock>
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
<!-- End Settings -->
|
|
|
|
|
2019-09-26 03:18:36 +00:00
|
|
|
<!-- Slideshow -->
|
|
|
|
<Grid Grid.Row="1" Grid.Column="1" Margin="5">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="{Binding SplashScreenModName}" Grid.Row="0" FontSize="30" FontWeight="Bold"></TextBlock>
|
|
|
|
<TextBlock Text="{Binding SplashScreenAuthorName}" Grid.Row="1" FontSize="15" FontWeight="Bold"></TextBlock>
|
|
|
|
<TextBlock Text="{Binding SplashScreenSummary}" TextWrapping="Wrap" Grid.Row="2" FontSize="15" FontWeight="Bold"></TextBlock>
|
|
|
|
<Button Height="30" Grid.Row="3" Grid.Column="1" Command="{Binding VisitNexusSiteCommand}">
|
|
|
|
<TextBlock Text="View Nexus Site" FontSize="15" FontWeight="Bold"></TextBlock>
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
<!-- End Slideshow-->
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="Log:" Grid.Row="3" FontSize="14" Margin="0, 16, 0, 8" />
|
|
|
|
<ListBox local:AutoScrollBehavior.ScrollOnNewItem="True" Grid.Row="4" ItemsSource="{Binding Log}" />
|
|
|
|
<Grid HorizontalAlignment="Stretch" Grid.Row="5" Grid.Column="0" Grid.RowSpan="2" Margin="10">
|
2019-07-31 03:59:19 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
2019-09-14 04:35:42 +00:00
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
2019-07-31 03:59:19 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2019-09-03 22:12:39 +00:00
|
|
|
<Grid.RowDefinitions>
|
2019-09-14 04:35:42 +00:00
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition MinHeight="10" />
|
|
|
|
<RowDefinition />
|
2019-09-03 22:12:39 +00:00
|
|
|
</Grid.RowDefinitions>
|
2019-10-05 15:05:51 +00:00
|
|
|
<Label Grid.Row="0" Content="{Binding LocationLabel}" Grid.Column="0" />
|
2019-09-26 16:05:10 +00:00
|
|
|
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Location, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, NotifyOnValidationError=True}" IsEnabled="{Binding UIReady}"/>
|
2019-09-18 03:12:25 +00:00
|
|
|
<Button Grid.Row="0" Content="Select" MinWidth="80" Grid.Column="2" Command="{Binding ChangePath}" IsEnabled="{Binding UIReady}"/>
|
2019-09-14 04:35:42 +00:00
|
|
|
<Label Grid.Row="2" Content="Download Location:" Grid.Column="0" />
|
2019-09-18 03:12:25 +00:00
|
|
|
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding DownloadLocation}" IsEnabled="{Binding UIReady}"/>
|
|
|
|
<Button Grid.Row="2" Content="Select" MinWidth="80" Grid.Column="2" Command="{Binding ChangeDownloadPath}" IsEnabled="{Binding UIReady}"/>
|
2019-07-31 03:59:19 +00:00
|
|
|
</Grid>
|
2019-09-26 03:18:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Work Queue Start -->
|
|
|
|
<ProgressBar Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Value="{Binding QueueProgress}" Minimum="0" Maximum="100" Background="#444444" />
|
|
|
|
<TextBlock Text="Work Queue:" Grid.Row="3" Grid.Column="1" FontSize="14" Margin="0, 16, 0, 8" />
|
|
|
|
|
|
|
|
<ListBox Grid.Row="4" Grid.Column="1" ItemsSource="{Binding Status}" Width="Auto" HorizontalAlignment="Stretch">
|
2019-07-22 22:17:46 +00:00
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
2019-07-23 04:27:26 +00:00
|
|
|
<Grid HorizontalAlignment="Stretch">
|
|
|
|
<Grid.ColumnDefinitions>
|
2019-09-14 04:35:42 +00:00
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
<ColumnDefinition Width="Auto" />
|
2019-07-23 04:27:26 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2019-09-14 04:35:42 +00:00
|
|
|
<ProgressBar Minimum="0" Maximum="100" Value="{Binding Progress, Mode=OneTime}" Width="100"
|
|
|
|
Grid.Column="0">
|
2019-07-30 21:45:04 +00:00
|
|
|
<ProgressBar.Style>
|
|
|
|
<Style TargetType="ProgressBar">
|
2019-09-14 04:35:42 +00:00
|
|
|
<Setter Property="Visibility" Value="Visible" />
|
2019-07-30 21:45:04 +00:00
|
|
|
<Style.Triggers>
|
|
|
|
<DataTrigger Binding="{Binding Progress}" Value="0">
|
2019-09-14 04:35:42 +00:00
|
|
|
<Setter Property="Visibility" Value="Collapsed" />
|
2019-07-30 21:45:04 +00:00
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</ProgressBar.Style>
|
|
|
|
</ProgressBar>
|
2019-09-14 04:35:42 +00:00
|
|
|
<TextBlock Text=" CPU " Grid.Column="1" />
|
|
|
|
<TextBlock Text="{Binding ID}" Grid.Column="2" />
|
|
|
|
<TextBlock Text=" - " Grid.Column="3" />
|
|
|
|
<TextBlock Text="{Binding Msg}" Grid.Column="4" />
|
2019-07-23 04:27:26 +00:00
|
|
|
</Grid>
|
2019-07-22 22:17:46 +00:00
|
|
|
</DataTemplate>
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
2019-09-26 03:18:36 +00:00
|
|
|
<!-- Work Queue End-->
|
|
|
|
|
|
|
|
<Button Content="View Modlist Contents" Grid.Row="5" Grid.Column="1" Height="30" Visibility="{Binding ShowReportButton}"
|
|
|
|
Command="{Binding ShowReportCommand}" Margin="10" />
|
|
|
|
<Button Content="Begin" Grid.Row="6" Height="30" Grid.Column="1" Command="{Binding Begin}" IsEnabled="{Binding UIReady}" Margin="10"/>
|
2019-07-22 22:17:46 +00:00
|
|
|
</Grid>
|
2019-09-14 04:35:42 +00:00
|
|
|
</Window>
|