aboutsummaryrefslogtreecommitdiff
path: root/VKPC/AXStatusItemPopup/Popover.h
blob: a3366fb441943780be20efa9425c197e6783bdae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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