comparison dwt/graphics/Device.d @ 15:2952d5604c0a

Ported some widgets, added some stuff to the runtime bindings
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 29 Aug 2008 21:46:05 +0200
parents 380af2bdd8e5
children 5b53d338c709
comparison
equal deleted inserted replaced
14:762fbe6f17d3 15:2952d5604c0a
25 import dwt.internal.cocoa.NSString; 25 import dwt.internal.cocoa.NSString;
26 import dwt.internal.cocoa.NSValue; 26 import dwt.internal.cocoa.NSValue;
27 import dwt.internal.cocoa.OS; 27 import dwt.internal.cocoa.OS;
28 import dwt.internal.cocoa.id; 28 import dwt.internal.cocoa.id;
29 29
30 import dwt.graphics.Drawable;
31
30 /** 32 /**
31 * This class is the abstract superclass of all device objects, 33 * This class is the abstract superclass of all device objects,
32 * such as the Display device and the Printer device. Devices 34 * such as the Display device and the Printer device. Devices
33 * can have a graphics context (GC) created for them, and they 35 * can have a graphics context (GC) created for them, and they
34 * can be drawn on by sending messages to the associated GC. 36 * can be drawn on by sending messages to the associated GC.
35 */ 37 */
36 public abstract class Device implements Drawable { 38 public abstract class Device : Drawable {
37 39
38 /* Debugging */ 40 /* Debugging */
39 public static bool DEBUG; 41 public static bool DEBUG;
40 bool debug = DEBUG; 42 bool debug = DEBUG;
41 bool tracking = DEBUG; 43 bool tracking = DEBUG;