-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathOSViewController.h
55 lines (47 loc) · 1.99 KB
/
OSViewController.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#import "OSWallpaperView.h"
#import <UIKit/UIKit.h>
#import "OSSlider.h"
#import "OSDesktopPane.h"
#import "include.h"
#import "launchpad/OSIconContentView.h"
#import "missioncontrol/OSThumbnailView.h"
#import "missioncontrol/OSMCWindowLayoutManager.h"
#import "OSSwitcherBackgroundView.h"
#import <libactivator/libactivator.h>
#define windowConstraintsTopMargin 7
#define windowConstraintsBottomMargin 7
@class OSSlider, OSIconContentView;
@interface OSViewController : UIViewController <LAListener>{
OSSlider *_slider;
SBDockView *_dock;
OSIconContentView *_iconContentView;
BOOL _launchpadActive;
BOOL _launchpadAnimating;
BOOL _missionControlActive;
BOOL _missionControlAnimating;
OSSwitcherBackgroundView *_switcherBackgroundView;
UIView *_tempView;
}
@property (nonatomic, assign) OSSlider *slider;
@property (nonatomic, assign) SBDockView *dock;
@property (nonatomic, retain) OSIconContentView *iconContentView;
@property (nonatomic, readwrite, getter=launchpadIsActive) BOOL launchpadActive;
@property (nonatomic, readwrite, getter=launchpadIsAnimating) BOOL launchpadAnimating;
@property (nonatomic, readwrite, getter=missionControlIsActive) BOOL missionControlActive;
@property (nonatomic, readwrite, getter=missionControlIsAnimating) BOOL missionControlAnimating;
@property (nonatomic, retain) OSSwitcherBackgroundView *switcherBackgroundView;
@property (nonatomic, retain) UIView *tempView;
@property (nonatomic, readwrite) float _launchpadVisiblePercentage;
@property (nonatomic, readwrite) BOOL desktopShowsDock;
+ (id)sharedInstance;
- (void)setLaunchpadActive:(BOOL)activated animated:(BOOL)animated;
- (void)deactivateLaunchpadWithIconView:(SBIconView*)icon;
- (void)animateIconLaunch:(SBIconView*)iconView;
- (void)menuButtonPressed;
- (void)setDockPercentage:(float)percentage;
- (void)setMissionControlActive:(BOOL)active animated:(BOOL)animated;
- (CGRect)missionControlWindowConstraints;
- (void)setLaunchpadVisiblePercentage:(float)percentage;
- (void)handleUpGesture;
- (void)handleDownGesture;
@end