home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/graphics.h>
- #import <appkit/Responder.h>
- #import <dpsclient/dpsclient.h>
-
- @interface ScreenLock:Responder
- {
- id lockMgr ; /* Lock manager */
- id quitOption ; /* Quit menu option */
- id lockOption ; /* Lock menu option */
- id hideOption ; /* Hide menu option */
- id waitWindow ; /* Lock window used to accept keypresses */
- char password [ 128 ] ; /* Password entry buffer */
- int passwordChars ; /* Number of characters in password buffer */
- double origLevel ; /* Brightness of screen before dimming */
- double lastLevel ; /* Current brightness of screen */
- double dimDelta ; /* Controls fading in and out */
-
- DPSTimedEntry timedEntry ; /* Moving message timed entry */
- BOOL isLocked ; /* Current lock status */
- NXRect screenRect ; /* Total screen space */
- }
-
- - init ;
- - lock: sender ;
- - unlock: sender ;
- - (BOOL) isLocked ;
-
- - keyDown: (NXEvent *) theEvent ;
- - (BOOL) acceptsFirstResponder ;
-
- - timer ;
- - interrupt ;
-
- @end
-