NSWindow: define more NSWindowCollectionBehavior values

Define new values for the NSWindowCollectionBehavior enum for
compatibility purposes.
This commit is contained in:
Daniel Ferreira 2017-08-17 07:59:18 +10:00 committed by Ivan Vučica
parent 3e9cdce801
commit b09cdec727

View file

@ -141,6 +141,13 @@ enum {
NSWindowCollectionBehaviorFullScreenAuxiliary = 1 << 8
};
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_11, GS_API_LATEST)
enum
{
NSWindowCollectionBehaviorFullScreenAllowsTiling = 1 << 11,
NSWindowCollectionBehaviorFullScreenDisallowsTiling = 1 << 12
};
#endif
typedef NSUInteger NSWindowCollectionBehavior;
enum _NSSelectionDirection {
@ -160,7 +167,7 @@ enum _NSWindowButton
NSWindowDocumentIconButton
};
typedef NSUInteger NSWindowButton;
#endif
#endif
APPKIT_EXPORT NSSize NSIconSize;
APPKIT_EXPORT NSSize NSTokenSize;