Skip to content

Commit 358d63b

Browse files
committed
Renamed Office2010Blue to Standard.
1 parent fd99bbb commit 358d63b

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

Source/Clients/NostalgicPlayer/Bases/WindowFormBase2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
using Polycode.NostalgicPlayer.Client.GuiPlayer.MainWindow;
1111
using Polycode.NostalgicPlayer.Controls.Forms;
1212
using Polycode.NostalgicPlayer.Controls.Theme;
13-
using Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue;
1413
using Polycode.NostalgicPlayer.Controls.Theme.Purple;
14+
using Polycode.NostalgicPlayer.Controls.Theme.Standard;
1515
using Polycode.NostalgicPlayer.Kit.Helpers;
1616
using Polycode.NostalgicPlayer.Kit.Utility;
1717

@@ -207,7 +207,7 @@ protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
207207
case Keys.F12:
208208
{
209209
theme = !theme;
210-
ThemeManagerFactory.GetThemeManager().SwitchTheme(theme ? new PurpleTheme() : new Office2010BlueTheme());
210+
ThemeManagerFactory.GetThemeManager().SwitchTheme(theme ? new PurpleTheme() : new StandardTheme());
211211

212212
return true;
213213
}

Source/NostalgicPlayer.Controls/Theme/Office2010Blue/Office2010BlueButtonColors.cs renamed to Source/NostalgicPlayer.Controls/Theme/Standard/StandardButtonColors.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
using System.Drawing;
77
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
88

9-
namespace Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue
9+
namespace Polycode.NostalgicPlayer.Controls.Theme.Standard
1010
{
1111
/// <summary>
1212
/// Different colors used by buttons
1313
/// </summary>
14-
internal class Office2010BlueButtonColors : IButtonColors
14+
internal class StandardButtonColors : IButtonColors
1515
{
1616
private static readonly Color normalBorderColor = Color.FromArgb(171, 186, 208);
1717
private static readonly Color normalBackgroundStartColor = Color.FromArgb(225, 237, 250);

Source/NostalgicPlayer.Controls/Theme/Office2010Blue/Office2010BlueComboBoxColors.cs renamed to Source/NostalgicPlayer.Controls/Theme/Standard/StandardComboBoxColors.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
using System.Drawing;
77
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
88

9-
namespace Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue
9+
namespace Polycode.NostalgicPlayer.Controls.Theme.Standard
1010
{
1111
/// <summary>
1212
/// Different colors used by combo box
1313
/// </summary>
14-
internal class Office2010BlueComboBoxColors : IComboBoxColors
14+
internal class StandardComboBoxColors : IComboBoxColors
1515
{
16-
private readonly IInputControlColors inputControlColors = new Office2010BlueInputControlColors();
17-
private readonly IButtonColors buttonColors = new Office2010BlueButtonColors();
18-
private readonly IListItemColors listColors = new Office2010BlueListColors();
16+
private readonly IInputControlColors inputControlColors = new StandardInputControlColors();
17+
private readonly IButtonColors buttonColors = new StandardButtonColors();
18+
private readonly IListItemColors listColors = new StandardListColors();
1919

2020
/********************************************************************/
2121
/// <summary>

Source/NostalgicPlayer.Controls/Theme/Office2010Blue/Office2010BlueFormColors.cs renamed to Source/NostalgicPlayer.Controls/Theme/Standard/StandardFormColors.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
using System.Drawing;
77
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
88

9-
namespace Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue
9+
namespace Polycode.NostalgicPlayer.Controls.Theme.Standard
1010
{
1111
/// <summary>
1212
/// Different colors used by forms
1313
/// </summary>
14-
internal class Office2010BlueFormColors : IFormColors
14+
internal class StandardFormColors : IFormColors
1515
{
1616
private static readonly Color activatedFormOuterColor = Color.FromArgb(144, 154, 166);
1717
private static readonly Color activatedFormMiddleColor = Color.FromArgb(212, 230, 245);

Source/NostalgicPlayer.Controls/Theme/Office2010Blue/Office2010BlueInputControlColors.cs renamed to Source/NostalgicPlayer.Controls/Theme/Standard/StandardInputControlColors.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
using System.Drawing;
77
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
88

9-
namespace Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue
9+
namespace Polycode.NostalgicPlayer.Controls.Theme.Standard
1010
{
11-
internal class Office2010BlueInputControlColors : IInputControlColors
11+
internal class StandardInputControlColors : IInputControlColors
1212
{
1313
private static readonly Color normalBorderColor = Color.FromArgb(177, 192, 214);
1414
private static readonly Color normalBackgroundColor = Color.FromArgb(255, 255, 255);

Source/NostalgicPlayer.Controls/Theme/Office2010Blue/Office2010BlueListColors.cs renamed to Source/NostalgicPlayer.Controls/Theme/Standard/StandardListColors.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
using System.Drawing;
77
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
88

9-
namespace Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue
9+
namespace Polycode.NostalgicPlayer.Controls.Theme.Standard
1010
{
1111
/// <summary>
1212
/// Different colors used by combo box
1313
/// </summary>
14-
internal class Office2010BlueListColors : IListItemColors
14+
internal class StandardListColors : IListItemColors
1515
{
1616
private static readonly Color normalBackgroundStartColor = Color.FromArgb(255, 255, 255);
1717
private static readonly Color normalBackgroundMiddleColor = Color.FromArgb(255, 255, 255);

Source/NostalgicPlayer.Controls/Theme/Office2010Blue/Office2010BlueTheme.cs renamed to Source/NostalgicPlayer.Controls/Theme/Standard/StandardTheme.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@
66
using System;
77
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
88

9-
namespace Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue
9+
namespace Polycode.NostalgicPlayer.Controls.Theme.Standard
1010
{
1111
/// <summary></summary>
12-
public class Office2010BlueTheme : ITheme, IDisposable
12+
public class StandardTheme : ITheme, IDisposable
1313
{
1414
private StandardFonts standardFonts;
1515

16-
private static readonly Office2010BlueFormColors formColors = new Office2010BlueFormColors();
17-
private static readonly Office2010BlueButtonColors buttonColors = new Office2010BlueButtonColors();
18-
private static readonly Office2010BlueComboBoxColors comboBoxColors = new Office2010BlueComboBoxColors();
16+
private static readonly StandardFormColors formColors = new StandardFormColors();
17+
private static readonly StandardButtonColors buttonColors = new StandardButtonColors();
18+
private static readonly StandardComboBoxColors comboBoxColors = new StandardComboBoxColors();
1919

2020
/********************************************************************/
2121
/// <summary>
2222
/// Constructor
2323
/// </summary>
2424
/********************************************************************/
25-
public Office2010BlueTheme()
25+
public StandardTheme()
2626
{
2727
standardFonts = new StandardFonts();
2828
}

Source/NostalgicPlayer.Controls/Theme/ThemeManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System;
77
using Polycode.NostalgicPlayer.Controls.Containers.Events;
88
using Polycode.NostalgicPlayer.Controls.Theme.Interfaces;
9-
using Polycode.NostalgicPlayer.Controls.Theme.Office2010Blue;
9+
using Polycode.NostalgicPlayer.Controls.Theme.Standard;
1010

1111
namespace Polycode.NostalgicPlayer.Controls.Theme
1212
{
@@ -26,7 +26,7 @@ internal class ThemeManager : IThemeManager, IDisposable
2626
/********************************************************************/
2727
public ThemeManager()
2828
{
29-
theme = new Office2010BlueTheme();
29+
theme = new StandardTheme();
3030
}
3131

3232

0 commit comments

Comments
 (0)