Last change
on this file since 384 was 131, checked in by Nicholas Riley, 22 years ago |
PSPreferencesController.[hm]: Added support for registering hot keys;
not the most elegant thing in the world, but much better than it was
in the prototype. Triggered by +readPreferences.
NJRHotKeyField.[hm]: Replaced model components (wow, was that ever
dumb) by NJRHotKey reference, eliminating cumbersome archiving model.
Added accessors for hot key.
NJRHotKeyManager.[hm]: Ported Quentin Carnicelli's HotKeyCenter code
to use NJRHotKey, cleaned up, and removed reverse-engineered pre-10.2
support.
NJRHotKey.[hm]: New. Provides Cocoa-centric storage for
three-component hot keys, mapping from Cocoa to Carbon modifiers.
PSApplication.m: Reorganized. Added invocation of
+[PSPreferencesController readPreferences].
Fixes bug 29.
|
File size:
558 bytes
|
Rev | Line | |
---|
[129] | 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;
|
---|
[130] | 15 | NSCharacterSet *textRejectSet;
|
---|
| 16 | NSCharacterSet *commandRejectSet;
|
---|
| 17 | NSCharacterSet *commandShiftRejectSet;
|
---|
| 18 | NSCharacterSet *commandOptionRejectSet;
|
---|
[129] | 19 | }
|
---|
| 20 |
|
---|
[131] | 21 | + (void)readPreferences;
|
---|
| 22 |
|
---|
[130] | 23 | - (IBAction)hotKeySet:(NJRHotKeyField *)sender;
|
---|
| 24 |
|
---|
[129] | 25 | @end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.