#include "../../SDL_internal.h"
#include "SDL_opengl.h"
#include <ApplicationServices/ApplicationServices.h>
#include <IOKit/pwr_mgt/IOPMLib.h>
#include <Cocoa/Cocoa.h>
#include "SDL_keycode.h"
#include "../SDL_sysvideo.h"
#include "SDL_cocoaclipboard.h"
#include "SDL_cocoaevents.h"
#include "SDL_cocoakeyboard.h"
#include "SDL_cocoamodes.h"
#include "SDL_cocoamouse.h"
#include "SDL_cocoaopengl.h"
#include "SDL_cocoawindow.h"
Go to the source code of this file.
#define DECLARE_ALERT_STYLE |
( |
|
name | ) |
static const NSUInteger NSAlertStyle##name = NS##name##AlertStyle |
#define DECLARE_EVENT |
( |
|
name | ) |
static const NSEventType NSEventType##name = NS##name |
#define DECLARE_MODIFIER_FLAG |
( |
|
name | ) |
static const NSUInteger NSEventModifierFlag##name = NS##name##KeyMask |
#define DECLARE_WINDOW_MASK |
( |
|
name | ) |
static const unsigned int NSWindowStyleMask##name = NS##name##WindowMask |
DECLARE_ALERT_STYLE |
( |
Warning |
| ) |
|
DECLARE_ALERT_STYLE |
( |
Informational |
| ) |
|
DECLARE_ALERT_STYLE |
( |
Critical |
| ) |
|
DECLARE_EVENT |
( |
LeftMouseDown |
| ) |
|
DECLARE_EVENT |
( |
LeftMouseUp |
| ) |
|
DECLARE_EVENT |
( |
RightMouseDown |
| ) |
|
DECLARE_EVENT |
( |
RightMouseUp |
| ) |
|
DECLARE_EVENT |
( |
OtherMouseDown |
| ) |
|
DECLARE_EVENT |
( |
OtherMouseUp |
| ) |
|
DECLARE_EVENT |
( |
MouseMoved |
| ) |
|
DECLARE_EVENT |
( |
LeftMouseDragged |
| ) |
|
DECLARE_EVENT |
( |
RightMouseDragged |
| ) |
|
DECLARE_EVENT |
( |
OtherMouseDragged |
| ) |
|
DECLARE_EVENT |
( |
ScrollWheel |
| ) |
|
DECLARE_EVENT |
( |
KeyDown |
| ) |
|
DECLARE_EVENT |
( |
FlagsChanged |
| ) |
|
DECLARE_MODIFIER_FLAG |
( |
Shift |
| ) |
|
DECLARE_MODIFIER_FLAG |
( |
Control |
| ) |
|
DECLARE_MODIFIER_FLAG |
( |
Command |
| ) |
|
DECLARE_MODIFIER_FLAG |
( |
NumericPad |
| ) |
|
DECLARE_MODIFIER_FLAG |
( |
Help |
| ) |
|
DECLARE_MODIFIER_FLAG |
( |
Function |
| ) |
|
DECLARE_WINDOW_MASK |
( |
Borderless |
| ) |
|
DECLARE_WINDOW_MASK |
( |
Titled |
| ) |
|
DECLARE_WINDOW_MASK |
( |
Closable |
| ) |
|
DECLARE_WINDOW_MASK |
( |
Miniaturizable |
| ) |
|
DECLARE_WINDOW_MASK |
( |
Resizable |
| ) |
|
DECLARE_WINDOW_MASK |
( |
TexturedBackground |
| ) |
|
DECLARE_WINDOW_MASK |
( |
UnifiedTitleAndToolbar |
| ) |
|
DECLARE_WINDOW_MASK |
( |
FullScreen |
| ) |
|
const NSEventMask NSEventMaskAny = NSAnyEventMask |
|
static |
const NSUInteger NSEventModifierFlagCapsLock = NSAlphaShiftKeyMask |
|
static |
const NSUInteger NSEventModifierFlagOption = NSAlternateKeyMask |
|
static |
const unsigned int NSWindowStyleMaskDocModalWindow = NSDocModalWindowMask |
|
static |
const unsigned int NSWindowStyleMaskHUDWindow = NSHUDWindowMask |
|
static |
const unsigned int NSWindowStyleMaskUtilityWindow = NSUtilityWindowMask |
|
static |