diff 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
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamodes.h	Mon Jul 24 05:03:02 2006 +0000
+++ b/src/video/cocoa/SDL_cocoamodes.h	Mon Jul 24 07:21:16 2006 +0000
@@ -24,6 +24,16 @@
 #ifndef _SDL_cocoamodes_h
 #define _SDL_cocoamodes_h
 
+typedef struct
+{
+    CGDirectDisplayID display;
+} SDL_DisplayData;
+
+typedef struct
+{
+    CFDictionaryRef moderef;
+} SDL_DisplayModeData;
+
 extern void Cocoa_InitModes(_THIS);
 extern void Cocoa_GetDisplayModes(_THIS);
 extern int Cocoa_SetDisplayMode(_THIS, SDL_DisplayMode * mode);