mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 11:12:58 +00:00
_backgroundColor' is already declared for class CPText in superclass CPView
This commit is contained in:
1 parent
f39a1e7d03
commit
e4df7b10f6
1 file changed
+1
-6
+1
-6
@@ -102,8 +102,6 @@ CPKernAttributeName = @"CPKernAttributeName";
|
||||
BOOL _isEditable @accessors(getter=isEditable, setter=setEditable:);
|
||||
BOOL _isSelectable @accessors(getter=isSelectable, setter=setSelectable:);
|
||||
BOOL _isRichText @accessors(getter=isRichText, setter=setRichText:);
|
||||
CPColor _backgroundColor @accessors(getter=backgroundColor, setter=setBackgroundColor:);
|
||||
|
||||
}
|
||||
|
||||
- (void)setSelectable:(BOOL)flag
|
||||
@@ -314,8 +312,7 @@ CPKernAttributeName = @"CPKernAttributeName";
|
||||
|
||||
var CPTextViewIsEditableKey = @"CPTextViewIsEditableKey",
|
||||
CPTextViewIsSelectableKey = @"CPTextViewIsSelectableKey",
|
||||
CPTextViewIsRichTextKey = @"CPTextViewIsRichTextKey",
|
||||
CPTextViewBackgroundColorKey = @"CPTextViewBackgroundColorKey";
|
||||
CPTextViewIsRichTextKey = @"CPTextViewIsRichTextKey";
|
||||
|
||||
@implementation CPText (CPCoding)
|
||||
|
||||
@@ -328,7 +325,6 @@ var CPTextViewIsEditableKey = @"CPTextViewIsEditableKey",
|
||||
[self setSelectable:[aCoder decodeBoolForKey:CPTextViewIsSelectableKey]];
|
||||
[self setEditable:[aCoder decodeBoolForKey:CPTextViewIsEditableKey]];
|
||||
[self setRichText:[aCoder decodeBoolForKey:CPTextViewIsRichTextKey]];
|
||||
[self setBackgroundColor:[aCoder decodeObjectForKey:CPTextViewBackgroundColorKey]];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -340,7 +336,6 @@ var CPTextViewIsEditableKey = @"CPTextViewIsEditableKey",
|
||||
[aCoder encodeBool:_isEditable forKey:CPTextViewIsEditableKey];
|
||||
[aCoder encodeBool:_isSelectable forKey:CPTextViewIsSelectableKey];
|
||||
[aCoder encodeBool:_isRichText forKey:CPTextViewIsRichTextKey];
|
||||
[aCoder encodeObject:_backgroundColor forKey:CPTextViewBackgroundColorKey];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user