Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoawindow.h @ 3685:64ce267332c6
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 21 Jan 2010 06:21:52 +0000 |
parents | e829b6098435 |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3684:cc564f08884f | 3685:64ce267332c6 |
---|---|
67 @end | 67 @end |
68 /* *INDENT-ON* */ | 68 /* *INDENT-ON* */ |
69 | 69 |
70 struct SDL_WindowData | 70 struct SDL_WindowData |
71 { | 71 { |
72 SDL_WindowID windowID; | 72 SDL_Window *window; |
73 NSWindow *window; | 73 NSWindow *nswindow; |
74 SDL_bool created; | 74 SDL_bool created; |
75 CGDirectDisplayID display; | 75 CGDirectDisplayID display; |
76 Cocoa_WindowListener *listener; | 76 Cocoa_WindowListener *listener; |
77 struct SDL_VideoData *videodata; | 77 struct SDL_VideoData *videodata; |
78 }; | 78 }; |