2 // System.Drawing.SystemColors.cs
5 // Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 // (C) 2002 Ximian, Inc (http://www.ximian.com)
9 // Generated using a slightly modified version of the program listed inside comments
14 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
16 // Permission is hereby granted, free of charge, to any person obtaining
17 // a copy of this software and associated documentation files (the
18 // "Software"), to deal in the Software without restriction, including
19 // without limitation the rights to use, copy, modify, merge, publish,
20 // distribute, sublicense, and/or sell copies of the Software, and to
21 // permit persons to whom the Software is furnished to do so, subject to
22 // the following conditions:
24 // The above copyright notice and this permission notice shall be
25 // included in all copies or substantial portions of the Software.
27 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
29 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
31 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
32 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
33 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
36 namespace System.Drawing {
38 public sealed class SystemColors
41 private SystemColors ()
45 static public Color ActiveBorder
48 return Color.FromArgbSystem (255, 131, 153, 177, "ActiveBorder", KnownColor.ActiveBorder);
52 static public Color ActiveCaption
55 return Color.FromArgbSystem (255, 79, 101, 125, "ActiveCaption", KnownColor.ActiveCaption);
59 static public Color ActiveCaptionText
62 return Color.FromArgbSystem (255, 255, 255, 255, "ActiveCaptionText", KnownColor.ActiveCaptionText);
66 static public Color AppWorkspace
69 return Color.FromArgbSystem (255, 128, 128, 128, "AppWorkspace", KnownColor.AppWorkspace);
73 static public Color Control
76 return Color.FromArgbSystem (255, 192, 192, 192, "Control", KnownColor.Control);
80 static public Color ControlDark
83 return Color.FromArgbSystem (255, 79, 101, 125, "ControlDark", KnownColor.ControlDark);
87 static public Color ControlDarkDark
90 return Color.FromArgbSystem (255, 0, 0, 0, "ControlDarkDark", KnownColor.ControlDarkDark);
94 static public Color ControlLight
97 return Color.FromArgbSystem (255, 131, 153, 177, "ControlLight", KnownColor.ControlLight);
101 static public Color ControlLightLight
104 return Color.FromArgbSystem (255, 193, 204, 217, "ControlLightLight", KnownColor.ControlLightLight);
108 static public Color ControlText
111 return Color.FromArgbSystem (255, 0, 0, 0, "ControlText", KnownColor.ControlText);
115 static public Color Desktop
118 return Color.FromArgbSystem (255, 0, 0, 0, "Desktop", KnownColor.Desktop);
122 static public Color GrayText
125 return Color.FromArgbSystem (255, 79, 101, 125, "GrayText", KnownColor.GrayText);
129 static public Color Highlight
132 return Color.FromArgbSystem (255, 79, 101, 125, "Highlight", KnownColor.Highlight);
136 static public Color HighlightText
139 return Color.FromArgbSystem (255, 255, 255, 255, "HighlightText", KnownColor.HighlightText);
143 static public Color HotTrack
146 return Color.FromArgbSystem (255, 0, 0, 255, "HotTrack", KnownColor.HotTrack);
150 static public Color InactiveBorder
153 return Color.FromArgbSystem (255, 131, 153, 177, "InactiveBorder", KnownColor.InactiveBorder);
157 static public Color InactiveCaption
160 return Color.FromArgbSystem (255, 128, 128, 128, "InactiveCaption", KnownColor.InactiveCaption);
164 static public Color InactiveCaptionText
167 return Color.FromArgbSystem (255, 193, 204, 217, "InactiveCaptionText", KnownColor.InactiveCaptionText);
171 static public Color Info
174 return Color.FromArgbSystem (255, 255, 255, 255, "Info", KnownColor.Info);
178 static public Color InfoText
181 return Color.FromArgbSystem (255, 0, 0, 0, "InfoText", KnownColor.InfoText);
185 static public Color Menu
188 return Color.FromArgbSystem (255, 131, 153, 177, "Menu", KnownColor.Menu);
192 static public Color MenuText
195 return Color.FromArgbSystem (255, 0, 0, 0, "MenuText", KnownColor.MenuText);
199 static public Color ScrollBar
202 return Color.FromArgbSystem (255, 193, 204, 217, "ScrollBar", KnownColor.ScrollBar);
206 static public Color Window
209 return Color.FromArgbSystem (255, 255, 255, 255, "Window", KnownColor.Window);
213 static public Color WindowFrame
216 return Color.FromArgbSystem (255, 0, 0, 0, "WindowFrame", KnownColor.WindowFrame);
220 static public Color WindowText
223 return Color.FromArgbSystem (255, 0, 0, 0, "WindowText", KnownColor.WindowText);