test/testnative.h
changeset 3061 94dd49f6b005
parent 3059 79b061c4f316
child 5062 e8916fe9cfc8
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;