Mercurial > projects > dstep
comparison dstep/appkit/NSTextFieldCell.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 NSTextFieldRoundedBezel = 1 | 24 NSTextFieldRoundedBezel = 1 |
25 } | 25 } |
26 | 26 |
27 class NSTextFieldCell : NSActionCell | 27 class NSTextFieldCell : NSActionCell |
28 { | 28 { |
29 mixin (ObjcWrap); | 29 mixin ObjcWrap; |
30 | |
31 this (id object) | |
32 { | |
33 super(object); | |
34 } | |
30 | 35 |
31 void setBackgroundColor (NSColor color) | 36 void setBackgroundColor (NSColor color) |
32 { | 37 { |
33 return invokeObjcSelf!(void, "setBackgroundColor:", NSColor)(color); | 38 return invokeObjcSelf!(void, "setBackgroundColor:", NSColor)(color); |
34 } | 39 } |