From 049491ca1cf569153eb8a5004a8a657292bf8f39 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 27 Mar 2017 10:53:12 -0400 Subject: added title bar font --- TimeHACK.Main/Windows95.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'TimeHACK.Main/Windows95.cs') diff --git a/TimeHACK.Main/Windows95.cs b/TimeHACK.Main/Windows95.cs index bfae46b..dc84193 100644 --- a/TimeHACK.Main/Windows95.cs +++ b/TimeHACK.Main/Windows95.cs @@ -124,14 +124,14 @@ namespace TimeHACK { WindowManager wm = new WindowManager(); TestApp test = new TestApp(); - wm.startWinClassic(test, "TestApp", null, true, true); + wm.startWinClassic(test, "TestApp", null, true, true, new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)))); } private void downloaderTestToolStripMenuItem_Click(object sender, EventArgs e) { WinClassicDownloader opendownload = new WinClassicDownloader(); WindowManager wm = new WindowManager(); - wm.startWinClassic(opendownload, "Downloader", null, false, true); + wm.startWinClassic(opendownload, "Downloader", null, false, true, new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)))); opendownload.appName.Text = "Downloading: Survive The Day"; } @@ -139,14 +139,14 @@ namespace TimeHACK { WinClassicInstaller openinstaller = new WinClassicInstaller(); WindowManager wm = new WindowManager(); - wm.startWinClassic(openinstaller, "Installer", null, false, true); + wm.startWinClassic(openinstaller, "Installer", null, false, true, new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)))); } private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e) { WinClassicIE4 ie = new WinClassicIE4(); - ie.Show(); - ie.BringToFront(); + WindowManager wm = new WindowManager(); + wm.startWinClassic(ie, "Internet Explorer 4", null, true, true, new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)))); startmenu.Hide(); } @@ -164,7 +164,7 @@ namespace TimeHACK { WinClassicIE4 ie = new WinClassicIE4(); WindowManager wm = new WindowManager(); - wm.startWinClassic(ie, "Internet Explorer 4", null, true, true); + wm.startWinClassic(ie, "Internet Explorer 4", null, true, true, new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)))); startmenu.Hide(); } } -- cgit v1.2.3