Converted logo to PNG

This commit is contained in:
William Moorehouse 2015-09-22 15:03:20 -04:00
parent 29644e2be5
commit 0a85d18e08
4 changed files with 8 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -39,9 +39,9 @@ namespace TrueCraft.Launcher
MultiplayerView = new MultiplayerView(this); MultiplayerView = new MultiplayerView(this);
SingleplayerView = new SingleplayerView(this); SingleplayerView = new SingleplayerView(this);
InteractionBox = new VBox(); InteractionBox = new VBox();
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("TrueCraft.Launcher.Content.truecraft_logo.svg")) using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("TrueCraft.Launcher.Content.truecraft_logo.png"))
TrueCraftLogoImage = new ImageView(Image.FromStream(stream)); TrueCraftLogoImage = new ImageView(Image.FromStream(stream).WithBoxSize(350, 75));
WebScrollView.Content = WebView; WebScrollView.Content = WebView;
MainContainer.PackStart(WebScrollView, true); MainContainer.PackStart(WebScrollView, true);

View File

@ -67,6 +67,7 @@
<Content Include="Content\default-pack.txt"> <Content Include="Content\default-pack.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<EmbeddedResource Include="Content\truecraft_logo.png" />
<Content Include="Xwt.Gtk.dll.config"> <Content Include="Xwt.Gtk.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
@ -106,7 +107,7 @@
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Content\truecraft-logo.png" /> <EmbeddedResource Include="Content\truecraft-logo.png" />
<EmbeddedResource Include="Content\default-server-icon.png" /> <EmbeddedResource Include="Content\default-server-icon.png" />
<EmbeddedResource Include="Content\truecraft_logo.svg" /> <None Include="Content\truecraft_logo.svg" />
</ItemGroup> </ItemGroup>
<PropertyGroup Condition=" '$(OS)' == 'UNIX' "> <PropertyGroup Condition=" '$(OS)' == 'UNIX' ">
<PostBuildEvent>rm $(TargetDir)/MonoGame.Framework.dll &amp;&amp; cp $(SolutionDir)/packages/MonoGame.Framework.Linux.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Linux.dll &amp;&amp; cp $(SolutionDir)/packages/MonoGame.Framework.WindowsGL.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Windows.dll &amp;&amp; cp $(SolutionDir)/packages/MonoGame.Framework.MacOS.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.MacOS.dll</PostBuildEvent> <PostBuildEvent>rm $(TargetDir)/MonoGame.Framework.dll &amp;&amp; cp $(SolutionDir)/packages/MonoGame.Framework.Linux.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Linux.dll &amp;&amp; cp $(SolutionDir)/packages/MonoGame.Framework.WindowsGL.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Windows.dll &amp;&amp; cp $(SolutionDir)/packages/MonoGame.Framework.MacOS.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.MacOS.dll</PostBuildEvent>
@ -125,4 +126,4 @@ copy $(SolutionDir)packages\MonoGame.Framework.MacOS.3.4.0.459\lib\net40\MonoGam
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -43,8 +43,8 @@ namespace TrueCraft.Launcher.Views
RememberCheckBox.Active = true; RememberCheckBox.Active = true;
} }
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("TrueCraft.Launcher.Content.truecraft_logo.svg")) using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("TrueCraft.Launcher.Content.truecraft_logo.png"))
TrueCraftLogoImage = new ImageView(Image.FromStream(stream)); TrueCraftLogoImage = new ImageView(Image.FromStream(stream).WithBoxSize(350, 75));
UsernameText.PlaceholderText = "Username"; UsernameText.PlaceholderText = "Username";
PasswordText.PlaceholderText = "Password"; PasswordText.PlaceholderText = "Password";