mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
added font part2
This commit is contained in:
parent
e7c98b0d10
commit
f7b024c4b8
5 changed files with 12 additions and 0 deletions
Binary file not shown.
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Drawing.Text;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
@ -9,6 +10,7 @@ namespace TimeHACK
|
|||
static class Program
|
||||
{
|
||||
internal static string gameID;
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// Run TitleScreen.cs at launch.
|
||||
|
|
|
@ -256,4 +256,7 @@
|
|||
<data name="TaskBarClock" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\titlescreen\taskbarclock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="LeviWindows" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\LeviWindows.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
</root>
|
|
@ -222,6 +222,8 @@
|
|||
<Content Include="Resources\TitleScreen\TaskBarClock.png" />
|
||||
<Content Include="Resources\TitleScreen\TimeHACK_Logo.png" />
|
||||
<Content Include="Resources\TitleScreen\TitleScreenBG.png" />
|
||||
<None Include="Resources\LeviWindows.ttf" />
|
||||
<None Include="Resources\WinClassicFont.bmp" />
|
||||
<Content Include="Resources\WinClassic\16Color.png" />
|
||||
<Content Include="Resources\WinClassic\256Color.png" />
|
||||
<Content Include="Resources\WinClassic\TrueColor.png" />
|
||||
|
|
|
@ -8,6 +8,8 @@ namespace TimeHACK
|
|||
{
|
||||
public partial class TitleScreen : Form
|
||||
{
|
||||
System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection();
|
||||
|
||||
public TitleScreen()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
@ -25,6 +27,9 @@ private void TitleScreen_Load(object sender, EventArgs e)
|
|||
// Set GameVersion
|
||||
gameversion.Text = "TimeHACK " + Program.gameID + " by AShifter";
|
||||
|
||||
// Initialize Font
|
||||
pfc.AddFontFile(AppDomain.CurrentDomain.BaseDirectory + "\\LeviWindows.ttf");
|
||||
|
||||
// Start the VM Mode timer
|
||||
vmModeTimer.Start();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue