aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/WindowManager.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-30 00:10:22 -0400
committerlempamo <[email protected]>2017-07-30 00:10:22 -0400
commit077fef3baf82e23a4a03bb3c73d83f8d8103fdb9 (patch)
tree7136fb69ca87b175aee39e6a04b4e998905f22a0 /TimeHACK.Engine/WindowManager.cs
parent71ccea956dc85e8b293dc8a30fbbf91b2709897f (diff)
downloadhistacom2-077fef3baf82e23a4a03bb3c73d83f8d8103fdb9.tar.gz
histacom2-077fef3baf82e23a4a03bb3c73d83f8d8103fdb9.tar.bz2
histacom2-077fef3baf82e23a4a03bb3c73d83f8d8103fdb9.zip
better infoboxes
Diffstat (limited to 'TimeHACK.Engine/WindowManager.cs')
-rw-r--r--TimeHACK.Engine/WindowManager.cs8
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);
}