Skip to content

Commit

Permalink
* Files
Browse files Browse the repository at this point in the history
  • Loading branch information
PWagner1 committed Nov 12, 2021
1 parent 63bb5ae commit 2ba57bd
Show file tree
Hide file tree
Showing 15 changed files with 91 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public class PaletteOffice2010Black : PaletteOffice2010Base
private static readonly Image _formCloseNormal = Office2010ControlBoxResources._2010ButtonCloseHover;
private static readonly Image _formCloseDisabled = Office2010ControlBoxResources._2010ButtonCloseBlackNormal;
private static readonly Image _formMaximiseNormal = Office2010ControlBoxResources._2010ButtonMaxBlackNormal;
//private static readonly Image _formMaximiseDisabled = null;
private static readonly Image _formMaximiseDisabled = Office2010ControlBoxResources.Office2010BlackControlBoxButtonMaximiseDisabled;
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 = null;
private static readonly Image _formRestoreDisabled = Office2010ControlBoxResources.Office2010BlackControlBoxButtonRestoreDisabled;
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 @@ -619,8 +619,16 @@ public override Image GetButtonSpecImage(PaletteButtonSpecStyle style,
PaletteState.Tracking => _formMinimiseHover,
_ => _formMinimiseDisabled
},
PaletteButtonSpecStyle.FormMax => _formMaximiseNormal,
PaletteButtonSpecStyle.FormRestore => _formRestoreNormal,
PaletteButtonSpecStyle.FormMax => state switch
{
PaletteState.Normal => _formMaximiseNormal,
_ => _formMaximiseNormal
},
PaletteButtonSpecStyle.FormRestore => state switch
{
PaletteState.Normal => _formRestoreNormal,
_ => _formRestoreDisabled
},
PaletteButtonSpecStyle.FormHelp => state switch
{
PaletteState.Tracking => _formHelpHover,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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 @@ -169,6 +169,9 @@
<data name="2010ButtonRestoreBlack" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>2010ButtonRestoreBlack.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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="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 @@ -178,9 +181,15 @@
<data name="Office2010BlackControlBoxButtonMinNormal" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlackControlBoxButtonMinNormal.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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="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="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 @@ -190,9 +199,15 @@
<data name="Office2010BlueControlBoxButtonMinNormal" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010BlueControlBoxButtonMinNormal.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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="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="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 @@ -202,6 +217,9 @@
<data name="Office2010SilverControlBoxButtonMinNormal" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Office2010SilverControlBoxButtonMinNormal.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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="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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ba57bd

Please sign in to comment.