Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 387 Bytes
@import <Foundation/CPObject.j>
@implementation SidebarColorItem : CPObject
{
CPString name @accessors;
CPColor color @accessors;
}
- (id)init
{
return [self initWithName:@"" color:nil];
}
- (id)initWithName:(CPString)aName color:(CPColor)aColor
{
if (self = [super init])
{
name = aName;
color = aColor;
}
return self;
}
@end