Mercurial > sdl-ios-xcode
comparison test/testnative.h @ 3061:94dd49f6b005
More of the same
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 09 Feb 2009 06:42:38 +0000 |
parents | 79b061c4f316 |
children | e8916fe9cfc8 |
comparison
equal
deleted
inserted
replaced
3060:4cf533f434d8 | 3061:94dd49f6b005 |
---|---|
9 #include "SDL_syswm.h" | 9 #include "SDL_syswm.h" |
10 | 10 |
11 typedef struct | 11 typedef struct |
12 { | 12 { |
13 const char *tag; | 13 const char *tag; |
14 void *(*CreateWindow) (int w, int h); | 14 void *(*CreateNativeWindow) (int w, int h); |
15 void (*DestroyWindow) (void *window); | 15 void (*DestroyNativeWindow) (void *window); |
16 } NativeWindowFactory; | 16 } NativeWindowFactory; |
17 | 17 |
18 #ifdef SDL_VIDEO_DRIVER_WIN32 | 18 #ifdef SDL_VIDEO_DRIVER_WIN32 |
19 #define TEST_NATIVE_WIN32 | 19 #define TEST_NATIVE_WIN32 |
20 extern NativeWindowFactory Win32WindowFactory; | 20 extern NativeWindowFactory Win32WindowFactory; |