aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-03-26 08:43:54 +0100
committerGitHub <[email protected]>2017-03-26 08:43:54 +0100
commitf13745d3cc1269a7c8900bb68e67b4eeab363293 (patch)
tree8ce345cee8dd94fbead00d1c37f60f293f5781ed /TimeHACK.Main/TitleScreen.cs
parentcfc3cde2a0bae77ddabc12e80aea2461d5ae1514 (diff)
parentb4f774d561877ec697a8228297c4a9d406c92485 (diff)
downloadhistacom2-f13745d3cc1269a7c8900bb68e67b4eeab363293.tar.gz
histacom2-f13745d3cc1269a7c8900bb68e67b4eeab363293.tar.bz2
histacom2-f13745d3cc1269a7c8900bb68e67b4eeab363293.zip
Merge pull request #2 from lempamo/master
Added a new font
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
-rw-r--r--TimeHACK.Main/TitleScreen.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs
index afc8dab..a50a1a4 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -8,6 +8,8 @@ namespace TimeHACK
{
public partial class TitleScreen : Form
{
+ public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection();
+
public TitleScreen()
{
InitializeComponent();
@@ -25,6 +27,9 @@ namespace TimeHACK
// 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();
}