forked from flit/MidiKeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PreferencesController.h
57 lines (46 loc) · 1.49 KB
/
PreferencesController.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
//
// PreferencesController.h
// MidiKeys
//
// Created by Chris Reed on Sat Oct 26 2002.
// Copyright (c) 2002 Chris Reed. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Preferences.h"
#import "SRRecorderControl.h"
/*!
* @brief Manages the preferences panel.
*/
@interface PreferencesController : NSWindowController
{
IBOutlet NSWindow * _prefsWindow;
IBOutlet NSPopUpButton *keymapPopup;
IBOutlet NSColorWell *highlightColourWell;
IBOutlet NSButton *useHotKeysCheckbox;
IBOutlet NSButton *floatWindowCheckbox;
IBOutlet NSSlider *windowTransparencySlider;
IBOutlet NSButton *controlModifierCheckbox;
IBOutlet NSButton *shiftModifierCheckbox;
IBOutlet NSButton *optionModifierCheckbox;
IBOutlet NSButton *commandModifierCheckbox;
IBOutlet NSButton *solidOnTopCheckbox;
IBOutlet NSButton * showKeyCapsCheckbox;
IBOutlet NSButton * _clickThroughCheckbox;
IBOutlet SRRecorderControl * _toggleHotKeysShortcut;
IBOutlet NSButton * _hotKeysOverlaysCheckbox;
IBOutlet NSButton * _octaveShiftOverlaysCheckbox;
IBOutlet NSButton * _velocityOverlaysCheckbox;
IBOutlet id delegate; //!< Preferences controller delegate.
}
@property(nonatomic, assign) id delegate; //!< Preferences controller delegate.
+ sharedInstance;
- init;
- (void)showPanel:(id)sender;
- (void)updateWindow;
- (BOOL)commitChanges;
- (IBAction)ok:(id)sender;
- (IBAction)cancel:(id)sender;
- (IBAction)keyboardFloatsDidChange:(id)sender;
@end
// Notification
extern NSString *kPreferencesChangedNotification;