mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Created new Modlist Properties window
This commit is contained in:
parent
901de1ee8a
commit
f4baae2cce
@ -167,6 +167,19 @@ namespace Wabbajack
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ICommand OpenModListPropertiesCommand
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return new LambdaCommand(() => true, () => OpenModListProperties());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OpenModListProperties()
|
||||||
|
{
|
||||||
|
new ModlistPropertiesWindow().Show();
|
||||||
|
}
|
||||||
|
|
||||||
public string _nexusSiteURL = null;
|
public string _nexusSiteURL = null;
|
||||||
|
|
||||||
private void VisitNexusSite()
|
private void VisitNexusSite()
|
||||||
|
@ -31,9 +31,20 @@
|
|||||||
<TextBlock Text="{Binding ModListName}" FontSize="16" />
|
<TextBlock Text="{Binding ModListName}" FontSize="16" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<!-- 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 -->
|
||||||
|
|
||||||
<!-- Slideshow -->
|
<!-- Slideshow -->
|
||||||
|
|
||||||
<Image Grid.Row="1" Grid.Column="0" Source="{Binding SplashScreenImage}" Stretch="Uniform" Margin="5"></Image>
|
|
||||||
<Grid Grid.Row="1" Grid.Column="1" Margin="5">
|
<Grid Grid.Row="1" Grid.Column="1" Margin="5">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
|
12
Wabbajack/ModlistPropertiesWindow.xaml
Normal file
12
Wabbajack/ModlistPropertiesWindow.xaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<Window x:Class="Wabbajack.ModlistPropertiesWindow"
|
||||||
|
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"
|
||||||
|
Title="ModlistPropertiesWindow" Height="450" Width="800">
|
||||||
|
<Grid>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
27
Wabbajack/ModlistPropertiesWindow.xaml.cs
Normal file
27
Wabbajack/ModlistPropertiesWindow.xaml.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace Wabbajack
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for ModlistPropertiesWindow.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class ModlistPropertiesWindow : Window
|
||||||
|
{
|
||||||
|
public ModlistPropertiesWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -186,6 +186,9 @@
|
|||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
<Compile Include="Data.cs" />
|
<Compile Include="Data.cs" />
|
||||||
<Compile Include="LambdaCommand.cs" />
|
<Compile Include="LambdaCommand.cs" />
|
||||||
|
<Compile Include="ModlistPropertiesWindow.xaml.cs">
|
||||||
|
<DependentUpon>ModlistPropertiesWindow.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="NexusApi\Dtos.cs" />
|
<Compile Include="NexusApi\Dtos.cs" />
|
||||||
<Compile Include="NexusApi\NexusApiUtils.cs" />
|
<Compile Include="NexusApi\NexusApiUtils.cs" />
|
||||||
<Compile Include="ModeSelectionWindow.xaml.cs">
|
<Compile Include="ModeSelectionWindow.xaml.cs">
|
||||||
@ -220,6 +223,10 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
<Page Include="ModlistPropertiesWindow.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
<Page Include="Themes\Styles.xaml">
|
<Page Include="Themes\Styles.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
|
Loading…
Reference in New Issue
Block a user