-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathQSMouseTriggerManager.h
61 lines (46 loc) · 1.91 KB
/
QSMouseTriggerManager.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
56
57
58
59
60
61
//
// QSMouseTriggerManager.h
// Quicksilver
//
// Created by Nicholas Jitkoff on Sun Jun 13 2004.
// Copyright (c) 2004 __MyCompanyName__. All rights reserved.
//
#import <QSCore/QSTriggerManager.h>
#import "QSMouseTriggerView.h"
@interface QSMouseTriggerManager : QSTriggerManager {
NSMutableDictionary *anchorWindows;
NSMutableDictionary *anchorArrays;
NSMutableArray *anywhereArray;
// IBOutlet NSView *settingsView;
// NSMutableDictionary *settingsSelection;
IBOutlet NSView *anchorView;
IBOutlet NSView *modifiersView;
IBOutlet NSPopUpButton *mouseTriggerTypePopUp;
IBOutlet NSPopUpButton *mouseTriggerScreenPopUp;
IBOutlet NSTextField *mouseTriggerClickCountField;
IBOutlet NSStepper *mouseTriggerClickCountStepper;
IBOutlet NSButton *mouseTriggerDelaySwitch;
IBOutlet NSTextField *mouseTriggerDelayField;
IBOutlet NSButton *menuBarAnchorButton;
IBOutlet NSButton *anywhereButton;
IBOutlet QSDesktopBackgroundView *desktopImageView;
id mouseTriggerObject;
BOOL multipleScreensExist;
}
+ (id)sharedInstance;
- (void)updateTriggerWindows;
- (NSString *)descriptionForTrigger:(NSDictionary *)dict;
- (IBAction) setMouseTriggerModifierFlag:(id)sender;
- (IBAction) setMouseTriggerAnchorMask:(id)sender;
- (IBAction) setMouseTriggerType:(id)sender;
- (IBAction) setMouseTriggerValueForSender:(id)sender;
- (void)populateInfoFields;
- (NSString *)descriptionForMouseTrigger:(NSDictionary *)dict;
- (void)handleMouseTriggerEvent:(NSEvent *)theEvent forView:(QSMouseTriggerView *)view;
- (void)handleMouseTriggerEvent:(NSEvent *)theEvent type:(NSEventType)type forView:(QSMouseTriggerView *)view;
- (id)mouseTriggerObject;
- (void)setMouseTriggerObject:(id)newMouseTriggerObject;
-(BOOL)isMainDisplay;
-(NSArray *)screensForScreenTag:(NSInteger)screenTag;
-(void)addTriggerDictionary:(QSTrigger *)entry toAnchorArray:(NSUInteger)anchor forScreens:(NSArray *)screens;
@end