Created UI folder, moved icons and banner

This commit is contained in:
erri120 2019-10-09 11:33:23 +02:00
parent 3d8cdc9d99
commit 64a5aff072
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135
10 changed files with 14 additions and 14 deletions

View File

@ -36,14 +36,14 @@ namespace Wabbajack
{
var image = new BitmapImage();
image.BeginInit();
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.banner.png");
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.UI.banner.png");
image.EndInit();
_wabbajackLogo = image;
_splashScreenImage = image;
image = new BitmapImage();
image.BeginInit();
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.Icons.next.png");
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.UI.Icons.next.png");
image.EndInit();
_nextIcon = image;
@ -551,7 +551,7 @@ namespace Wabbajack
if (!_originalImage) {
var image = new BitmapImage();
image.BeginInit();
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.banner.png");
image.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.UI.banner.png");
image.EndInit();
SplashScreenImage = image;
}

View File

@ -15,13 +15,13 @@ namespace Wabbajack
public ModeSelectionWindow()
{
InitializeComponent();
var bannerImage = UIUtils.BitmapImageFromResource("Wabbajack.banner_small.png");
var bannerImage = UIUtils.BitmapImageFromResource("Wabbajack.UI.banner_small.png");
Banner.Source = bannerImage;
var patreonIcon = UIUtils.BitmapImageFromResource("Wabbajack.Icons.patreon.png");
var patreonIcon = UIUtils.BitmapImageFromResource("Wabbajack.UI.Icons.patreon.png");
Patreon.Source = patreonIcon;
var githubIcon = UIUtils.BitmapImageFromResource("Wabbajack.Icons.github.png");
var githubIcon = UIUtils.BitmapImageFromResource("Wabbajack.UI.Icons.github.png");
GitHub.Source = githubIcon;
var discordIcon = UIUtils.BitmapImageFromResource("Wabbajack.Icons.discord.png");
var discordIcon = UIUtils.BitmapImageFromResource("Wabbajack.UI.Icons.discord.png");
Discord.Source = discordIcon;
}

View File

@ -15,7 +15,7 @@ namespace Wabbajack
internal ModlistPropertiesWindow(AppState _state)
{
InitializeComponent();
var bannerImage = UIUtils.BitmapImageFromResource("Wabbajack.banner.png");
var bannerImage = UIUtils.BitmapImageFromResource("Wabbajack.UI.banner.png");
SplashScreenProperty.Source = bannerImage;
newBannerFile = null;

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 190 KiB

View File

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 178 KiB

View File

@ -296,18 +296,18 @@
<EmbeddedResource Include="css-min.css" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="banner.png" />
<EmbeddedResource Include="UI\banner.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="banner_small.png" />
<EmbeddedResource Include="UI\banner_small.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Icons\discord.png" />
<EmbeddedResource Include="Icons\github.png" />
<EmbeddedResource Include="Icons\patreon.png" />
<EmbeddedResource Include="UI\Icons\discord.png" />
<EmbeddedResource Include="UI\Icons\github.png" />
<EmbeddedResource Include="UI\Icons\patreon.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Icons\next.png" />
<EmbeddedResource Include="UI\Icons\next.png" />
</ItemGroup>
<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')" />