Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoamodes.h @ 1934:70139af5ac27
Implemented Mac OS X video mode selection.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jul 2006 07:21:16 +0000 |
parents | 103c6fec2a60 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
1933:7ee5297340f7 | 1934:70139af5ac27 |
---|---|
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 #ifndef _SDL_cocoamodes_h | 24 #ifndef _SDL_cocoamodes_h |
25 #define _SDL_cocoamodes_h | 25 #define _SDL_cocoamodes_h |
26 | 26 |
27 typedef struct | |
28 { | |
29 CGDirectDisplayID display; | |
30 } SDL_DisplayData; | |
31 | |
32 typedef struct | |
33 { | |
34 CFDictionaryRef moderef; | |
35 } SDL_DisplayModeData; | |
36 | |
27 extern void Cocoa_InitModes(_THIS); | 37 extern void Cocoa_InitModes(_THIS); |
28 extern void Cocoa_GetDisplayModes(_THIS); | 38 extern void Cocoa_GetDisplayModes(_THIS); |
29 extern int Cocoa_SetDisplayMode(_THIS, SDL_DisplayMode * mode); | 39 extern int Cocoa_SetDisplayMode(_THIS, SDL_DisplayMode * mode); |
30 extern void Cocoa_QuitModes(_THIS); | 40 extern void Cocoa_QuitModes(_THIS); |
31 | 41 |