comparison dwt/internal/cocoa/OS.d @ 19:fba856099f87

Ported dwt.widgets.Display
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Wed, 03 Sep 2008 20:59:39 +0200
parents 5b53d338c709
children 5123b17c98ef
comparison
equal deleted inserted replaced
18:b55912b6771e 19:fba856099f87
60 60
61 public static const int VERSION; 61 public static const int VERSION;
62 62
63 static this () 63 static this ()
64 { 64 {
65 SInt32[1] response; 65 int[1] response;
66 OS.Gestalt(OS.gestaltSystemVersion, response); 66 OS.Gestalt(OS.gestaltSystemVersion, response);
67 VERSION = response[0] & 0xffff; 67 VERSION = response[0] & 0xffff;
68 68
69 OS.sel_sendSelection = OS.sel_registerName("sendSelection"); 69 OS.sel_sendSelection = OS.sel_registerName("sendSelection");
70 OS.sel_sendDoubleSelection = OS.sel_registerName("sendDoubleSelection"); 70 OS.sel_sendDoubleSelection = OS.sel_registerName("sendDoubleSelection");
152 alias dwt.internal.objc.runtime.objc_msgSend_struct objc_msgSend_struct; 152 alias dwt.internal.objc.runtime.objc_msgSend_struct objc_msgSend_struct;
153 alias dwt.internal.objc.runtime.objc_msgSend_stret objc_msgSend_stret; 153 alias dwt.internal.objc.runtime.objc_msgSend_stret objc_msgSend_stret;
154 alias dwt.internal.objc.runtime.objc_msgSendSuper objc_msgSendSuper; 154 alias dwt.internal.objc.runtime.objc_msgSendSuper objc_msgSendSuper;
155 155
156 version (X86) 156 version (X86)
157 alias dwt.internal.objc.runtime.objc_msgSend_fpret objc_msgSend_fpret; 157 alias dwt.internal.objc.runtime.objc_msgSend_fpret objc_msgSend_fpret;
158
159 alias dwt.internal.objc.runtime.drawRect_1CALLBACK drawRect_1CALLBACK;
158 160
159 /** Classes */ 161 /** Classes */
160 public static /*const*/ id class_NSScanner; 162 public static /*const*/ id class_NSScanner;
161 public static /*const*/ id class_NSCIImageRep; 163 public static /*const*/ id class_NSCIImageRep;
162 public static /*const*/ id class_NSPathControl; 164 public static /*const*/ id class_NSPathControl;