2007-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ProfessionalColors.cs
index 8c225052121d2f9e19d292ce7f0b1150c0c36c8c..f82bda74560d480b17791439231e61270e053494 100644 (file)
-//\r
-// ProfessionalColors.cs\r
-//\r
-// Permission is hereby granted, free of charge, to any person obtaining\r
-// a copy of color_table software and associated documentation files (the\r
-// "Software"), to deal in the Software without restriction, including\r
-// without limitation the rights to use, copy, modify, merge, publish,\r
-// distribute, sublicense, and/or sell copies of the Software, and to\r
-// permit persons to whom the Software is furnished to do so, subject to\r
-// the following conditions:\r
-// \r
-// The above copyright notice and color_table permission notice shall be\r
-// included in all copies or substantial portions of the Software.\r
-// \r
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
-//\r
-// Copyright (c) 2006 Novell, Inc.\r
-//\r
-// Authors:\r
-//     Jonathan Pobst (monkey@jpobst.com)\r
-//\r
-\r
-#if NET_2_0\r
-using System.Drawing;\r
-using System.Windows.Forms.VisualStyles;\r
-\r
-namespace System.Windows.Forms\r
-{\r
-       public sealed class ProfessionalColors\r
-       {\r
-               private static ProfessionalColorTable color_table = new ProfessionalColorTable();\r
-\r
-               #region Private Constructor\r
-               private ProfessionalColors () {}\r
-               #endregion\r
-               \r
-               #region Static Properties\r
-               public static Color ButtonCheckedGradientBegin { get { return color_table.ButtonCheckedGradientBegin; } }\r
-               public static Color ButtonCheckedGradientEnd { get { return color_table.ButtonCheckedGradientEnd; } }\r
-               public static Color ButtonCheckedGradientMiddle { get { return color_table.ButtonCheckedGradientMiddle; } }\r
-               public static Color ButtonCheckedHighlight { get { return color_table.ButtonCheckedHighlight; } }\r
-               public static Color ButtonCheckedHighlightBorder { get { return color_table.ButtonCheckedHighlightBorder; } }\r
-               public static Color ButtonPressedBorder { get { return color_table.ButtonPressedBorder; } }\r
-               public static Color ButtonPressedGradientBegin { get { return color_table.ButtonPressedGradientBegin; } }\r
-               public static Color ButtonPressedGradientEnd { get { return color_table.ButtonPressedGradientEnd; } }\r
-               public static Color ButtonPressedGradientMiddle { get { return color_table.ButtonPressedGradientMiddle; } }\r
-               public static Color ButtonPressedHighlight { get { return color_table.ButtonPressedHighlight; } }\r
-               public static Color ButtonPressedHighlightBorder { get { return color_table.ButtonPressedHighlightBorder; } }\r
-               public static Color ButtonSelectedBorder { get { return color_table.ButtonSelectedBorder; } }\r
-               public static Color ButtonSelectedGradientBegin { get { return color_table.ButtonSelectedGradientBegin; } }\r
-               public static Color ButtonSelectedGradientEnd { get { return color_table.ButtonSelectedGradientEnd; } }\r
-               public static Color ButtonSelectedGradientMiddle { get { return color_table.ButtonSelectedGradientMiddle; } }\r
-               public static Color ButtonSelectedHighlight { get { return color_table.ButtonSelectedHighlight; } }\r
-               public static Color ButtonSelectedHighlightBorder { get { return color_table.ButtonSelectedHighlightBorder; } }\r
-               public static Color CheckBackground { get { return color_table.CheckBackground; } }\r
-               public static Color CheckPressedBackground { get { return color_table.CheckPressedBackground; } }\r
-               public static Color CheckSelectedBackground { get { return color_table.CheckSelectedBackground; } }\r
-               public static Color GripDark { get { return color_table.GripDark; } }\r
-               public static Color GripLight { get { return color_table.GripLight; } }\r
-               public static Color ImageMarginGradientBegin { get { return color_table.ImageMarginGradientBegin; } }\r
-               public static Color ImageMarginGradientEnd { get { return color_table.ImageMarginGradientEnd; } }\r
-               public static Color ImageMarginGradientMiddle { get { return color_table.ImageMarginGradientMiddle; } }\r
-               public static Color ImageMarginRevealedGradientBegin { get { return color_table.ImageMarginRevealedGradientBegin; } }\r
-               public static Color ImageMarginRevealedGradientEnd { get { return color_table.ImageMarginRevealedGradientEnd; } }\r
-               public static Color ImageMarginRevealedGradientMiddle { get { return color_table.ImageMarginRevealedGradientMiddle; } }\r
-               public static Color MenuBorder { get { return color_table.MenuBorder; } }\r
-               public static Color MenuItemBorder { get { return color_table.MenuItemBorder; } }\r
-               public static Color MenuItemPressedGradientBegin { get { return color_table.MenuItemPressedGradientBegin; } }\r
-               public static Color MenuItemPressedGradientEnd { get { return color_table.MenuItemPressedGradientEnd; } }\r
-               public static Color MenuItemPressedGradientMiddle { get { return color_table.MenuItemPressedGradientMiddle; } }\r
-               public static Color MenuItemSelected { get { return color_table.MenuItemSelected; } }\r
-               public static Color MenuItemSelectedGradientBegin { get { return color_table.MenuItemSelectedGradientBegin; } }\r
-               public static Color MenuItemSelectedGradientEnd { get { return color_table.MenuItemSelectedGradientEnd; } }\r
-               public static Color MenuStripGradientBegin { get { return color_table.MenuStripGradientBegin; } }\r
-               public static Color MenuStripGradientEnd { get { return color_table.MenuStripGradientEnd; } }\r
-               public static Color OverflowButtonGradientBegin { get { return color_table.OverflowButtonGradientBegin; } }\r
-               public static Color OverflowButtonGradientEnd { get { return color_table.OverflowButtonGradientEnd; } }\r
-               public static Color OverflowButtonGradientMiddle { get { return color_table.OverflowButtonGradientMiddle; } }\r
-               public static Color RaftingContainerGradientBegin { get { return color_table.RaftingContainerGradientBegin; } }\r
-               public static Color RaftingContainerGradientEnd { get { return color_table.RaftingContainerGradientEnd; } }\r
-               public static Color SeparatorDark { get { return color_table.SeparatorDark; } }\r
-               public static Color SeparatorLight { get { return color_table.SeparatorLight; } }\r
-               public static Color StatusStripGradientBegin { get { return color_table.StatusStripGradientBegin; } }\r
-               public static Color StatusStripGradientEnd { get { return color_table.StatusStripGradientEnd; } }\r
-               public static Color ToolStripBorder { get { return color_table.ToolStripBorder; } }\r
-               public static Color ToolStripContentPanelGradientBegin { get { return color_table.ToolStripContentPanelGradientBegin; } }\r
-               public static Color ToolStripContentPanelGradientEnd { get { return color_table.ToolStripContentPanelGradientEnd; } }\r
-               public static Color ToolStripDropDownBackground { get { return color_table.ToolStripDropDownBackground; } }\r
-               public static Color ToolStripGradientBegin { get { return color_table.ToolStripGradientBegin; } }\r
-               public static Color ToolStripGradientEnd { get { return color_table.ToolStripGradientEnd; } }\r
-               public static Color ToolStripGradientMiddle { get { return color_table.ToolStripGradientMiddle; } }\r
-               public static Color ToolStripPanelGradientBegin { get { return color_table.ToolStripPanelGradientBegin; } }\r
-               public static Color ToolStripPanelGradientEnd { get { return color_table.ToolStripPanelGradientEnd; } }\r
-               #endregion\r
-       }\r
-}\r
+//
+// ProfessionalColors.cs
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of color_table software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and color_table permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2006 Novell, Inc.
+//
+// Authors:
+//     Jonathan Pobst (monkey@jpobst.com)
+//
+
+#if NET_2_0
+using System.Drawing;
+using System.Windows.Forms.VisualStyles;
+
+namespace System.Windows.Forms
+{
+       public sealed class ProfessionalColors
+       {
+               private static ProfessionalColorTable color_table = new ProfessionalColorTable();
+
+               #region Private Constructor
+               private ProfessionalColors () {}
+               #endregion
+               
+               #region Static Properties
+               public static Color ButtonCheckedGradientBegin { get { return color_table.ButtonCheckedGradientBegin; } }
+               public static Color ButtonCheckedGradientEnd { get { return color_table.ButtonCheckedGradientEnd; } }
+               public static Color ButtonCheckedGradientMiddle { get { return color_table.ButtonCheckedGradientMiddle; } }
+               public static Color ButtonCheckedHighlight { get { return color_table.ButtonCheckedHighlight; } }
+               public static Color ButtonCheckedHighlightBorder { get { return color_table.ButtonCheckedHighlightBorder; } }
+               public static Color ButtonPressedBorder { get { return color_table.ButtonPressedBorder; } }
+               public static Color ButtonPressedGradientBegin { get { return color_table.ButtonPressedGradientBegin; } }
+               public static Color ButtonPressedGradientEnd { get { return color_table.ButtonPressedGradientEnd; } }
+               public static Color ButtonPressedGradientMiddle { get { return color_table.ButtonPressedGradientMiddle; } }
+               public static Color ButtonPressedHighlight { get { return color_table.ButtonPressedHighlight; } }
+               public static Color ButtonPressedHighlightBorder { get { return color_table.ButtonPressedHighlightBorder; } }
+               public static Color ButtonSelectedBorder { get { return color_table.ButtonSelectedBorder; } }
+               public static Color ButtonSelectedGradientBegin { get { return color_table.ButtonSelectedGradientBegin; } }
+               public static Color ButtonSelectedGradientEnd { get { return color_table.ButtonSelectedGradientEnd; } }
+               public static Color ButtonSelectedGradientMiddle { get { return color_table.ButtonSelectedGradientMiddle; } }
+               public static Color ButtonSelectedHighlight { get { return color_table.ButtonSelectedHighlight; } }
+               public static Color ButtonSelectedHighlightBorder { get { return color_table.ButtonSelectedHighlightBorder; } }
+               public static Color CheckBackground { get { return color_table.CheckBackground; } }
+               public static Color CheckPressedBackground { get { return color_table.CheckPressedBackground; } }
+               public static Color CheckSelectedBackground { get { return color_table.CheckSelectedBackground; } }
+               public static Color GripDark { get { return color_table.GripDark; } }
+               public static Color GripLight { get { return color_table.GripLight; } }
+               public static Color ImageMarginGradientBegin { get { return color_table.ImageMarginGradientBegin; } }
+               public static Color ImageMarginGradientEnd { get { return color_table.ImageMarginGradientEnd; } }
+               public static Color ImageMarginGradientMiddle { get { return color_table.ImageMarginGradientMiddle; } }
+               public static Color ImageMarginRevealedGradientBegin { get { return color_table.ImageMarginRevealedGradientBegin; } }
+               public static Color ImageMarginRevealedGradientEnd { get { return color_table.ImageMarginRevealedGradientEnd; } }
+               public static Color ImageMarginRevealedGradientMiddle { get { return color_table.ImageMarginRevealedGradientMiddle; } }
+               public static Color MenuBorder { get { return color_table.MenuBorder; } }
+               public static Color MenuItemBorder { get { return color_table.MenuItemBorder; } }
+               public static Color MenuItemPressedGradientBegin { get { return color_table.MenuItemPressedGradientBegin; } }
+               public static Color MenuItemPressedGradientEnd { get { return color_table.MenuItemPressedGradientEnd; } }
+               public static Color MenuItemPressedGradientMiddle { get { return color_table.MenuItemPressedGradientMiddle; } }
+               public static Color MenuItemSelected { get { return color_table.MenuItemSelected; } }
+               public static Color MenuItemSelectedGradientBegin { get { return color_table.MenuItemSelectedGradientBegin; } }
+               public static Color MenuItemSelectedGradientEnd { get { return color_table.MenuItemSelectedGradientEnd; } }
+               public static Color MenuStripGradientBegin { get { return color_table.MenuStripGradientBegin; } }
+               public static Color MenuStripGradientEnd { get { return color_table.MenuStripGradientEnd; } }
+               public static Color OverflowButtonGradientBegin { get { return color_table.OverflowButtonGradientBegin; } }
+               public static Color OverflowButtonGradientEnd { get { return color_table.OverflowButtonGradientEnd; } }
+               public static Color OverflowButtonGradientMiddle { get { return color_table.OverflowButtonGradientMiddle; } }
+               public static Color RaftingContainerGradientBegin { get { return color_table.RaftingContainerGradientBegin; } }
+               public static Color RaftingContainerGradientEnd { get { return color_table.RaftingContainerGradientEnd; } }
+               public static Color SeparatorDark { get { return color_table.SeparatorDark; } }
+               public static Color SeparatorLight { get { return color_table.SeparatorLight; } }
+               public static Color StatusStripGradientBegin { get { return color_table.StatusStripGradientBegin; } }
+               public static Color StatusStripGradientEnd { get { return color_table.StatusStripGradientEnd; } }
+               public static Color ToolStripBorder { get { return color_table.ToolStripBorder; } }
+               public static Color ToolStripContentPanelGradientBegin { get { return color_table.ToolStripContentPanelGradientBegin; } }
+               public static Color ToolStripContentPanelGradientEnd { get { return color_table.ToolStripContentPanelGradientEnd; } }
+               public static Color ToolStripDropDownBackground { get { return color_table.ToolStripDropDownBackground; } }
+               public static Color ToolStripGradientBegin { get { return color_table.ToolStripGradientBegin; } }
+               public static Color ToolStripGradientEnd { get { return color_table.ToolStripGradientEnd; } }
+               public static Color ToolStripGradientMiddle { get { return color_table.ToolStripGradientMiddle; } }
+               public static Color ToolStripPanelGradientBegin { get { return color_table.ToolStripPanelGradientBegin; } }
+               public static Color ToolStripPanelGradientEnd { get { return color_table.ToolStripPanelGradientEnd; } }
+               #endregion
+       }
+}
 #endif
\ No newline at end of file