Skip to content

Commit

Permalink
* Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
PWagner1 committed Nov 13, 2021
1 parent 2ba57bd commit a2d66a7
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ public class PaletteOffice2010Black : PaletteOffice2010Base
private static readonly Image _formCloseDisabled = Office2010ControlBoxResources._2010ButtonCloseBlackNormal;
private static readonly Image _formMaximiseNormal = Office2010ControlBoxResources._2010ButtonMaxBlackNormal;
private static readonly Image _formMaximiseDisabled = Office2010ControlBoxResources.Office2010BlackControlBoxButtonMaximiseDisabled;
private static readonly Image _formMaximiseHover = Office2010ControlBoxResources.Office2010BlackControlBoxButtonMaximiseHover;
private static readonly Image _formMinimiseNormal = Office2010ControlBoxResources.Office2010BlackControlBoxButtonMinNormal;
private static readonly Image _formMinimiseHover = Office2010ControlBoxResources.Office2010BlackControlBoxButtonMinHover;
private static readonly Image _formMinimiseDisabled = Office2010ControlBoxResources.Office2010BlackControlBoxButtonMinDisabled;
private static readonly Image _formRestoreNormal = Office2010ControlBoxResources._2010ButtonRestore;
private static readonly Image _formRestoreDisabled = Office2010ControlBoxResources.Office2010BlackControlBoxButtonRestoreDisabled;
private static readonly Image _formRestoreHover = Office2010ControlBoxResources.Office2010BlackControlBoxButtonRestoreHover;
private static readonly Image _formHelpNormal = HelpIconResources.GenericOffice2010HelpIconBlack;
private static readonly Image _formHelpHover = HelpIconResources.GenericOffice2010HelpIconHover;
private static readonly Image _formHelpDisabled = HelpIconResources.GenericOffice2010HelpIconDisabled;
Expand Down Expand Up @@ -622,11 +624,13 @@ public override Image GetButtonSpecImage(PaletteButtonSpecStyle style,
PaletteButtonSpecStyle.FormMax => state switch
{
PaletteState.Normal => _formMaximiseNormal,
_ => _formMaximiseNormal
PaletteState.Tracking => _formMaximiseHover,
_ => _formMaximiseDisabled
},
PaletteButtonSpecStyle.FormRestore => state switch
{
PaletteState.Normal => _formRestoreNormal,
PaletteState.Tracking => _formRestoreHover,
_ => _formRestoreDisabled
},
PaletteButtonSpecStyle.FormHelp => state switch
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV), et al. 2017 - 2021. All rights reserved.
*
*/
#endregion

namespace Krypton.Toolkit
{
public class PaletteOffice2013DarkGray : PaletteOffice2013Base
{
public PaletteOffice2013DarkGray(Color[] schemeColors, ImageList checkBoxList, ImageList galleryButtonList, Image[] radioButtonArray, Color[] trackBarColors) : base(schemeColors, checkBoxList, galleryButtonList, radioButtonArray, trackBarColors)
{
}

public override Image GetContextMenuSubMenuImage()
{
throw new NotImplementedException();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#region BSD License
/*
*
* Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
* © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved.
*
* New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE)
* Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV), et al. 2017 - 2021. All rights reserved.
*
*/
#endregion

namespace Krypton.Toolkit
{
public class PaletteOffice2013LightGray : PaletteOffice2013Base
{
public PaletteOffice2013LightGray(Color[] schemeColors, ImageList checkBoxList, ImageList galleryButtonList, Image[] radioButtonArray, Color[] trackBarColors) : base(schemeColors, checkBoxList, galleryButtonList, radioButtonArray, trackBarColors)
{
}

public override Image GetContextMenuSubMenuImage()
{
throw new NotImplementedException();
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
<data name="Office2010BlackControlBoxButtonMaximiseDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackControlBoxButtonMaximiseDisabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlackControlBoxButtonMaximiseHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackControlBoxButtonMaximiseHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlackControlBoxButtonMinDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackControlBoxButtonMinDisabled.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Expand All @@ -184,12 +187,18 @@
<data name="Office2010BlackControlBoxButtonRestoreDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackControlBoxButtonRestoreDisabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlackControlBoxButtonRestoreHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackControlBoxButtonRestoreHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlackMinimiseDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackMinimiseDisabled.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlueControlBoxButtonMaximiseDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueControlBoxButtonMaximiseDisabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlueControlBoxButtonMaximiseHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueControlBoxButtonMaximiseHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlueControlBoxButtonMinDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueControlBoxButtonMinDisabled.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Expand All @@ -202,12 +211,18 @@
<data name="Office2010BlueControlBoxButtonRestoreDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueControlBoxButtonRestoreDisabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlueControlBoxButtonRestoreHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueControlBoxButtonRestoreHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010BlueMinimiseDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueMinimiseDisabled.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010SilverControlBoxButtonMaximiseDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverControlBoxButtonMaximiseDisabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010SilverControlBoxButtonMaximiseHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverControlBoxButtonMaximiseHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010SilverControlBoxButtonMinDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverControlBoxButtonMinDisabled.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Expand All @@ -220,6 +235,9 @@
<data name="Office2010SilverControlBoxButtonRestoreDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverControlBoxButtonRestoreDisabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010SilverControlBoxButtonRestoreHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverControlBoxButtonRestoreHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Office2010SilverMinimiseDisabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverMinimiseDisabled.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Expand Down

0 comments on commit a2d66a7

Please sign in to comment.