diff -r 000000000000 -r 222393534845 ImageAndTextCell.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ImageAndTextCell.h Wed May 20 08:34:04 2009 -0700 @@ -0,0 +1,17 @@ +#import + +/** Subclass of NSTextFieldCell which can display text and an image simultaneously. + Taken directly from Apple sample code. */ +@interface ImageAndTextCell : NSTextFieldCell +{ + @private + NSImage *image; +} + +- (void)setImage:(NSImage *)anImage; +- (NSImage *)image; + +- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; +- (NSSize)cellSize; + +@end