Created UI folder, moved icons and banner
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
@ -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')" />
|
||||
|