Last change
on this file since 306 was 130, checked in by Nicholas Riley, 22 years ago |
PSPreferencesController.[hm]: Filter hot keys. Read and write to
preferences.
NJRHotKeyField.[hm]: Added property list serialization of hot key data
(not quite like PSAlarm/Alert because we're a GUI element). Added
delegate method for hot key filtering and action triggering when hot
key set or cleared. Only use filtered modifiers to avoid bizarre
behavior. More bug fixes.
English.lproj/Preferences.nib: Connected Clear button. Connected
NJRHotKeyField delegate and target to PSPreferencesController.
NSString-NJRExtensions.[hm]: Replaced "...modifierMask" with
"...modifierFlags" because it's more appropriate.
|
File size:
538 bytes
|
Rev | Line | |
---|
[129] | 1 | {
|
---|
| 2 | IBClasses = (
|
---|
| 3 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
---|
| 4 | {
|
---|
| 5 | ACTIONS = {clear = id; };
|
---|
| 6 | CLASS = NJRHotKeyField;
|
---|
| 7 | LANGUAGE = ObjC;
|
---|
| 8 | SUPERCLASS = NSTextField;
|
---|
| 9 | },
|
---|
| 10 | {
|
---|
[130] | 11 | ACTIONS = {hotKeySet = id; };
|
---|
[129] | 12 | CLASS = PSPreferencesController;
|
---|
| 13 | LANGUAGE = ObjC;
|
---|
| 14 | OUTLETS = {setAlarmHotKey = NJRHotKeyField; };
|
---|
| 15 | SUPERCLASS = NSWindowController;
|
---|
| 16 | }
|
---|
| 17 | );
|
---|
| 18 | IBVersion = 1;
|
---|
| 19 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.