diff options
Diffstat (limited to 'VKPC/AXStatusItemPopup/Popover.h')
-rw-r--r-- | VKPC/AXStatusItemPopup/Popover.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/VKPC/AXStatusItemPopup/Popover.h b/VKPC/AXStatusItemPopup/Popover.h new file mode 100644 index 0000000..a3366fb --- /dev/null +++ b/VKPC/AXStatusItemPopup/Popover.h @@ -0,0 +1,30 @@ +// +// Created by Alexander Schuch on 06/03/13. +// Modified by Eugene Zinoviev on 12/03/13. +// Copyright (c) 2013 Alexander Schuch. All rights reserved. +// Copyright (c) 2013-2014 Eugene Zinoviev. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +//#import "PopupControllerProtocol.h" +#import "PopoverController.h" + +@interface Popover : NSView + +@property(assign, nonatomic, getter=isActive) BOOL active; +@property(strong, nonatomic) NSImage *defaultImage; +@property(strong, nonatomic) NSImage *altImage; +@property(strong, nonatomic) NSImage *flatImage; +@property(strong, nonatomic) NSStatusItem *statusItem; +@property(strong) NSPopover *popover; + ++ (id)shared; +- (id)init; + +- (void)showPopover; +- (void)hidePopover; + +- (NSSize)getSize; +- (void)setSize:(NSSize)size animate:(BOOL)animate; + +@end |