Mercurial > projects > dstep
comparison dstep/appkit/NSAffineTransform.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 |
---|---|
53 | 53 |
54 `; | 54 `; |
55 | 55 |
56 class NSAffineTransform : NSObject, INSCopying, INSCoding | 56 class NSAffineTransform : NSObject, INSCopying, INSCoding |
57 { | 57 { |
58 mixin (ObjcWrap); | 58 mixin ObjcWrap; |
59 | |
60 this (id object) | |
61 { | |
62 super(object); | |
63 } | |
59 | 64 |
60 static NSAffineTransform transform () | 65 static NSAffineTransform transform () |
61 { | 66 { |
62 return invokeObjcSelfClass!(NSAffineTransform, "transform"); | 67 return invokeObjcSelfClass!(NSAffineTransform, "transform"); |
63 } | 68 } |