Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoawindow.h @ 5251:58265e606e4e
Window coordinates are in the global space and windows are not tied to a particular display.
Also added Ctrl-Enter keybinding to the test code to toggle fullscreen mode for testing.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 10 Feb 2011 14:44:25 -0800 |
parents | 514f811a4887 |
children | 7a963be087ef |
comparison
equal
deleted
inserted
replaced
5250:329d435f97f4 | 5251:58265e606e4e |
---|---|
84 struct SDL_WindowData | 84 struct SDL_WindowData |
85 { | 85 { |
86 SDL_Window *window; | 86 SDL_Window *window; |
87 NSWindow *nswindow; | 87 NSWindow *nswindow; |
88 SDL_bool created; | 88 SDL_bool created; |
89 CGDirectDisplayID display; | |
90 Cocoa_WindowListener *listener; | 89 Cocoa_WindowListener *listener; |
91 struct SDL_VideoData *videodata; | 90 struct SDL_VideoData *videodata; |
92 }; | 91 }; |
93 | 92 |
94 extern int Cocoa_CreateWindow(_THIS, SDL_Window * window); | 93 extern int Cocoa_CreateWindow(_THIS, SDL_Window * window); |