OSDN Git Service

bump ffmpeg from git-185a155 to git-0b32da9
[handbrake-jp/handbrake-jp-git.git] / macosx / HBImageAndTextCell.h
1 /* HBImageAndTextCell
2
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.
6 */
7
8 #import <Cocoa/Cocoa.h>
9
10 @interface HBImageAndTextCell : NSTextFieldCell
11 {
12 @private
13     NSImage                  *image;
14     NSImageAlignment     imageAlignment;    // defaults to NSImageAlignTop. Supports NSImageAlignCenter & NSImageAlignBottom
15     NSSize               imageSpacing;      // horizontal and vertical spacing around the image 
16 }
17
18 - (void) setImage:(NSImage *)anImage;
19 - (NSImage *) image;
20
21 - (void) setImageAlignment:(NSImageAlignment)alignment;
22 - (NSImageAlignment) imageAlignment;
23
24 - (void)setImageSpacing:(NSSize)aSize;
25 - (NSSize)imageSpacing;
26
27 - (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
28 - (NSSize) cellSize;
29
30 @end