blob: dc58a830a4a6f7ac1b5df89a21ce5b1fd3bd4e80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//
// QSImageAndTextCell.h
//
// Copyright (c) 2001 Apple. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface QSImageAndTextCell : NSTextFieldCell {
BOOL editing;
@private
NSImage *image;
NSSize imageSize;
}
- (void)setImage:(NSImage *)anImage;
- (NSImage *)image;
- (float)imageWidthForFrame:(NSRect)frame;
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
- (NSSize)cellSize;
- (NSRect)textRectForFrame:(NSRect)frame;
- (NSSize) imageSize;
- (void) setImageSize: (NSSize) newImageSize;
@end
|