Mercurial > projects > dstep
comparison dstep/appkit/NSColorPanel.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 |
---|---|
62 NSColorPanelAllModesMask = 0x0000ffff | 62 NSColorPanelAllModesMask = 0x0000ffff |
63 } | 63 } |
64 | 64 |
65 class NSColorPanel : NSPanel | 65 class NSColorPanel : NSPanel |
66 { | 66 { |
67 mixin (ObjcWrap); | 67 mixin ObjcWrap; |
68 | |
69 this (id object) | |
70 { | |
71 super(object); | |
72 } | |
68 | 73 |
69 static NSColorPanel sharedColorPanel () | 74 static NSColorPanel sharedColorPanel () |
70 { | 75 { |
71 return invokeObjcSelfClass!(NSColorPanel, "sharedColorPanel"); | 76 return invokeObjcSelfClass!(NSColorPanel, "sharedColorPanel"); |
72 } | 77 } |