ResKnife/Cocoa/Categories/NSEvent-ModifierKeys.h
2002-04-27 18:17:47 +00:00

11 lines
198 B
Objective-C

#import <Carbon/Carbon.h>
#import <AppKit/AppKit.h>
@interface NSEvent (ModifierKeys)
+ (BOOL) isControlKeyDown;
+ (BOOL) isOptionKeyDown;
+ (BOOL) isCommandKeyDown;
+ (BOOL) isShiftKeyDown;
@end