ImageAndTextCell.h
author snej@snej.local
Sat Apr 04 20:53:53 2009 -0700 (2009-04-04)
changeset 22 a9da6c5d3f7c
permissions -rw-r--r--
* Added MYErrorUtils
* Added AssertAbstractMethod() to Test
* Added .xcconfig files
jens@20
     1
#import <Cocoa/Cocoa.h>
jens@20
     2
jens@20
     3
/** Subclass of NSTextFieldCell which can display text and an image simultaneously.
jens@20
     4
    Taken directly from Apple sample code. */
jens@20
     5
@interface ImageAndTextCell : NSTextFieldCell
jens@20
     6
{
jens@20
     7
    @private
jens@20
     8
    NSImage *image;
jens@20
     9
}
jens@20
    10
jens@20
    11
- (void)setImage:(NSImage *)anImage;
jens@20
    12
- (NSImage *)image;
jens@20
    13
jens@20
    14
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
jens@20
    15
- (NSSize)cellSize;
jens@20
    16
jens@20
    17
@end