root/lang/objective-c/TerminalColoreopard/TCLANSIColors.h

Revision 3756, 465 bytes (checked in by niw, 4 years ago)
Line 
1#import <Cocoa/Cocoa.h>
2
3@interface TCLANSIColors : NSObject {
4        NSColor *blackColor;
5        NSColor *redColor;
6        NSColor *greenColor;
7        NSColor *yellowColor;
8        NSColor *blueColor;
9        NSColor *magentaColor;
10        NSColor *cyanColor;
11        NSColor *whiteColor;
12}
13+(TCLANSIColors *)defaultANSIColors;
14+(TCLANSIColors *)fromDictionary:(NSDictionary *)aDictionary;
15+(NSArray *)ansiColorNames;
16-(id)init;
17-(NSDictionary *)ansiColorsAsDictionary;
18-(NSColor *)colorFor:(unsigned int)code;
19@end
Note: See TracBrowser for help on using the browser.