1 // 2 // PXPalette.h 3 // Pixen-XCode 4 // 5 // Created by Joe Osborn on Wed Jun 09 2004. 6 // Copyright (c) 2004 Open Sword Group. All rights reserved. 7 // 8 #import <AppKit/AppKit.h> 9 10 @interface PXPalette : NSObject <NSCoding, NSCopying> 11 { 12 id name; 13 id usedColors; 14 id delegate; 15 } 16 - initWithName:aName; 17 - initWithName:aName colors:someColors; 18 - (void)setDelegate:anObject; 19 - (int)addColor:color; 20 - colorAtIndex:(unsigned)index; 21 - (void)setColor:color atIndex:(unsigned)index; 22 - (void)removeDuplicatesOfColorAtIndex:(unsigned)index; 23 - colors; 24 - (void)setColors:newColors; 25 - name; 26 - (void)setName:newName; 27 @end 28