mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added next icon
This commit is contained in:
parent
c774cdaca1
commit
a0588bb564
@ -38,6 +38,12 @@ namespace Wabbajack
|
|||||||
_wabbajackLogo = image;
|
_wabbajackLogo = image;
|
||||||
_splashScreenImage = image;
|
_splashScreenImage = image;
|
||||||
|
|
||||||
|
image = new BitmapImage();
|
||||||
|
image.BeginInit();
|
||||||
|
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.Icons.next.png");
|
||||||
|
image.EndInit();
|
||||||
|
_nextIcon = image;
|
||||||
|
|
||||||
SetupSlideshow();
|
SetupSlideshow();
|
||||||
|
|
||||||
if (Assembly.GetEntryAssembly().Location.ToLower().Contains("\\downloads\\"))
|
if (Assembly.GetEntryAssembly().Location.ToLower().Contains("\\downloads\\"))
|
||||||
@ -224,6 +230,8 @@ namespace Wabbajack
|
|||||||
|
|
||||||
private string _SplashScreenModName = "Wabbajack";
|
private string _SplashScreenModName = "Wabbajack";
|
||||||
public string SplashScreenModName { get => _SplashScreenModName; set => this.RaiseAndSetIfChanged(ref _SplashScreenModName, value); }
|
public string SplashScreenModName { get => _SplashScreenModName; set => this.RaiseAndSetIfChanged(ref _SplashScreenModName, value); }
|
||||||
|
private BitmapImage _nextIcon = null;
|
||||||
|
public BitmapImage NextIcon { get => _nextIcon; set => this.RaiseAndSetIfChanged(ref _nextIcon, value); }
|
||||||
|
|
||||||
private string _SplashScreenAuthorName = "Halgari & the Wabbajack Team";
|
private string _SplashScreenAuthorName = "Halgari & the Wabbajack Team";
|
||||||
public string SplashScreenAuthorName { get => _SplashScreenAuthorName; set => this.RaiseAndSetIfChanged(ref _SplashScreenAuthorName, value); }
|
public string SplashScreenAuthorName { get => _SplashScreenAuthorName; set => this.RaiseAndSetIfChanged(ref _SplashScreenAuthorName, value); }
|
||||||
|
BIN
Wabbajack/Icons/next.png
Normal file
BIN
Wabbajack/Icons/next.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 243 B |
@ -62,7 +62,18 @@
|
|||||||
<TextBlock Text="{Binding SplashScreenModName}" Grid.Row="0" FontSize="30" FontWeight="Bold"/>
|
<TextBlock Text="{Binding SplashScreenModName}" Grid.Row="0" FontSize="30" FontWeight="Bold"/>
|
||||||
<TextBlock Text="{Binding SplashScreenAuthorName}" Grid.Row="1" FontSize="15" FontWeight="Bold"/>
|
<TextBlock Text="{Binding SplashScreenAuthorName}" Grid.Row="1" FontSize="15" FontWeight="Bold"/>
|
||||||
<TextBlock Text="{Binding SplashScreenSummary}" TextWrapping="Wrap" Grid.Row="2" FontSize="15" FontWeight="Bold"/>
|
<TextBlock Text="{Binding SplashScreenSummary}" TextWrapping="Wrap" Grid.Row="2" FontSize="15" FontWeight="Bold"/>
|
||||||
<CheckBox Grid.Row="3" IsChecked="{Binding SplashShowNSFW}" Name="ShowNSFWContent">Show NSFW Mods in the Slideshow</CheckBox>
|
<Grid Grid.Row="3">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="48"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<CheckBox Grid.Column="0" IsChecked="{Binding SplashShowNSFW}" Name="ShowNSFWContent">Show NSFW Mods in the Slideshow</CheckBox>
|
||||||
|
<Button HorizontalAlignment="Right" Height="30" Grid.Column="1" Command="{Binding SlideShowNextItem}">
|
||||||
|
<DockPanel>
|
||||||
|
<Image Source="{Binding NextIcon}" Stretch="Fill"/>
|
||||||
|
</DockPanel>
|
||||||
|
</Button>
|
||||||
|
</Grid>
|
||||||
<Button Height="30" Grid.Row="4" Command="{Binding VisitNexusSiteCommand}">
|
<Button Height="30" Grid.Row="4" Command="{Binding VisitNexusSiteCommand}">
|
||||||
<TextBlock Text="View Nexus Site" FontSize="15" FontWeight="Bold"/>
|
<TextBlock Text="View Nexus Site" FontSize="15" FontWeight="Bold"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -306,7 +306,9 @@
|
|||||||
<EmbeddedResource Include="Icons\github.png" />
|
<EmbeddedResource Include="Icons\github.png" />
|
||||||
<EmbeddedResource Include="Icons\patreon.png" />
|
<EmbeddedResource Include="Icons\patreon.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Icons\next.png" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="..\packages\Fody.5.1.1\build\Fody.targets" Condition="Exists('..\packages\Fody.5.1.1\build\Fody.targets')" />
|
<Import Project="..\packages\Fody.5.1.1\build\Fody.targets" Condition="Exists('..\packages\Fody.5.1.1\build\Fody.targets')" />
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
Loading…
Reference in New Issue
Block a user