summaryrefslogtreecommitdiffstats
path: root/macosx/HBImageAndTextCell.h
blob: 1cebae4be47a9f511fdf3fd705bc3eaa79f8cdf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* HBImageAndTextCell

    This file is part of the HandBrake source code.
    Homepage: <http://handbrake.fr/>.
    It may be used under the terms of the GNU General Public License.
*/

#import <Cocoa/Cocoa.h>

@interface HBImageAndTextCell : NSTextFieldCell

@property (strong) NSImage *image;
@property (nonatomic) NSImageAlignment imageAlignment;
@property (nonatomic) NSSize imageSpacing;

- (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
@property (readonly) NSSize cellSize;

@end