Change window name and app icons

This commit is contained in:
Stone_Red
2023-10-12 17:40:26 +02:00
parent 81b4b01d05
commit 4a43a1d2ef
4 changed files with 9 additions and 4 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 96 KiB

+3 -2
View File
@@ -20,6 +20,7 @@ namespace StoneRed.LogicSimulator;
internal class Srls : Game internal class Srls : Game
{ {
public const ushort CurrentSaveVersion = 1;
private readonly ScreenManager screenManager; private readonly ScreenManager screenManager;
private SrlsWindow? currentSrlsWindow = null; private SrlsWindow? currentSrlsWindow = null;
private SrlsScreen? currentSrlsScreen = null; private SrlsScreen? currentSrlsScreen = null;
@@ -37,8 +38,6 @@ internal class Srls : Game
public Settings Settings { get; set; } public Settings Settings { get; set; }
public const ushort CurrentSaveVersion = 1;
public Srls() public Srls()
{ {
Content.RootDirectory = "Content"; Content.RootDirectory = "Content";
@@ -168,6 +167,8 @@ internal class Srls : Game
LogicGatesManager = new LogicGatesManager(GraphicsDevice); LogicGatesManager = new LogicGatesManager(GraphicsDevice);
LogicGatesManager.LoadLogicGates(); LogicGatesManager.LoadLogicGates();
Window.Title = "Stone_Red Logic Simulator";
LoadScreen<StartScreen>(); LoadScreen<StartScreen>();
base.Initialize(); base.Initialize();
@@ -16,8 +16,12 @@
<None Remove="Icon.bmp" /> <None Remove="Icon.bmp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Icon.ico" /> <EmbeddedResource Include="Icon.ico">
<EmbeddedResource Include="Icon.bmp" /> <LogicalName>Icon.ico</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Icon.bmp">
<LogicalName>Icon.bmp</LogicalName>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="FluentResults" Version="3.15.2" /> <PackageReference Include="FluentResults" Version="3.15.2" />