Converted logo to PNG
This commit is contained in:
parent
29644e2be5
commit
0a85d18e08
BIN
TrueCraft.Launcher/Content/truecraft_logo.png
Normal file
BIN
TrueCraft.Launcher/Content/truecraft_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
@ -40,8 +40,8 @@ namespace TrueCraft.Launcher
|
|||||||
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);
|
||||||
|
@ -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 && cp $(SolutionDir)/packages/MonoGame.Framework.Linux.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Linux.dll && cp $(SolutionDir)/packages/MonoGame.Framework.WindowsGL.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Windows.dll && 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 && cp $(SolutionDir)/packages/MonoGame.Framework.Linux.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Linux.dll && cp $(SolutionDir)/packages/MonoGame.Framework.WindowsGL.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.Windows.dll && cp $(SolutionDir)/packages/MonoGame.Framework.MacOS.3.4.0.459/lib/net40/MonoGame.Framework.dll $(TargetDir)/MonoGame.Framework.MacOS.dll</PostBuildEvent>
|
||||||
|
@ -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";
|
||||||
|
Reference in New Issue
Block a user