-
Notifications
You must be signed in to change notification settings - Fork 35
/
VisorController.h
47 lines (43 loc) · 1.15 KB
/
VisorController.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
//
// VisorController.h
// Visor
//
// Created by Nicholas Jitkoff on 6/1/06.
// Copyright 2006 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class TermController;
@class TermDefaults;
@class InspectorController;
@class TTProfileManager;
#import "NDHotKeyEvent.h"
@interface VisorController : NSObject {
NSStatusItem *statusItem;
TermController *controller;
NSWindow *backgroundWindow;
IBOutlet NSWindow *prefsWindow;
IBOutlet NSMenu *statusMenu;
IBOutlet NSWindow *aboutWindow;
NDHotKeyEvent *hotkey;
NDHotKeyEvent *escapeKey;
InspectorController *inspector;
}
- (TermController *)controller;
- (void)setController:(TermController *)value;
- (IBAction)showPrefs:(id)sender;
- (IBAction)toggleVisor:(id)sender;
- (IBAction)setHotKey:(id)sender;
- (IBAction)chooseFile:(id)sender;
// added drp
- (IBAction)showAboutBox:(id)sender;
- (void)hideWindow;
- (void)showWindow;
- (void)enableHotKey;
- (void)initEscapeKey;
- (void)maybeEnableEscapeKey:(BOOL)enable;
- (void)activateStatusMenu;
- (NSWindow *)backgroundWindow;
- (void) setBackgroundWindow: (NSWindow *) newBackgroundWindow;
- (void)saveDefaults;
- (IBAction)inspect:(id)sender;
@end