2002-7-1 DennisHayes <dennish@raytek.com>
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / ControlPaint.cs
1 //\r
2 // System.Windows.Forms.ControlPaint.cs\r
3 //\r
4 // Author:\r
5 //   stubbed out by Jaak Simm (jaaksimm@firm.ee)\r
6 //\r
7 // (C) Ximian, Inc 2002\r
8 //\r
9 \r
10 \r
11 using System.Drawing;\r
12 \r
13 namespace System.Windows.Forms\r
14 {\r
15         /// <summary>\r
16         /// Provides methods used to paint common Windows controls and their elements.\r
17         ///\r
18         /// ToDo note:\r
19         ///  - Nothing is implemented\r
20         /// </summary>\r
21         \r
22         [MonoTODO]\r
23   public sealed class ControlPaint\r
24         {\r
25 //              #region Properties\r
26 //              [MonoTODO]\r
27 //              public static Color ContrastControlDark\r
28 //              {\r
29 //                      get { throw new NotImplementedException (); }\r
30 //              }\r
31 //              #endregion\r
32 //              \r
33 //              \r
34 //              \r
35 //              #region Methods\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
40 //              [MonoTODO]\r
41 //              public static Color Dark(Color baseColor) {\r
42 //                      throw new NotImplementedException ();\r
43 //              }\r
44 //              \r
45 //              [MonoTODO]\r
46 //              public static Color Dark(Color baseColor,float percOfDarkDark) {\r
47 //                      throw new NotImplementedException ();\r
48 //              }\r
49 //              \r
50 //              [MonoTODO]\r
51 //              public static Color DarkDark(Color baseColor) {\r
52 //                      throw new NotImplementedException ();\r
53 //              }\r
54 //              \r
55 //              [MonoTODO]\r
56 //              public static void DrawBorder(\r
57 //                      Graphics graphics,\r
58 //                      Rectangle bounds,\r
59 //                      Color color,\r
60 //                      ButtonBorderStyle style) {\r
61 //                      throw new NotImplementedException ();\r
62 //              }\r
63 //              \r
64 //              [MonoTODO]\r
65 //              public static void DrawBorder(\r
66 //                      Graphics graphics,\r
67 //                      Rectangle bounds,\r
68 //                      Color leftColor,\r
69 //                      int leftWidth,\r
70 //                      ButtonBorderStyle leftStyle,\r
71 //                      Color topColor,\r
72 //                      int topWidth,\r
73 //                      ButtonBorderStyle topStyle,\r
74 //                      Color rightColor,\r
75 //                      int rightWidth,\r
76 //                      ButtonBorderStyle rightStyle,\r
77 //                      Color bottomColor,\r
78 //                      int bottomWidth,\r
79 //                      ButtonBorderStyle bottomStyle)\r
80 //              {\r
81 //                      throw new NotImplementedException ();\r
82 //              }\r
83 //              \r
84 //              [MonoTODO]\r
85 //              public static void DrawBorder3D(\r
86 //                      Graphics graphics,\r
87 //                      Rectangle rectangle)\r
88 //              {\r
89 //                      throw new NotImplementedException ();\r
90 //              }\r
91 //              \r
92 //              [MonoTODO]\r
93 //              public static void DrawBorder3D(\r
94 //                      Graphics graphics,\r
95 //                      Rectangle rectangle,\r
96 //                      Border3DStyle style)\r
97 //              {\r
98 //                      throw new NotImplementedException ();\r
99 //              }\r
100 //              \r
101 //              [MonoTODO]\r
102 //              public static void DrawBorder3D(\r
103 //                      Graphics graphics,\r
104 //                      Rectangle rectangle,\r
105 //                      Border3DStyle style,\r
106 //                      Border3DSide sides)\r
107 //              {\r
108 //                      throw new NotImplementedException ();\r
109 //              }\r
110 //              \r
111 //              [MonoTODO]\r
112 //              public static void DrawBorder3D(\r
113 //                      Graphics graphics,\r
114 //                      int x,\r
115 //                      int y,\r
116 //                      int width,\r
117 //                      int height)\r
118 //              {\r
119 //                      throw new NotImplementedException ();\r
120 //              }\r
121 //              \r
122 //              [MonoTODO]\r
123 //              public static void DrawBorder3D(\r
124 //                      Graphics graphics,\r
125 //                      int x,\r
126 //                      int y,\r
127 //                      int width,\r
128 //                      int height,\r
129 //                      Border3DStyle style)\r
130 //              {\r
131 //                      throw new NotImplementedException ();\r
132 //              }\r
133 //              \r
134 //              [MonoTODO]\r
135 //              public static void DrawBorder3D(\r
136 //                      Graphics graphics,\r
137 //                      int x,\r
138 //                      int y,\r
139 //                      int width,\r
140 //                      int height,\r
141 //                      Border3DStyle style,\r
142 //                      Border3DSide sides)\r
143 //              {\r
144 //                      throw new NotImplementedException ();\r
145 //              }\r
146 //              \r
147 //              [MonoTODO]\r
148 //              public static void DrawButton(\r
149 //                      Graphics graphics,\r
150 //                      Rectangle rectangle,\r
151 //                      ButtonState state)\r
152 //              {\r
153 //                      throw new NotImplementedException ();\r
154 //              }\r
155 //              \r
156 //              [MonoTODO]\r
157 //              public static void DrawButton(\r
158 //                      Graphics graphics,\r
159 //                      int x,\r
160 //                      int y,\r
161 //                      int width,\r
162 //                      int height,\r
163 //                      ButtonState state)\r
164 //              {\r
165 //                      throw new NotImplementedException ();\r
166 //              }\r
167 //              \r
168 //              [MonoTODO]\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
175 //              }\r
176 //              \r
177 //              [MonoTODO]\r
178 //              public static void DrawCaptionButton(\r
179 //                      Graphics graphics,\r
180 //                      int x,\r
181 //                      int y,\r
182 //                      int width,\r
183 //                      int height,\r
184 //                      CaptionButton button,\r
185 //                      ButtonState state)\r
186 //              {\r
187 //                      throw new NotImplementedException ();\r
188 //              }\r
189 //              \r
190 //              [MonoTODO]\r
191 //              public static void DrawCheckBox(\r
192 //                      Graphics graphics,\r
193 //                      Rectangle rectangle,\r
194 //                      ButtonState state)\r
195 //              {\r
196 //                      throw new NotImplementedException ();\r
197 //              }\r
198 //              \r
199 //              [MonoTODO]\r
200 //              public static void DrawCheckBox(\r
201 //                      Graphics graphics,\r
202 //                      int x,\r
203 //                      int y,\r
204 //                      int width,\r
205 //                      int height,\r
206 //                      ButtonState state)\r
207 //              {\r
208 //                      throw new NotImplementedException ();\r
209 //              }\r
210 //              \r
211 //              [MonoTODO]\r
212 //              public static void DrawComboButton(\r
213 //                      Graphics graphics,\r
214 //                      Rectangle rectangle,\r
215 //                      ButtonState state)\r
216 //              {\r
217 //                      throw new NotImplementedException ();\r
218 //              }\r
219 //              \r
220 //              [MonoTODO]\r
221 //              public static void DrawComboButton(\r
222 //                      Graphics graphics,\r
223 //                      int x,\r
224 //                      int y,\r
225 //                      int width,\r
226 //                      int height,\r
227 //                      ButtonState state)\r
228 //              {\r
229 //                      throw new NotImplementedException ();\r
230 //              }\r
231 //              \r
232 //              [MonoTODO]\r
233 //              public static void DrawContainerGrabHandle(Graphics graphics,Rectangle bounds) {\r
234 //                      throw new NotImplementedException ();\r
235 //              }\r
236 //              \r
237 //              [MonoTODO]\r
238 //              public static void DrawFocusRectangle(\r
239 //                      Graphics graphics,\r
240 //                      Rectangle rectangle)\r
241 //              {\r
242 //                      throw new NotImplementedException ();\r
243 //              }\r
244 //              \r
245 //              [MonoTODO]\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
252 //              }\r
253 //              \r
254 //              [MonoTODO]\r
255 //              public static void DrawGrabHandle(\r
256 //                      Graphics graphics,\r
257 //                      Rectangle rectangle,\r
258 //                      bool primary,\r
259 //                      bool enabled)\r
260 //              {\r
261 //                      throw new NotImplementedException ();\r
262 //              }\r
263 //              \r
264 //              [MonoTODO]\r
265 //              public static void DrawGrid(\r
266 //                      Graphics graphics,\r
267 //                      Rectangle area,\r
268 //                      Size pixelsBetweenDots,\r
269 //                      Color backColor)\r
270 //              {\r
271 //                      throw new NotImplementedException ();\r
272 //              }\r
273 //              \r
274 //              [MonoTODO]\r
275 //              public static void DrawImageDisabled(\r
276 //                      Graphics graphics,\r
277 //                      Image image,\r
278 //                      int x,\r
279 //                      int y,\r
280 //                      Color background)\r
281 //              {\r
282 //                      throw new NotImplementedException ();\r
283 //              }\r
284 //              \r
285 //              [MonoTODO]\r
286 //              public static void DrawLockedFrame(\r
287 //                      Graphics graphics,\r
288 //                      Rectangle rectangle,\r
289 //                      bool primary)\r
290 //              {\r
291 //                      throw new NotImplementedException ();\r
292 //              }\r
293 //              \r
294 //              [MonoTODO]\r
295 //              public static void DrawMenuGlyph(\r
296 //                      Graphics graphics,\r
297 //                      Rectangle rectangle,\r
298 //                      MenuGlyph glyph)\r
299 //              {\r
300 //                      throw new NotImplementedException ();\r
301 //              }\r
302 //              \r
303 //              [MonoTODO]\r
304 //              public static void DrawMenuGlyph(\r
305 //                      Graphics graphics,\r
306 //                      int x,\r
307 //                      int y,\r
308 //                      int width,\r
309 //                      int height,\r
310 //                      MenuGlyph glyph)\r
311 //              {\r
312 //                      throw new NotImplementedException ();\r
313 //              }\r
314 //              \r
315 //              [MonoTODO]\r
316 //              public static void DrawMixedCheckBox(\r
317 //                      Graphics graphics,\r
318 //                      Rectangle rectangle,\r
319 //                      ButtonState state)\r
320 //              {\r
321 //                      throw new NotImplementedException ();\r
322 //              }\r
323 //              \r
324 //              [MonoTODO]\r
325 //              public static void DrawMixedCheckBox(\r
326 //                      Graphics graphics,\r
327 //                      int x,\r
328 //                      int y,\r
329 //                      int width,\r
330 //                      int height,\r
331 //                      ButtonState state)\r
332 //              {\r
333 //                      throw new NotImplementedException ();\r
334 //              }\r
335 //              \r
336 //              [MonoTODO]\r
337 //              public static void DrawRadioButton(\r
338 //                      Graphics graphics,\r
339 //                      Rectangle rectangle,\r
340 //                      ButtonState state)\r
341 //              {\r
342 //                      throw new NotImplementedException ();\r
343 //              }\r
344 //              \r
345 //              [MonoTODO]\r
346 //              public static void DrawRadioButton(\r
347 //                      Graphics graphics,\r
348 //                      int x,\r
349 //                      int y,\r
350 //                      int width,\r
351 //                      int height,\r
352 //                      ButtonState state)\r
353 //              {\r
354 //                      throw new NotImplementedException ();\r
355 //              }\r
356 //              \r
357 //              [MonoTODO]\r
358 //              public static void DrawReversibleFrame(\r
359 //                      Rectangle rectangle,\r
360 //                      Color backColor,\r
361 //                      FrameStyle style)\r
362 //              {\r
363 //                      throw new NotImplementedException ();\r
364 //              }\r
365 //              \r
366 //              [MonoTODO]\r
367 //              public static void DrawReversibleLine(\r
368 //                      Point start,\r
369 //                      Point end,\r
370 //                      Color backColor)\r
371 //              {\r
372 //                      throw new NotImplementedException ();\r
373 //              }\r
374 //              \r
375 //              [MonoTODO]\r
376 //              public static void DrawScrollButton(\r
377 //                      Graphics graphics,\r
378 //                      Rectangle rectangle,\r
379 //                      ScrollButton button,\r
380 //                      ButtonState state)\r
381 //              {\r
382 //                      throw new NotImplementedException ();\r
383 //              }\r
384 //              \r
385 //              [MonoTODO]\r
386 //              public static void DrawScrollButton(\r
387 //                      Graphics graphics,\r
388 //                      int x,\r
389 //                      int y,\r
390 //                      int width,\r
391 //                      int height,\r
392 //                      ScrollButton button,\r
393 //                      ButtonState state)\r
394 //              {\r
395 //                      throw new NotImplementedException ();\r
396 //              }\r
397 //              \r
398 //              [MonoTODO]\r
399 //              public static void DrawSelectionFrame(\r
400 //                      Graphics graphics,\r
401 //                      bool active,\r
402 //                      Rectangle outsideRect,\r
403 //                      Rectangle insideRect,\r
404 //                      Color backColor)\r
405 //              {\r
406 //                      throw new NotImplementedException ();\r
407 //              }\r
408 //              \r
409 //              [MonoTODO]\r
410 //              public static void DrawSizeGrip(\r
411 //                      Graphics graphics,\r
412 //                      Color backColor,\r
413 //                      Rectangle bounds)\r
414 //              {\r
415 //                      throw new NotImplementedException ();\r
416 //              }\r
417 //              \r
418 //              [MonoTODO]\r
419 //              public static void DrawSizeGrip(\r
420 //                      Graphics graphics,\r
421 //                      Color backColor,\r
422 //                      int x,\r
423 //                      int y,\r
424 //                      int width,\r
425 //                      int height)\r
426 //              {\r
427 //                      throw new NotImplementedException ();\r
428 //              }\r
429 //              \r
430 //              [MonoTODO]\r
431 //              public static void DrawStringDisabled(\r
432 //                      Graphics graphics,\r
433 //                      string s,\r
434 //                      Font font,\r
435 //                      Color color,\r
436 //                      RectangleF layoutRectangle,\r
437 //                      StringFormat format)\r
438 //              {\r
439 //                      throw new NotImplementedException ();\r
440 //              }\r
441 //              \r
442 //              [MonoTODO]\r
443 //              public static void FillReversibleRectangle(\r
444 //                      Rectangle rectangle,\r
445 //                      Color backColor)\r
446 //              {\r
447 //                      throw new NotImplementedException ();\r
448 //              }\r
449 //              \r
450 //              [MonoTODO]\r
451 //              public static Color Light(Color baseColor) {\r
452 //                      throw new NotImplementedException ();\r
453 //              }\r
454 //              \r
455 //              [MonoTODO]\r
456 //              public static Color Light(Color baseColor,float percOfLightLight) {\r
457 //                      throw new NotImplementedException ();\r
458 //              }\r
459 //              [MonoTODO]\r
460 //              public static Color LightLight(Color baseColor) {\r
461 //                      throw new NotImplementedException ();\r
462 //              }\r
463 //              #endregion\r
464         }\r
465 }\r