2 // System.Windows.Forms.ControlPaint.cs
\r
5 // stubbed out by Jaak Simm (jaaksimm@firm.ee)
\r
7 // (C) Ximian, Inc 2002
\r
11 using System.Drawing;
\r
13 namespace System.Windows.Forms
\r
16 /// Provides methods used to paint common Windows controls and their elements.
\r
19 /// - Nothing is implemented
\r
23 public sealed class ControlPaint
\r
25 // #region Properties
\r
27 // public static Color ContrastControlDark
\r
29 // get { throw new NotImplementedException (); }
\r
36 // /// following methods were not stubbed out, because they only support .NET framework:
\r
37 // /// - public static IntPtr CreateHBitmap16Bit(Bitmap bitmap,Color background)
\r
38 // /// - public static IntPtr CreateHBitmapColorMask(Bitmap bitmap,IntPtr monochromeMask);
\r
39 // /// - public static IntPtr CreateHBitmapTransparencyMask(Bitmap bitmap);
\r
41 // public static Color Dark(Color baseColor) {
\r
42 // throw new NotImplementedException ();
\r
46 // public static Color Dark(Color baseColor,float percOfDarkDark) {
\r
47 // throw new NotImplementedException ();
\r
51 // public static Color DarkDark(Color baseColor) {
\r
52 // throw new NotImplementedException ();
\r
56 // public static void DrawBorder(
\r
57 // Graphics graphics,
\r
58 // Rectangle bounds,
\r
60 // ButtonBorderStyle style) {
\r
61 // throw new NotImplementedException ();
\r
65 // public static void DrawBorder(
\r
66 // Graphics graphics,
\r
67 // Rectangle bounds,
\r
70 // ButtonBorderStyle leftStyle,
\r
73 // ButtonBorderStyle topStyle,
\r
74 // Color rightColor,
\r
76 // ButtonBorderStyle rightStyle,
\r
77 // Color bottomColor,
\r
79 // ButtonBorderStyle bottomStyle)
\r
81 // throw new NotImplementedException ();
\r
85 // public static void DrawBorder3D(
\r
86 // Graphics graphics,
\r
87 // Rectangle rectangle)
\r
89 // throw new NotImplementedException ();
\r
93 // public static void DrawBorder3D(
\r
94 // Graphics graphics,
\r
95 // Rectangle rectangle,
\r
96 // Border3DStyle style)
\r
98 // throw new NotImplementedException ();
\r
102 // public static void DrawBorder3D(
\r
103 // Graphics graphics,
\r
104 // Rectangle rectangle,
\r
105 // Border3DStyle style,
\r
106 // Border3DSide sides)
\r
108 // throw new NotImplementedException ();
\r
112 // public static void DrawBorder3D(
\r
113 // Graphics graphics,
\r
119 // throw new NotImplementedException ();
\r
123 // public static void DrawBorder3D(
\r
124 // Graphics graphics,
\r
129 // Border3DStyle style)
\r
131 // throw new NotImplementedException ();
\r
135 // public static void DrawBorder3D(
\r
136 // Graphics graphics,
\r
141 // Border3DStyle style,
\r
142 // Border3DSide sides)
\r
144 // throw new NotImplementedException ();
\r
148 // public static void DrawButton(
\r
149 // Graphics graphics,
\r
150 // Rectangle rectangle,
\r
151 // ButtonState state)
\r
153 // throw new NotImplementedException ();
\r
157 // public static void DrawButton(
\r
158 // Graphics graphics,
\r
163 // ButtonState state)
\r
165 // throw new NotImplementedException ();
\r
169 // public static void DrawCaptionButton(
\r
170 // Graphics graphics,
\r
171 // Rectangle rectangle,
\r
172 // CaptionButton button,
\r
173 // ButtonState state) {
\r
174 // throw new NotImplementedException ();
\r
178 // public static void DrawCaptionButton(
\r
179 // Graphics graphics,
\r
184 // CaptionButton button,
\r
185 // ButtonState state)
\r
187 // throw new NotImplementedException ();
\r
191 // public static void DrawCheckBox(
\r
192 // Graphics graphics,
\r
193 // Rectangle rectangle,
\r
194 // ButtonState state)
\r
196 // throw new NotImplementedException ();
\r
200 // public static void DrawCheckBox(
\r
201 // Graphics graphics,
\r
206 // ButtonState state)
\r
208 // throw new NotImplementedException ();
\r
212 // public static void DrawComboButton(
\r
213 // Graphics graphics,
\r
214 // Rectangle rectangle,
\r
215 // ButtonState state)
\r
217 // throw new NotImplementedException ();
\r
221 // public static void DrawComboButton(
\r
222 // Graphics graphics,
\r
227 // ButtonState state)
\r
229 // throw new NotImplementedException ();
\r
233 // public static void DrawContainerGrabHandle(Graphics graphics,Rectangle bounds) {
\r
234 // throw new NotImplementedException ();
\r
238 // public static void DrawFocusRectangle(
\r
239 // Graphics graphics,
\r
240 // Rectangle rectangle)
\r
242 // throw new NotImplementedException ();
\r
246 // public static void DrawFocusRectangle(
\r
247 // Graphics graphics,
\r
248 // Rectangle rectangle,
\r
249 // Color foreColor,
\r
250 // Color backColor) {
\r
251 // throw new NotImplementedException ();
\r
255 // public static void DrawGrabHandle(
\r
256 // Graphics graphics,
\r
257 // Rectangle rectangle,
\r
261 // throw new NotImplementedException ();
\r
265 // public static void DrawGrid(
\r
266 // Graphics graphics,
\r
268 // Size pixelsBetweenDots,
\r
269 // Color backColor)
\r
271 // throw new NotImplementedException ();
\r
275 // public static void DrawImageDisabled(
\r
276 // Graphics graphics,
\r
280 // Color background)
\r
282 // throw new NotImplementedException ();
\r
286 // public static void DrawLockedFrame(
\r
287 // Graphics graphics,
\r
288 // Rectangle rectangle,
\r
291 // throw new NotImplementedException ();
\r
295 // public static void DrawMenuGlyph(
\r
296 // Graphics graphics,
\r
297 // Rectangle rectangle,
\r
298 // MenuGlyph glyph)
\r
300 // throw new NotImplementedException ();
\r
304 // public static void DrawMenuGlyph(
\r
305 // Graphics graphics,
\r
310 // MenuGlyph glyph)
\r
312 // throw new NotImplementedException ();
\r
316 // public static void DrawMixedCheckBox(
\r
317 // Graphics graphics,
\r
318 // Rectangle rectangle,
\r
319 // ButtonState state)
\r
321 // throw new NotImplementedException ();
\r
325 // public static void DrawMixedCheckBox(
\r
326 // Graphics graphics,
\r
331 // ButtonState state)
\r
333 // throw new NotImplementedException ();
\r
337 // public static void DrawRadioButton(
\r
338 // Graphics graphics,
\r
339 // Rectangle rectangle,
\r
340 // ButtonState state)
\r
342 // throw new NotImplementedException ();
\r
346 // public static void DrawRadioButton(
\r
347 // Graphics graphics,
\r
352 // ButtonState state)
\r
354 // throw new NotImplementedException ();
\r
358 // public static void DrawReversibleFrame(
\r
359 // Rectangle rectangle,
\r
360 // Color backColor,
\r
361 // FrameStyle style)
\r
363 // throw new NotImplementedException ();
\r
367 // public static void DrawReversibleLine(
\r
370 // Color backColor)
\r
372 // throw new NotImplementedException ();
\r
376 // public static void DrawScrollButton(
\r
377 // Graphics graphics,
\r
378 // Rectangle rectangle,
\r
379 // ScrollButton button,
\r
380 // ButtonState state)
\r
382 // throw new NotImplementedException ();
\r
386 // public static void DrawScrollButton(
\r
387 // Graphics graphics,
\r
392 // ScrollButton button,
\r
393 // ButtonState state)
\r
395 // throw new NotImplementedException ();
\r
399 // public static void DrawSelectionFrame(
\r
400 // Graphics graphics,
\r
402 // Rectangle outsideRect,
\r
403 // Rectangle insideRect,
\r
404 // Color backColor)
\r
406 // throw new NotImplementedException ();
\r
410 // public static void DrawSizeGrip(
\r
411 // Graphics graphics,
\r
412 // Color backColor,
\r
413 // Rectangle bounds)
\r
415 // throw new NotImplementedException ();
\r
419 // public static void DrawSizeGrip(
\r
420 // Graphics graphics,
\r
421 // Color backColor,
\r
427 // throw new NotImplementedException ();
\r
431 // public static void DrawStringDisabled(
\r
432 // Graphics graphics,
\r
436 // RectangleF layoutRectangle,
\r
437 // StringFormat format)
\r
439 // throw new NotImplementedException ();
\r
443 // public static void FillReversibleRectangle(
\r
444 // Rectangle rectangle,
\r
445 // Color backColor)
\r
447 // throw new NotImplementedException ();
\r
451 // public static Color Light(Color baseColor) {
\r
452 // throw new NotImplementedException ();
\r
456 // public static Color Light(Color baseColor,float percOfLightLight) {
\r
457 // throw new NotImplementedException ();
\r
460 // public static Color LightLight(Color baseColor) {
\r
461 // throw new NotImplementedException ();
\r