diff options
| author | lempamo <[email protected]> | 2017-07-31 15:41:37 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-31 15:41:37 -0400 |
| commit | 849fd00fa71d48dbfae1f4bcc6c016be3031cba5 (patch) | |
| tree | 4b22e2f0b68e5429c1f2149d8557dd081f7ad36b /TimeHACK.Main | |
| parent | 10ae6bcf8fc9168bfda105de31b9525ec34d1b3d (diff) | |
| download | histacom2-849fd00fa71d48dbfae1f4bcc6c016be3031cba5.tar.gz histacom2-849fd00fa71d48dbfae1f4bcc6c016be3031cba5.tar.bz2 histacom2-849fd00fa71d48dbfae1f4bcc6c016be3031cba5.zip | |
forgot to add to the ok button :stuck_out_tongue:
Diffstat (limited to 'TimeHACK.Main')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs index cfb9347..205da5d 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -122,6 +122,22 @@ namespace TimeHACK.OS.Win95.Win95Apps TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; } + foreach (Form f in Application.OpenForms) + { + if (f is WinClassic) + { + if (((WinClassic)f).isActive) + { + ((WinClassic)f).programtopbar.BackColor = SaveSystem.currentTheme.activeTitleBarColor; + ((WinClassic)f).Title.ForeColor = SaveSystem.currentTheme.activeTitleTextColor; + } + else + { + ((WinClassic)f).programtopbar.BackColor = SaveSystem.currentTheme.inactiveTitleBarColor; + ((WinClassic)f).Title.ForeColor = SaveSystem.currentTheme.inactiveTitleTextColor; + } + } + } ParentForm.Close(); } } |
