summaryrefslogtreecommitdiffstats
path: root/macosx/HBImageAndTextCell.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-09-14 04:42:46 +0000
committerdynaflash <[email protected]>2007-09-14 04:42:46 +0000
commitf45d2e22f0e02eda4f932632d21401c1b2c64f2a (patch)
tree06972759d183f364e2265648d95287e74d1ed414 /macosx/HBImageAndTextCell.h
parenta928934f6fb284c46ee701bbdb401df04c59dc8c (diff)
MacGui: New Queue Enhancements courtesy of travistex
- New hierarchical queue view. - New Start/Cancel and Pause/Resume buttons in Queue toolbar to match those in the main window. - When canceling a job, you now have the option to delete all pending jobs. - This one is the real deal! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@963 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBImageAndTextCell.h')
-rw-r--r--macosx/HBImageAndTextCell.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/macosx/HBImageAndTextCell.h b/macosx/HBImageAndTextCell.h
new file mode 100644
index 000000000..1da12cf94
--- /dev/null
+++ b/macosx/HBImageAndTextCell.h
@@ -0,0 +1,30 @@
+/* HBImageAndTextCell
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.m0k.org/>.
+ It may be used under the terms of the GNU General Public License.
+*/
+
+#import <Cocoa/Cocoa.h>
+
+@interface HBImageAndTextCell : NSTextFieldCell
+{
+@private
+ NSImage *image;
+ NSImageAlignment imageAlignment; // defaults to NSImageAlignTop. Supports NSImageAlignCenter & NSImageAlignBottom
+ NSSize imageSpacing; // horizontal and vertical spacing around the image
+}
+
+- (void) setImage:(NSImage *)anImage;
+- (NSImage *) image;
+
+- (void) setImageAlignment:(NSImageAlignment)alignment;
+- (NSImageAlignment) imageAlignment;
+
+- (void)setImageSpacing:(NSSize)aSize;
+- (NSSize)imageSpacing;
+
+- (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
+- (NSSize) cellSize;
+
+@end