forked from flit/MidiKeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Preferences.h
65 lines (51 loc) · 1.89 KB
/
Preferences.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
62
63
64
//
// Preferences.h
// MidiKeys
//
// Created by Chris Reed on Thu Jan 09 2003.
// Copyright (c) 2002-2003 Chris Reed. All rights reserved.
//
//! @name Preference Keys
//@{
// Preferences without direct user control
#define kVelocityPrefKey @"Velocity"
#define kChannelPrefKey @"Channel"
#define kOctaveOffsetPrefKey @"OctaveOffset"
#define kDestinationPrefKey @"DestinationUID"
#define kSourcePrefKey @"SourceUID"
#define kIsWindowToggledPrefKey @"IsWindowToggled"
#define kMidiThruPrefKey @"MidiThru"
#define kOverlayTimeoutPrefKey @"OverlayTimeout"
// Preferences set in the Preferences panel
#define kKeyMapPrefKey @"KeyMap"
#define kHighlightColourPrefKey @"HighlightColour"
#define kUseHotKeysPrefKey @"UseHotKeys"
#define kFloatWindowPrefKey @"Floating"
#define kWindowTransparencyPrefKey @"WindowTransparency"
#define kHotKeysModifiersPrefKey @"HotKeysModifiers"
#define kSolidOnTopPrefKey @"SolidOnTop"
#define kClickThroughPrefKey @"ClickThrough"
#define SHOW_HOT_KEYS_OVERLAYS_PREF_KEY @"ShowHotKeysTogglingOverlays"
#define SHOW_OCTAVE_SHIFT_OVERLAYS_PREF_KEY @"ShowOctaveShiftOverlays"
#define SHOW_VELOCITY_OVERLAYS_PREF_KEY @"ShowVelocityOverlays"
#define kShowKeyCapsPrefKey @"ShowKeyCaps"
#define kToggleHotKeysShortcutPrefKey @"ToggleHotKeysShortcut"
// Dictionary keys for shortcut preferences.
#define SHORTCUT_FLAGS_KEY @"flags"
#define SHORTCUT_KEYCODE_KEY @"keycode"
// Hidden preferences
#define kVelocityRepeatIntervalPrefKey @"VelocityRepeatInterval"
#define kVelocityHotKeyDeltaPrefKey @"VelocityHotKeyDelta"
//@}
//! @name Preference Defaults
//@{
// Default values for preferences
#define kDefaultHighlightRed 0.0
#define kDefaultHighlightGreen 1.0
#define kDefaultHighlightBlue 0.0
#define kDefaultHighlightTransparency 0.75
#define kDefaultWindowTransparency 1.0
#define kDefaultHotKeysModifiers 0
#define kDefaultVelocityRepeatInterval 0.25
#define kDefaultVelocityHotKeyDelta 10.0
//@}