author | Jens Alfke <jens@mooseyard.com> |
Mon Aug 10 08:29:32 2009 -0700 (2009-08-10) | |
changeset 34 | 50c4f26bcc1b |
permissions | -rw-r--r-- |
1 #import <Cocoa/Cocoa.h>
3 /** Subclass of NSTextFieldCell which can display text and an image simultaneously.
4 Taken directly from Apple sample code. */
5 @interface ImageAndTextCell : NSTextFieldCell
6 {
7 @private
8 NSImage *image;
9 }
11 - (void)setImage:(NSImage *)anImage;
12 - (NSImage *)image;
14 - (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
15 - (NSSize)cellSize;
17 @end