comparison dstep/appkit/NSFont.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
77 NSFontAntialiasedIntegerAdvancementsRenderingMode = 3 77 NSFontAntialiasedIntegerAdvancementsRenderingMode = 3
78 } 78 }
79 79
80 class NSFont : NSObject, INSCopying, INSCoding 80 class NSFont : NSObject, INSCopying, INSCoding
81 { 81 {
82 mixin (ObjcWrap); 82 mixin ObjcWrap;
83
84 this (id object)
85 {
86 super(object);
87 }
83 88
84 this (NSCoder aDecoder) 89 this (NSCoder aDecoder)
85 { 90 {
86 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); 91 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject);
87 } 92 }