Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSTextTab.d @ 1:8b48be5454ce
The internal cocoa classes compile now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 19 Aug 2008 17:35:17 +0200 |
parents | 380af2bdd8e5 |
children | f565d3a95c0a |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSTextTab.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSTextTab.d Tue Aug 19 17:35:17 2008 +0200 @@ -48,36 +48,36 @@ public NSTextAlignment alignment () { - return cast(NSTextAlignment) OS.objc_msgSend(this.id, OS.sel_alignment); + return cast(NSTextAlignment) OS.objc_msgSend(this.id_, OS.sel_alignment); } public NSTextTab initWithTextAlignment (NSTextAlignment alignment, CGFloat loc, NSDictionary options) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithTextAlignment_1location_1options_1, alignment, loc, - options !is null ? options.id : null); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithTextAlignment_1location_1options_1, alignment, loc, + options !is null ? options.id_ : null); return result !is null ? this : null; } public NSTextTab initWithType (NSTextTabType type, CGFloat loc) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithType_1location_1, type, loc); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithType_1location_1, type, loc); return result !is null ? this : null; } public CGFloat location () { - return cast(CGFloat) OS.objc_msgSend_fpret(this.id, OS.sel_location); + return cast(CGFloat) OS.objc_msgSend_fpret(this.id_, OS.sel_location); } public NSDictionary options () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_options); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_options); return result !is null ? new NSDictionary(result) : null; } public NSTextTabType tabStopType () { - return cast(NSTextTabType) OS.objc_msgSend(this.id, OS.sel_tabStopType); + return cast(NSTextTabType) OS.objc_msgSend(this.id_, OS.sel_tabStopType); } }