diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-03-26 08:43:54 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-26 08:43:54 +0100 |
| commit | f13745d3cc1269a7c8900bb68e67b4eeab363293 (patch) | |
| tree | 8ce345cee8dd94fbead00d1c37f60f293f5781ed /TimeHACK.Main/TitleScreen.cs | |
| parent | cfc3cde2a0bae77ddabc12e80aea2461d5ae1514 (diff) | |
| parent | b4f774d561877ec697a8228297c4a9d406c92485 (diff) | |
| download | histacom2-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.cs | 5 |
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(); } |
