summaryrefslogtreecommitdiffstats
path: root/macosx/MVMenuButton.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-08-02 12:52:41 +0000
committerdynaflash <[email protected]>2007-08-02 12:52:41 +0000
commit3021a6afa90e0b601524792614807d7a5176f6a7 (patch)
tree13e5837795a02257b2e3cc67c3c8e8cfb91e22b6 /macosx/MVMenuButton.h
parent891ea7118f8ca6d60e3920cbed100ae2a7f8bad1 (diff)
MacGui: files I forgot to add on last commit
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@780 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/MVMenuButton.h')
-rw-r--r--macosx/MVMenuButton.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/macosx/MVMenuButton.h b/macosx/MVMenuButton.h
new file mode 100644
index 000000000..777642d67
--- /dev/null
+++ b/macosx/MVMenuButton.h
@@ -0,0 +1,22 @@
+#import <Cocoa/Cocoa.h>
+
+@interface MVMenuButton : NSButton <NSCoding> {
+@protected
+ BOOL _drawsArrow;
+ NSImage *_orgImage;
+ NSImage *_smallImage;
+ NSControlSize _size;
+ NSToolbarItem *_toolbarItem;
+}
+- (NSControlSize) controlSize;
+- (void) setControlSize:(NSControlSize) controlSize;
+
+- (NSImage *) smallImage;
+- (void) setSmallImage:(NSImage *) image;
+
+- (NSToolbarItem *) toolbarItem;
+- (void) setToolbarItem:(NSToolbarItem *) item;
+
+- (BOOL) drawsArrow;
+- (void) setDrawsArrow:(BOOL) arrow;
+@end