comparison src/video/uikit/SDL_uikitwindow.m @ 5254:7a963be087ef

Mostly fixed fullscreen mode on Mac OS X, and you can toggle it on and off. There are still some problems with the ConvertNSRect() calculations when switching video modes, which causes wierd window positioning issues, and the fullscreen window is still minimized on exit.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 00:25:44 -0800
parents 58265e606e4e
children 1b0de3574c58
comparison
equal deleted inserted replaced
5253:ff2564c24045 5254:7a963be087ef
62 } 62 }
63 63
64 window->driverdata = data; 64 window->driverdata = data;
65 65
66 window->flags &= ~SDL_WINDOW_RESIZABLE; /* window is NEVER resizeable */ 66 window->flags &= ~SDL_WINDOW_RESIZABLE; /* window is NEVER resizeable */
67 window->flags |= SDL_WINDOW_OPENGL; /* window is always OpenGL */
68 window->flags |= SDL_WINDOW_FULLSCREEN; /* window is always fullscreen */ 67 window->flags |= SDL_WINDOW_FULLSCREEN; /* window is always fullscreen */
69 window->flags |= SDL_WINDOW_SHOWN; /* only one window on iPod touch, always shown */ 68 window->flags |= SDL_WINDOW_SHOWN; /* only one window on iPod touch, always shown */
70 window->flags |= SDL_WINDOW_INPUT_FOCUS; /* always has input focus */ 69 window->flags |= SDL_WINDOW_INPUT_FOCUS; /* always has input focus */
71 70
72 // SDL_WINDOW_BORDERLESS controls whether status bar is hidden. 71 // SDL_WINDOW_BORDERLESS controls whether status bar is hidden.