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;
117#if MAC_OS_X_VERSION_MAX_ALLOWED < 101100
118#define NSEventSubtypeTouch NSTouchEventSubtype
119#define NSEventSubtypeMouseEvent NSMouseEventSubtype
static const unsigned int NSWindowStyleMaskUtilityWindow
static const unsigned int NSWindowStyleMaskDocModalWindow
#define DECLARE_MODIFIER_FLAG(name)
static const NSUInteger NSEventModifierFlagCapsLock
static const unsigned int NSWindowStyleMaskHUDWindow
static const NSUInteger NSEventModifierFlagOption
#define DECLARE_WINDOW_MASK(name)
#define DECLARE_ALERT_STYLE(name)
static const NSEventMask NSEventMaskAny
NSImage * Cocoa_CreateImage(SDL_Surface *surface)
#define DECLARE_EVENT(name)
A collection of pixels used in software blitting.
SDLTranslatorResponder * fieldEdit
BOOL(WINAPI *CloseTouchInputHandle)(HTOUCHINPUT)
IOPMAssertionID screensaver_assertion
BOOL screensaver_use_iopm
unsigned int modifierFlags
Uint32 screensaver_activity
NSInteger clipboard_count