diff options
Diffstat (limited to 'TimeHACK.Engine/WindowManager.cs')
| -rw-r--r-- | TimeHACK.Engine/WindowManager.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index 156da2f..4aa82d7 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -72,13 +72,13 @@ namespace TimeHACK.Engine return app; } - public WinClassic StartInfobox95(string title, string text, Image erroricon) + public WinClassic StartInfobox95(string title, string text, InfoboxType type, InfoboxButtons btns) { - Infobox95 app = new Infobox95(); + pfc.AddFontFile(SaveSystem.GameDirectory + "\\Data\\LeviWindows.ttf"); + Infobox95 app = new Infobox95(type, btns); app.infoText.Text = text; + app.infoText.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); - SoundPlayer sp = new SoundPlayer(Properties.Resources.CHORD); - sp.Play(); return StartWin95(app, title, null, false, false); } |
