Use proper fourcc code of FMP4 for ffmpeg MPEG-4 video, instead of identifying it...
[HandBrake.git] / macosx / HBImageAndTextCell.h
blob1da12cf94dd585177848dd89d17ca428727a0981
1 /* HBImageAndTextCell
3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.m0k.org/>.
5 It may be used under the terms of the GNU General Public License.
6 */
8 #import <Cocoa/Cocoa.h>
10 @interface HBImageAndTextCell : NSTextFieldCell
12 @private
13 NSImage *image;
14 NSImageAlignment imageAlignment; // defaults to NSImageAlignTop. Supports NSImageAlignCenter & NSImageAlignBottom
15 NSSize imageSpacing; // horizontal and vertical spacing around the image
18 - (void) setImage:(NSImage *)anImage;
19 - (NSImage *) image;
21 - (void) setImageAlignment:(NSImageAlignment)alignment;
22 - (NSImageAlignment) imageAlignment;
24 - (void)setImageSpacing:(NSSize)aSize;
25 - (NSSize)imageSpacing;
27 - (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
28 - (NSSize) cellSize;
30 @end