Mercurial > projects > dwt-linux
comparison dwt/widgets/ColorDialog.d @ 255:5a30aa9820f3
removed tango.stdc.stringz imports and allow null for arrays and string arguments.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 15 Jun 2008 22:32:20 +0200 |
parents | ce446666f5a2 |
children | c0d810de7093 |
comparison
equal
deleted
inserted
replaced
254:8bca790583c3 | 255:5a30aa9820f3 |
---|---|
10 * Port to the D programming language: | 10 * Port to the D programming language: |
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwt.widgets.ColorDialog; | 13 module dwt.widgets.ColorDialog; |
14 | 14 |
15 | |
16 | |
17 import dwt.DWT; | 15 import dwt.DWT; |
18 import dwt.DWTException; | 16 import dwt.DWTException; |
19 import dwt.graphics.PaletteData; | 17 import dwt.graphics.PaletteData; |
20 import dwt.graphics.RGB; | 18 import dwt.graphics.RGB; |
21 import dwt.internal.gtk.OS; | 19 import dwt.internal.gtk.OS; |
22 import dwt.widgets.Dialog; | 20 import dwt.widgets.Dialog; |
23 import dwt.widgets.Shell; | 21 import dwt.widgets.Shell; |
24 import dwt.widgets.Display; | 22 import dwt.widgets.Display; |
25 | 23 |
26 import tango.stdc.stringz; | 24 import dwt.dwthelper.utils; |
27 | 25 |
28 /** | 26 /** |
29 * Instances of this class allow the user to select a color | 27 * Instances of this class allow the user to select a color |
30 * from a predefined set of available colors. | 28 * from a predefined set of available colors. |
31 * <dl> | 29 * <dl> |