diff dwt/internal/cocoa/NSTextFieldCell.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/NSTextFieldCell.d	Sat Aug 09 17:00:02 2008 +0200
+++ b/dwt/internal/cocoa/NSTextFieldCell.d	Tue Aug 19 17:35:17 2008 +0200
@@ -46,87 +46,87 @@
 
     public NSArray allowedInputSourceLocales ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_allowedInputSourceLocales);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_allowedInputSourceLocales);
         return result !is null ? new NSArray(result) : null;
     }
 
     public NSColor backgroundColor ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_backgroundColor);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_backgroundColor);
         return result !is null ? new NSColor(result) : null;
     }
 
     public NSTextFieldBezelStyle bezelStyle ()
     {
-        return cast(NSTextFieldBezelStyle) OS.objc_msgSend(this.id, OS.sel_bezelStyle);
+        return cast(NSTextFieldBezelStyle) OS.objc_msgSend(this.id_, OS.sel_bezelStyle);
     }
 
     public bool drawsBackground ()
     {
-        return OS.objc_msgSend(this.id, OS.sel_drawsBackground) !is null;
+        return OS.objc_msgSend(this.id_, OS.sel_drawsBackground) !is null;
     }
 
     public NSAttributedString placeholderAttributedString ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_placeholderAttributedString);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_placeholderAttributedString);
         return result !is null ? new NSAttributedString(result) : null;
     }
 
     public NSString placeholderString ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_placeholderString);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_placeholderString);
         return result !is null ? new NSString(result) : null;
     }
 
     public void setAllowedInputSourceLocales (NSArray localeIdentifiers)
     {
-        OS.objc_msgSend(this.id, OS.sel_setAllowedInputSourceLocales_1, localeIdentifiers !is null ? localeIdentifiers.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setAllowedInputSourceLocales_1, localeIdentifiers !is null ? localeIdentifiers.id_ : null);
     }
 
     public void setBackgroundColor (NSColor color)
     {
-        OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_1, color !is null ? color.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setBackgroundColor_1, color !is null ? color.id_ : null);
     }
 
     public void setBezelStyle (NSTextFieldBezelStyle style)
     {
-        OS.objc_msgSend(this.id, OS.sel_setBezelStyle_1, style);
+        OS.objc_msgSend(this.id_, OS.sel_setBezelStyle_1, style);
     }
 
     public void setDrawsBackground (bool flag)
     {
-        OS.objc_msgSend(this.id, OS.sel_setDrawsBackground_1, flag);
+        OS.objc_msgSend(this.id_, OS.sel_setDrawsBackground_1, flag);
     }
 
     public void setPlaceholderAttributedString (NSAttributedString string)
     {
-        OS.objc_msgSend(this.id, OS.sel_setPlaceholderAttributedString_1, string !is null ? string.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setPlaceholderAttributedString_1, string !is null ? string.id_ : null);
     }
 
     public void setPlaceholderString (NSString string)
     {
-        OS.objc_msgSend(this.id, OS.sel_setPlaceholderString_1, string !is null ? string.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setPlaceholderString_1, string !is null ? string.id_ : null);
     }
 
     public void setTextColor (NSColor color)
     {
-        OS.objc_msgSend(this.id, OS.sel_setTextColor_1, color !is null ? color.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setTextColor_1, color !is null ? color.id_ : null);
     }
 
     public NSText setUpFieldEditorAttributes (NSText textObj)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_setUpFieldEditorAttributes_1, textObj !is null ? textObj.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_setUpFieldEditorAttributes_1, textObj !is null ? textObj.id_ : null);
         return result !is null ? new NSText(result) : null;
     }
 
     public void setWantsNotificationForMarkedText (bool flag)
     {
-        OS.objc_msgSend(this.id, OS.sel_setWantsNotificationForMarkedText_1, flag);
+        OS.objc_msgSend(this.id_, OS.sel_setWantsNotificationForMarkedText_1, flag);
     }
 
     public NSColor textColor ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_textColor);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_textColor);
         return result !is null ? new NSColor(result) : null;
     }