comparison dwt/widgets/Sash.d @ 46:cfa563df4fdd

Updated Widget and Display to 3.514
author Jacob Carlborg <doob@me.com>
date Fri, 05 Dec 2008 16:00:41 +0100
parents d8635bb48c7c
children 8e8040261b20
comparison
equal deleted inserted replaced
45:d8635bb48c7c 46:cfa563df4fdd
280 return new Point (width, height); 280 return new Point (width, height);
281 } 281 }
282 282
283 void createHandle () { 283 void createHandle () {
284 NSView widget = cast(NSView)new SWTView().alloc(); 284 NSView widget = cast(NSView)new SWTView().alloc();
285 widget.initWithFrame (new NSRect()); 285 widget.initWithFrame (NSRect());
286 view = widget; 286 view = widget;
287 } 287 }
288 288
289 void drawWidget (int /*long*/ id, NSRect rect) { 289 void drawWidget (int /*long*/ id, NSRect rect) {
290 NSGraphicsContext context = NSGraphicsContext.currentContext(); 290 NSGraphicsContext context = NSGraphicsContext.currentContext();