aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-03-25 19:22:45 -0400
committerlempamo <[email protected]>2017-03-25 19:22:45 -0400
commitf7b024c4b804ce64a00e62cb2655ae9c10bbd567 (patch)
tree20a6265043bf35e96e81a9b9de20be4e06e09aab /TimeHACK.Main/TitleScreen.cs
parente7c98b0d10568df4c3e4a72c26088d1fd6d62ec6 (diff)
downloadhistacom2-f7b024c4b804ce64a00e62cb2655ae9c10bbd567.tar.gz
histacom2-f7b024c4b804ce64a00e62cb2655ae9c10bbd567.tar.bz2
histacom2-f7b024c4b804ce64a00e62cb2655ae9c10bbd567.zip
added font part2
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..8b9d0b4 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -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 @@ 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();
}