Mercurial > projects > dstep
comparison dstep/appkit/NSFontManager.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 | f8a3b67adfcb |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
131 | 131 |
132 `; | 132 `; |
133 | 133 |
134 class NSFontManager : NSObject | 134 class NSFontManager : NSObject |
135 { | 135 { |
136 mixin (ObjcWrap); | 136 mixin ObjcWrap; |
137 | |
138 this (id object) | |
139 { | |
140 super(object); | |
141 } | |
137 | 142 |
138 static void setFontPanelFactory (Class factoryId) | 143 static void setFontPanelFactory (Class factoryId) |
139 { | 144 { |
140 return invokeObjcSelfClass!(void, "setFontPanelFactory:", Class)(factoryId); | 145 return invokeObjcSelfClass!(void, "setFontPanelFactory:", Class)(factoryId); |
141 } | 146 } |