Ignore:
Timestamp:
04/01/03 16:51:39 (21 years ago)
Author:
Nicholas Riley
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/NJRHotKeyField.h

    r129 r130  
    1818- (IBAction)clear:(id)sender;
    1919
     20- (NSDictionary *)propertyListRepresentation;
     21- (void)setFromPropertyList:(NSDictionary *)dict;
     22
    2023@end
     24
     25@interface NSObject (NJRHotKeyFieldDelegate)
     26
     27- (BOOL)hotKeyField:(NJRHotKeyField *)hotKeyField shouldAcceptCharacter:(unichar)keyChar modifierFlags:(unsigned)modifierFlags rejectionMessage:(NSString **)message;
     28
     29@end
Note: See TracChangeset for help on using the changeset viewer.