comparison dstep/appkit/NSTableHeaderCell.d @ 25:b9de51448c6b

Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author Jacob Carlborg <doob@me.com>
date Tue, 06 Apr 2010 11:37:27 +0200
parents 19885b43130e
children
comparison
equal deleted inserted replaced
24:ab33fc0c3fc1 25:b9de51448c6b
13 import dstep.objc.bridge.Bridge; 13 import dstep.objc.bridge.Bridge;
14 import dstep.objc.objc; 14 import dstep.objc.objc;
15 15
16 class NSTableHeaderCell : NSTextFieldCell 16 class NSTableHeaderCell : NSTextFieldCell
17 { 17 {
18 mixin (ObjcWrap); 18 mixin ObjcWrap;
19
20 this (id object)
21 {
22 super(object);
23 }
19 24
20 void drawSortIndicatorWithFrame (NSRect cellFrame, NSView controlView, bool ascending, NSInteger priority) 25 void drawSortIndicatorWithFrame (NSRect cellFrame, NSView controlView, bool ascending, NSInteger priority)
21 { 26 {
22 return invokeObjcSelf!(void, "drawSortIndicatorWithFrame:inView:ascending:priority:", NSRect, NSView, bool, NSInteger)(cellFrame, controlView, ascending, priority); 27 return invokeObjcSelf!(void, "drawSortIndicatorWithFrame:inView:ascending:priority:", NSRect, NSView, bool, NSInteger)(cellFrame, controlView, ascending, priority);
23 } 28 }