ResKnife/Cocoa/Categories/NSEvent-ModifierKeys.h

11 lines
197 B
C
Raw Normal View History

2002-04-27 18:17:47 +00:00
#import <Carbon/Carbon.h>
#import <AppKit/AppKit.h>
@interface NSEvent (NGSModifierKeys)
2002-04-27 18:17:47 +00:00
+ (BOOL)isControlKeyDown;
+ (BOOL)isOptionKeyDown;
+ (BOOL)isCommandKeyDown;
+ (BOOL)isShiftKeyDown;
2002-04-27 18:17:47 +00:00
@end