From 7505e8439ee04d6d3556c91e4491ce15a88148e5 Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 21:59:21 -0400 Subject: Added in theme colors --- Histacom2.Engine/Theme.cs | 311 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 311 insertions(+) (limited to 'Histacom2.Engine/Theme.cs') diff --git a/Histacom2.Engine/Theme.cs b/Histacom2.Engine/Theme.cs index f9ca6c9..abc5bff 100644 --- a/Histacom2.Engine/Theme.cs +++ b/Histacom2.Engine/Theme.cs @@ -146,6 +146,10 @@ namespace Histacom2.Engine stopSound = Properties.Resources.Win95PlusInsideComputerStop; asteriskSound = Properties.Resources.Win95PlusInsideComputerAsterisk; + critStopSound = Properties.Resources.Win95PlusInsideComputerCritStop; + exclamationSound = Properties.Resources.Win95PlusInsideComputerExclamation; + progErrorSound = Properties.Resources.Win95PlusInsideComputerProgError; + questionSound = Properties.Resources.Win95PlusInsideComputerQuestion; threeDObjectsColor = Color.FromArgb(169, 200, 169); threeDObjectsTextColor = Color.Black; @@ -167,6 +171,313 @@ namespace Histacom2.Engine } } + public class Default95Plus : Theme + { + public Default95Plus() + { + startSound = Properties.Resources.Win95PlusDefaultStop; + stopSound = Properties.Resources.Win95PlusDefaultStop; + + asteriskSound = Properties.Resources.Win95PlusDefaultAstrisk; + critStopSound = Properties.Resources.Win95PlusDefaultCritStop; + exclamationSound = Properties.Resources.Win95PlusDefaultExclamation; + progErrorSound = Properties.Resources.Win95PlusDefaultProgError; + questionSound = Properties.Resources.Win95PlusDefaultQuestion; + + threeDObjectsColor = Color.Silver; + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.White; + + activeTitleBarColor = Color.Navy; + activeTitleTextColor = Color.White; + inactiveTitleBarColor = Color.Gray; + inactiveTitleTextColor = Color.Silver; + + selectedBackColor = Color.Navy; + selectedTextColor = Color.White; + + defaultWallpaper = Properties.Resources.Win95PlusInsideComputerWallpaper; + themeName = "default95plus"; + } + } + + public class GoldenEra : Theme + { + public GoldenEra() + { + startSound = Properties.Resources.Win95PlusGoldenEraStop; + stopSound = Properties.Resources.Win95PlusGoldenEraStop; + + asteriskSound = Properties.Resources.Win95PlusGoldenEraAstrisk; + critStopSound = Properties.Resources.Win95PlusGoldenEraCritStop; + exclamationSound = Properties.Resources.Win95PlusGoldenEraExclamation; + progErrorSound = Properties.Resources.Win95PlusGoldenEraProgError; + questionSound = Properties.Resources.Win95PlusGoldenEraQuestion; + + threeDObjectsColor = Color.FromArgb(184, 200, 184); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.FromArgb(225, 248, 224); + + activeTitleBarColor = Color.FromArgb(216, 112, 96); + activeTitleTextColor = Color.FromArgb(255, 248, 224); + inactiveTitleBarColor = Color.FromArgb(112, 143, 112); + inactiveTitleTextColor = Color.FromArgb(0, 0, 0); + + selectedBackColor = Color.FromArgb(128 ,136, 168); + selectedTextColor = Color.FromArgb(225,248, 224); + + defaultWallpaper = Properties.Resources.Win95PlusGoldenEraWallpaper; + themeName = "goldenera"; + } + } + + + public class Leo : Theme + { + public Leo() + { + startSound = Properties.Resources.Win95PlusLeoStart; + stopSound = Properties.Resources.Win95PlusLeoStart; + + asteriskSound = Properties.Resources.Win95PlusLeoAsterisk; + critStopSound = Properties.Resources.Win95PlusLeoCritStop; + exclamationSound = Properties.Resources.Win95PlusLeoExclamation; + progErrorSound = Properties.Resources.Win95PlusLeoProgError; + questionSound = Properties.Resources.Win95PlusLeoQuestion; + + threeDObjectsColor = Color.FromArgb(191, 165, 159); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.White; + + activeTitleBarColor = Color.FromArgb(128, 0, 0); + activeTitleTextColor = Color.FromArgb(225, 255, 255); + inactiveTitleBarColor = Color.FromArgb(139, 101, 92); + inactiveTitleTextColor = Color.FromArgb(223, 210, 208); + + selectedBackColor = Color.FromArgb(128, 0, 0); + selectedTextColor = Color.FromArgb(225, 255, 255); + + defaultWallpaper = Properties.Resources.Win95PlusLeoWallpaper; + themeName = "Leo"; + } + } + + public class Mystery : Theme + { + public Mystery() + { + startSound = Properties.Resources.Win95PlusMysteryStart; + stopSound = Properties.Resources.Win95PlusMysteryStop; + + asteriskSound = Properties.Resources.Win95PlusMysteryAstrisk; + critStopSound = Properties.Resources.Win95PlusMysteryCritStop; + exclamationSound = Properties.Resources.Win95PlusMysteryExclamation; + progErrorSound = Properties.Resources.Win95PlusMysteryProgError; + questionSound = Properties.Resources.Win95PlusMysteryQuestion; + + threeDObjectsColor = Color.FromArgb(104, 120, 104); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.FromArgb(225, 255, 240); + + activeTitleBarColor = Color.FromArgb(80, 56, 64); + activeTitleTextColor = Color.FromArgb(255, 255, 240); + inactiveTitleBarColor = Color.FromArgb(72, 80, 72); + inactiveTitleTextColor = Color.FromArgb(104, 120, 104); + + selectedBackColor = Color.FromArgb(184, 120, 64); + selectedTextColor = Color.White; + + defaultWallpaper = Properties.Resources.Win95PlusMysteryWallpaper; + themeName = "Mystery"; + } + } + + public class Nature : Theme + { + public Nature() + { + startSound = Properties.Resources.Win95PlusNatureStart; + stopSound = Properties.Resources.Win95PlusNatureStop; + + asteriskSound = Properties.Resources.Win95PlusNatureAstrisk; + critStopSound = Properties.Resources.Win95PlusNatureCritStop; + exclamationSound = Properties.Resources.Win95PlusNatureExclamation; + progErrorSound = Properties.Resources.Win95PlusNatureProgError; + questionSound = Properties.Resources.Win95PlusNatureQuestion; + + threeDObjectsColor = Color.FromArgb(216, 192, 160); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.FromArgb(240, 232, 216); + + activeTitleBarColor = Color.FromArgb(0, 72, 72); + activeTitleTextColor = Color.FromArgb(240, 232, 216); + inactiveTitleBarColor = Color.FromArgb(104, 80, 56); + inactiveTitleTextColor = Color.FromArgb(0, 0, 0); + + selectedBackColor = Color.FromArgb(176, 144, 112); + selectedTextColor = Color.FromArgb(0, 0, 0); + + defaultWallpaper = Properties.Resources.Win95PlusNatureWallpaper; + themeName = "Nature"; + } + } + + public class Science : Theme + { + public Science() + { + startSound = Properties.Resources.Win95PlusScienceStart; + stopSound = Properties.Resources.Win95PlusScienceStop; + + asteriskSound = Properties.Resources.Win95PlusScienceAsterisk; + critStopSound = Properties.Resources.Win95PlusScienceCritStop; + exclamationSound = Properties.Resources.Win95PlusScienceExclamation; + progErrorSound = Properties.Resources.Win95PlusScienceProgError; + questionSound = Properties.Resources.Win95PlusScienceQuestion; + + threeDObjectsColor = Color.FromArgb(131, 153, 177); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.White; + + activeTitleBarColor = Color.FromArgb(0, 128, 128); + activeTitleTextColor = Color.FromArgb(255, 255, 255); + inactiveTitleBarColor = Color.FromArgb(160, 160, 164); + inactiveTitleTextColor = Color.FromArgb(193, 204, 217); + + selectedBackColor = Color.FromArgb(0, 128, 224); + selectedTextColor = Color.FromArgb(225, 255, 255); + + defaultWallpaper = Properties.Resources.Win95PlusScienceWallpaper; + themeName = "Science"; + } + } + + public class Sports : Theme + { + public Sports() + { + startSound = Properties.Resources.Win95PlusSportsStart; + stopSound = Properties.Resources.Win95PlusSportsStop; + + asteriskSound = Properties.Resources.Win95PlusSportsAstrisk; + critStopSound = Properties.Resources.Win95PlusSportsCritStop; + exclamationSound = Properties.Resources.Win95PlusSportsExclamation; + progErrorSound = Properties.Resources.Win95PlusSportsProgError; + questionSound = Properties.Resources.Win95PlusSportsQuestion; + + threeDObjectsColor = Color.FromArgb(176, 224, 160); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.White; + + activeTitleBarColor = Color.FromArgb(0, 128, 128); + activeTitleTextColor = Color.FromArgb(0, 0, 0); + inactiveTitleBarColor = Color.FromArgb(0, 128, 0); + inactiveTitleTextColor = Color.FromArgb(176, 224, 160); + + selectedBackColor = Color.FromArgb(255, 255, 0); + selectedTextColor = Color.FromArgb(0, 0, 0); + + defaultWallpaper = Properties.Resources.Win95PlusSportsWallpaper; + themeName = "Sports"; + } + } + + public class The60 : Theme + { + public The60() + { + startSound = Properties.Resources.Win95PlusThe60Start; + stopSound = Properties.Resources.Win95PlusThe60Stop; + + asteriskSound = Properties.Resources.Win95PlusThe60Asterisk; + critStopSound = Properties.Resources.Win95PlusThe60CritStop; + exclamationSound = Properties.Resources.Win95PlusThe60Exclamation; + progErrorSound = Properties.Resources.Win95PlusThe60ProgError; + questionSound = Properties.Resources.Win95PlusThe60Question; + + threeDObjectsColor = Color.FromArgb(208, 104, 216); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.White; + + activeTitleBarColor = Color.FromArgb(0, 0, 128); + activeTitleTextColor = Color.FromArgb(255, 255, 255); + inactiveTitleBarColor = Color.FromArgb(160, 48, 168); + inactiveTitleTextColor = Color.FromArgb(232, 184, 240); + + selectedBackColor = Color.FromArgb(0, 255, 0); + selectedTextColor = Color.FromArgb(0, 0, 0); + + defaultWallpaper = Properties.Resources.Win95PlusThe60Wallpaper; + themeName = "The60"; + } + } + + public class Travel : Theme + { + public Travel() + { + startSound = Properties.Resources.Win95PlusTravelStart; + stopSound = Properties.Resources.Win95PlusTravelStop; + + asteriskSound = Properties.Resources.Win95PlusTravelAsterisk; + critStopSound = Properties.Resources.Win95PlusTravelCritStop; + exclamationSound = Properties.Resources.Win95PlusTravelExclamation; + progErrorSound = Properties.Resources.Win95PlusTravelProgError; + questionSound = Properties.Resources.Win95PlusTravelQuestion; + + threeDObjectsColor = Color.FromArgb(144, 128, 112); + threeDObjectsTextColor = Color.Black; + + buttonFont = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + + windowColor = Color.White; + + activeTitleBarColor = Color.FromArgb(64, 72, 120); + activeTitleTextColor = Color.FromArgb(224, 224, 216); + inactiveTitleBarColor = Color.FromArgb(96, 88, 72); + inactiveTitleTextColor = Color.FromArgb(144, 128, 112); + + selectedBackColor = Color.FromArgb(72, 96, 80); + selectedTextColor = Color.FromArgb(224, 224, 216); + + defaultWallpaper = Properties.Resources.Win95PlusTravelWallpaper; + themeName = "Travel"; + } + } + + public class MoreWin : Default95Plus + { + public MoreWin() + { + defaultWallpaper = Properties.Resources.Win95PlusMoreWinWallpaper; + themeName = "MoreWin"; + } + } + public class BadXPTheme: Theme { public BadXPTheme() -- cgit v1.2.3 From 4ab4aa2f2d91eb117bdd54bc42bb2091f2f380fb Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 22:11:46 -0400 Subject: added first combobox validation --- Histacom2.Engine/Theme.cs | 2 +- .../Win95Apps/WinClassicThemePanel.Designer.cs | 33 +++++++++++++++++++++- .../OS/Win95/Win95Apps/WinClassicThemePanel.cs | 31 ++++++++++++++++++++ 3 files changed, 64 insertions(+), 2 deletions(-) (limited to 'Histacom2.Engine/Theme.cs') diff --git a/Histacom2.Engine/Theme.cs b/Histacom2.Engine/Theme.cs index abc5bff..defe419 100644 --- a/Histacom2.Engine/Theme.cs +++ b/Histacom2.Engine/Theme.cs @@ -473,7 +473,7 @@ namespace Histacom2.Engine { public MoreWin() { - defaultWallpaper = Properties.Resources.Win95PlusMoreWinWallpaper; + defaultWallpaper = Properties.Resources.Win95PlusMoreWin; themeName = "MoreWin"; } } diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs index 6b92d11..5caf02f 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs @@ -53,8 +53,18 @@ this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "Default", + "Windows 95 Default Plus", "Dangerous Creatures", - "Inside Your Computer"}); + "Inside Your Computer", + "Leonardo da Vinci", + "More Windows", + "Mystery", + "Nature", + "Science", + "Sports", + "The 60\'s USA", + "The Golden Era", + "Travel"}); this.comboBox1.Location = new System.Drawing.Point(15, 201); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(269, 21); @@ -73,6 +83,13 @@ // // applyButton // + this.applyButton.AdaptBackColorWithTheme = true; + this.applyButton.AdaptFontWithTheme = true; + this.applyButton.AdaptForeColorWithTheme = true; + this.applyButton.BackColor = System.Drawing.Color.Silver; + this.applyButton.DialogResult = System.Windows.Forms.DialogResult.None; + this.applyButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.applyButton.ForeColor = System.Drawing.Color.Black; this.applyButton.Location = new System.Drawing.Point(209, 245); this.applyButton.Name = "applyButton"; this.applyButton.Size = new System.Drawing.Size(75, 23); @@ -82,6 +99,13 @@ // // cancelButton // + this.cancelButton.AdaptBackColorWithTheme = true; + this.cancelButton.AdaptFontWithTheme = true; + this.cancelButton.AdaptForeColorWithTheme = true; + this.cancelButton.BackColor = System.Drawing.Color.Silver; + this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.None; + this.cancelButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.cancelButton.ForeColor = System.Drawing.Color.Black; this.cancelButton.Location = new System.Drawing.Point(128, 245); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); @@ -91,6 +115,13 @@ // // okButton // + this.okButton.AdaptBackColorWithTheme = true; + this.okButton.AdaptFontWithTheme = true; + this.okButton.AdaptForeColorWithTheme = true; + this.okButton.BackColor = System.Drawing.Color.Silver; + this.okButton.DialogResult = System.Windows.Forms.DialogResult.None; + this.okButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.okButton.ForeColor = System.Drawing.Color.Black; this.okButton.Location = new System.Drawing.Point(47, 245); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs index 2529e10..5634000 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -51,6 +51,37 @@ namespace Histacom2.OS.Win95.Win95Apps case "insidepc": comboBox1.SelectedItem = "Inside Your Computer"; break; + case "default95plus": + comboBox1.SelectedItem = "Windows 95 Default Plus"; + break; + case "goldenera": + comboBox1.SelectedItem = "The Golden Era"; + break; + case "Leo": + comboBox1.SelectedItem = "Leonardo da Vinci"; + break; + case "Mystery": + comboBox1.SelectedItem = "Mystery"; + break; + case "Nature": + comboBox1.SelectedItem = "Nature"; + break; + case "Science": + comboBox1.SelectedItem = "Science"; + break; + case "Sports": + comboBox1.SelectedItem = "Sports"; + break; + case "The60": + comboBox1.SelectedItem = "The 60's USA"; + break; + case "Travel": + comboBox1.SelectedItem = "Travel"; + break; + case "MoreWin": + comboBox1.SelectedItem = "More Windows"; + break; + } } -- cgit v1.2.3 From c2c493e1f39897daadc4b035d5371faf0bf1cb45 Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 22:23:33 -0400 Subject: added in the validating for the themes --- Histacom2.Engine/Theme.cs | 40 ++++++++--------- .../OS/Win95/Win95Apps/WinClassicThemePanel.cs | 50 ++++++++++++++++++++++ 2 files changed, 70 insertions(+), 20 deletions(-) (limited to 'Histacom2.Engine/Theme.cs') diff --git a/Histacom2.Engine/Theme.cs b/Histacom2.Engine/Theme.cs index defe419..c6bba98 100644 --- a/Histacom2.Engine/Theme.cs +++ b/Histacom2.Engine/Theme.cs @@ -171,9 +171,9 @@ namespace Histacom2.Engine } } - public class Default95Plus : Theme + public class Default95PlusTheme : Theme { - public Default95Plus() + public Default95PlusTheme() { startSound = Properties.Resources.Win95PlusDefaultStop; stopSound = Properties.Resources.Win95PlusDefaultStop; @@ -204,9 +204,9 @@ namespace Histacom2.Engine } } - public class GoldenEra : Theme + public class GoldenEraTheme : Theme { - public GoldenEra() + public GoldenEraTheme() { startSound = Properties.Resources.Win95PlusGoldenEraStop; stopSound = Properties.Resources.Win95PlusGoldenEraStop; @@ -238,9 +238,9 @@ namespace Histacom2.Engine } - public class Leo : Theme + public class LeoTheme : Theme { - public Leo() + public LeoTheme() { startSound = Properties.Resources.Win95PlusLeoStart; stopSound = Properties.Resources.Win95PlusLeoStart; @@ -271,9 +271,9 @@ namespace Histacom2.Engine } } - public class Mystery : Theme + public class MysteryTheme : Theme { - public Mystery() + public MysteryTheme() { startSound = Properties.Resources.Win95PlusMysteryStart; stopSound = Properties.Resources.Win95PlusMysteryStop; @@ -304,9 +304,9 @@ namespace Histacom2.Engine } } - public class Nature : Theme + public class NatureTheme : Theme { - public Nature() + public NatureTheme() { startSound = Properties.Resources.Win95PlusNatureStart; stopSound = Properties.Resources.Win95PlusNatureStop; @@ -337,9 +337,9 @@ namespace Histacom2.Engine } } - public class Science : Theme + public class ScienceTheme : Theme { - public Science() + public ScienceTheme() { startSound = Properties.Resources.Win95PlusScienceStart; stopSound = Properties.Resources.Win95PlusScienceStop; @@ -370,9 +370,9 @@ namespace Histacom2.Engine } } - public class Sports : Theme + public class SportsTheme : Theme { - public Sports() + public SportsTheme() { startSound = Properties.Resources.Win95PlusSportsStart; stopSound = Properties.Resources.Win95PlusSportsStop; @@ -403,9 +403,9 @@ namespace Histacom2.Engine } } - public class The60 : Theme + public class The60Theme : Theme { - public The60() + public The60Theme() { startSound = Properties.Resources.Win95PlusThe60Start; stopSound = Properties.Resources.Win95PlusThe60Stop; @@ -436,9 +436,9 @@ namespace Histacom2.Engine } } - public class Travel : Theme + public class TravelTheme : Theme { - public Travel() + public TravelTheme() { startSound = Properties.Resources.Win95PlusTravelStart; stopSound = Properties.Resources.Win95PlusTravelStop; @@ -469,9 +469,9 @@ namespace Histacom2.Engine } } - public class MoreWin : Default95Plus + public class MoreWinTheme : Default95PlusTheme { - public MoreWin() + public MoreWinTheme() { defaultWallpaper = Properties.Resources.Win95PlusMoreWin; themeName = "MoreWin"; diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs index ca23b2b..a086f51 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -150,6 +150,56 @@ namespace Histacom2.OS.Win95.Win95Apps SaveSystem.currentTheme = new InsideComputerTheme(); TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; + case "Windows 95 Default Plus": + SaveSystem.CurrentSave.ThemeName = "default95plus"; + SaveSystem.currentTheme = new Default95PlusTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "The Golden Era": + SaveSystem.CurrentSave.ThemeName = "goldenera"; + SaveSystem.currentTheme = new GoldenEraTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Leonardo da Vinci": + SaveSystem.CurrentSave.ThemeName = "Leo"; + SaveSystem.currentTheme = new LeoTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Mystery": + SaveSystem.CurrentSave.ThemeName = "Mystery"; + SaveSystem.currentTheme = new MysteryTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Nature": + SaveSystem.CurrentSave.ThemeName = "Nature"; + SaveSystem.currentTheme = new NatureTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Science": + SaveSystem.CurrentSave.ThemeName = "Science"; + SaveSystem.currentTheme = new ScienceTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Sports": + SaveSystem.CurrentSave.ThemeName = "Sports"; + SaveSystem.currentTheme = new SportsTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "The 60's USA": + SaveSystem.CurrentSave.ThemeName = "The60"; + SaveSystem.currentTheme = new The60Theme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Travel": + SaveSystem.CurrentSave.ThemeName = "Travel"; + SaveSystem.currentTheme = new TravelTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "More Windows": + SaveSystem.CurrentSave.ThemeName = "MoreWin"; + SaveSystem.currentTheme = new MoreWinTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; } foreach (Form f in Application.OpenForms) { -- cgit v1.2.3