source: trunk/Cocoa/Pester/Source/PSPreferencesController.h@ 130

Last change on this file since 130 was 130, checked in by Nicholas Riley, 21 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: 532 bytes
Line 
1//
2// PSPreferencesController.h
3// Pester
4//
5// Created by Nicholas Riley on Sat Mar 29 2003.
6// Copyright (c) 2003 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
10
11@class NJRHotKeyField;
12
13@interface PSPreferencesController : NSWindowController {
14 IBOutlet NJRHotKeyField *setAlarmHotKey;
15 NSCharacterSet *textRejectSet;
16 NSCharacterSet *commandRejectSet;
17 NSCharacterSet *commandShiftRejectSet;
18 NSCharacterSet *commandOptionRejectSet;
19}
20
21- (IBAction)hotKeySet:(NJRHotKeyField *)sender;
22
23@end
Note: See TracBrowser for help on using the repository browser.