3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.fr/>.
5 It may be used under the terms of the GNU General Public License.
8 #import <Cocoa/Cocoa.h>
10 @interface HBImageAndTextCell : NSTextFieldCell
14 NSImageAlignment imageAlignment; // defaults to NSImageAlignTop. Supports NSImageAlignCenter & NSImageAlignBottom
15 NSSize imageSpacing; // horizontal and vertical spacing around the image
18 - (void) setImage:(NSImage *)anImage;
21 - (void) setImageAlignment:(NSImageAlignment)alignment;
22 - (NSImageAlignment) imageAlignment;
24 - (void)setImageSpacing:(NSSize)aSize;
25 - (NSSize)imageSpacing;
27 - (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;