root/trunk/Views/JVDetailCell.h

Revision 3250, 0.9 kB (checked in by timothy, 2 years ago)

Code to allow the selected item in the sidebar to be bold and have a shadow. I don't think this looks good, heard to read. Not turning it on.

Line 
1 @interface JVDetailCell : NSImageCell {
2         @private
3         NSImage *_statusImage;
4         NSImage *_altImage;
5         NSString *_mainText;
6         NSString *_infoText;
7         NSLineBreakMode _lineBreakMode;
8         unsigned _statusNumber;
9         unsigned _importantStatusNumber;
10         BOOL _boldAndWhiteOnHighlight;
11 }
12 - (void) setStatusImage:(NSImage *) image;
13 - (NSImage *) statusImage;
14
15 - (void) setHighlightedImage:(NSImage *) image;
16 - (NSImage *) highlightedImage;
17
18 - (void) setMainText:(NSString *) text;
19 - (NSString *) mainText;
20
21 - (void) setInformationText:(NSString *) text;
22 - (NSString *) informationText;
23
24 - (void) setLineBreakMode:(NSLineBreakMode) mode;
25 - (NSLineBreakMode) lineBreakMode;
26
27 - (void) setBoldAndWhiteOnHighlight:(BOOL) boldAndWhite;
28 - (BOOL) boldAndWhiteOnHighlight;
29
30 - (void) setStatusNumber:(unsigned) number;
31 - (unsigned) statusNumber;
32
33 - (void) setImportantStatusNumber:(unsigned) number;
34 - (unsigned) importantStatusNumber;
35 @end
Note: See TracBrowser for help on using the browser.