diff options
Diffstat (limited to 'macosx/MVMenuButton.h')
-rw-r--r-- | macosx/MVMenuButton.h | 22 |
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 |