LOFixturePalette.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #import <Cocoa/Cocoa.h>
00037
00038 @class LOFixture;
00039 @class LOFixturePaletteEntry;
00040
00049 @interface LOFixturePalette : NSObject
00050 {
00051 NSString *name;
00052 NSMutableArray *entries;
00053 }
00054
00055
00061 - (id)initWithName:(NSString *)theName;
00062
00063
00069 - (id)initWithXML:(NSXMLElement *)XMLElement withinFixture:(LOFixture *)theFixture;
00070
00071
00087 - (NSXMLElement *)XML;
00088
00089
00097 - (NSString *)name;
00098
00099
00107 - (void)setName:(NSString *)aName;
00108
00109
00121 - (NSArray *)entries;
00122
00123
00132 - (void)addEntry:(LOFixturePaletteEntry *)anEntry;
00133
00134
00140 - (unsigned)count;
00141
00142
00153 - (LOFixturePaletteEntry *)entryAtIndex:(int)index;
00154
00155
00163 - (void)removeLastEntry;
00164
00165
00173 - (void)removeEntryAtIndex:(unsigned)index;
00174
00175 @end
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199