comparison dwt/graphics/Color.d @ 34:5123b17c98ef

Ported dwt.events.*, dwt.graphics.GC, Region, dwt.internal.image.*
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Sun, 14 Sep 2008 01:45:57 +0200
parents d408fc12b991
children db5a898b2119
comparison
equal deleted inserted replaced
33:965ac0a77267 34:5123b17c98ef
19 19
20 import dwt.dwthelper.utils; 20 import dwt.dwthelper.utils;
21 import dwt.graphics.Device; 21 import dwt.graphics.Device;
22 import dwt.graphics.Resource; 22 import dwt.graphics.Resource;
23 import dwt.graphics.RGB; 23 import dwt.graphics.RGB;
24 import dwt.internal.cocoa.CGFloat;
24 25
25 /** 26 /**
26 * Instances of this class manage the operating system resources that 27 * Instances of this class manage the operating system resources that
27 * implement DWT's RGB color model. To create a color you can either 28 * implement DWT's RGB color model. To create a color you can either
28 * specify the individual color components as integers in the range 29 * specify the individual color components as integers in the range
45 * public API. It is marked public only so that it can be shared 46 * public API. It is marked public only so that it can be shared
46 * within the packages provided by DWT. It is not available on all 47 * within the packages provided by DWT. It is not available on all
47 * platforms and should never be accessed from application code. 48 * platforms and should never be accessed from application code.
48 * </p> 49 * </p>
49 */ 50 */
50 public float[] handle; 51 public CGFloat[] handle;
51 52
52 this(Device device) { 53 this(Device device) {
53 super(device); 54 super(device);
54 } 55 }
55 56