mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Add new names for NSEventModifierFlags from macOS 10.12
This commit is contained in:
parent
affa447f7d
commit
157695e2cb
1 changed files with 11 additions and 1 deletions
|
@ -183,7 +183,17 @@ enum {
|
|||
NSCommandKeyMask = 16 << 16,
|
||||
NSNumericPadKeyMask = 32 << 16,
|
||||
NSHelpKeyMask = 64 << 16,
|
||||
NSFunctionKeyMask = 128 << 16
|
||||
NSFunctionKeyMask = 128 << 16,
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
|
||||
NSEventModifierFlagCapsLock = NSAlphaShiftKeyMask,
|
||||
NSEventModifierFlagShift = NSShiftKeyMask,
|
||||
NSEventModifierFlagControl = NSControlKeyMask,
|
||||
NSEventModifierFlagOption = NSAlternateKeyMask,
|
||||
NSEventModifierFlagCommand = NSCommandKeyMask,
|
||||
NSEventModifierFlagNumericPad = NSNumericPadKeyMask,
|
||||
NSEventModifierFlagFunction = NSFunctionKeyMask,
|
||||
NSEventModifierFlagDeviceIndependentFlagsMask = NSDeviceIndependentModifierFlagsMask,
|
||||
#endif
|
||||
};
|
||||
typedef NSUInteger NSEventModifierFlags;
|
||||
|
||||
|
|
Loading…
Reference in a new issue