comparison dstep/appkit/NSLevelIndicatorCell.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
24 NSRatingLevelIndicatorStyle 24 NSRatingLevelIndicatorStyle
25 } 25 }
26 26
27 class NSLevelIndicatorCell : NSActionCell 27 class NSLevelIndicatorCell : NSActionCell
28 { 28 {
29 mixin (ObjcWrap); 29 mixin ObjcWrap;
30
31 this (id object)
32 {
33 super(object);
34 }
30 35
31 NSLevelIndicatorCell initWithLevelIndicatorStyle (uint levelIndicatorStyle) 36 NSLevelIndicatorCell initWithLevelIndicatorStyle (uint levelIndicatorStyle)
32 { 37 {
33 id result = invokeObjcSelf!(id, "initWithLevelIndicatorStyle:", uint)(levelIndicatorStyle); 38 id result = invokeObjcSelf!(id, "initWithLevelIndicatorStyle:", uint)(levelIndicatorStyle);
34 return result is this.objcObject ? this : (result !is null ? new NSLevelIndicatorCell(result) : null); 39 return result is this.objcObject ? this : (result !is null ? new NSLevelIndicatorCell(result) : null);