21 #include "../../SDL_internal.h" 23 #ifndef SDL_cocoavideo_h_ 24 #define SDL_cocoavideo_h_ 28 #include <ApplicationServices/ApplicationServices.h> 29 #include <IOKit/pwr_mgt/IOPMLib.h> 30 #include <Cocoa/Cocoa.h> 33 #include "../SDL_sysvideo.h" 43 #ifndef MAC_OS_X_VERSION_10_12 44 #define DECLARE_EVENT(name) static const NSEventType NSEventType##name = NS##name 63 #define DECLARE_MODIFIER_FLAG(name) static const NSUInteger NSEventModifierFlag##name = NS##name##KeyMask 70 #undef DECLARE_MODIFIER_FLAG 74 #define DECLARE_WINDOW_MASK(name) static const unsigned int NSWindowStyleMask##name = NS##name##WindowMask 87 #undef DECLARE_WINDOW_MASK 89 #define DECLARE_ALERT_STYLE(name) static const NSUInteger NSAlertStyle##name = NS##name##AlertStyle 93 #undef DECLARE_ALERT_STYLE 98 @class SDLTranslatorResponder;
NSInteger clipboard_count
#define DECLARE_WINDOW_MASK(name)
static const NSEventMask NSEventMaskAny
SDLTranslatorResponder * fieldEdit
static const NSUInteger NSEventModifierFlagOption
A collection of pixels used in software blitting.
IOPMAssertionID screensaver_assertion
unsigned int modifierFlags
Uint32 screensaver_activity
NSImage * Cocoa_CreateImage(SDL_Surface *surface)
BOOL screensaver_use_iopm
BOOL(WINAPI *CloseTouchInputHandle)(HTOUCHINPUT)
static const NSUInteger NSEventModifierFlagCapsLock
#define DECLARE_EVENT(name)
static const unsigned int NSWindowStyleMaskHUDWindow
static const unsigned int NSWindowStyleMaskDocModalWindow
static const unsigned int NSWindowStyleMaskUtilityWindow
#define DECLARE_MODIFIER_FLAG(name)
#define DECLARE_ALERT_STYLE(name)