src/video/win32/SDL_win32window.h
branchSDL-1.3
changeset 1719 5b9f50c957ed
parent 1718 ed4d4f1ea201
child 1720 a1ebb17f9c52
equal deleted inserted replaced
1718:ed4d4f1ea201 1719:5b9f50c957ed
    25 #define _SDL_win32window_h
    25 #define _SDL_win32window_h
    26 
    26 
    27 #include "../SDL_sysvideo.h"
    27 #include "../SDL_sysvideo.h"
    28 #include "SDL_win32video.h"
    28 #include "SDL_win32video.h"
    29 
    29 
       
    30 typedef struct
       
    31 {
       
    32     SDL_Window *window;
       
    33     HWND hwnd;
       
    34     WNDPROC wndproc;
       
    35     BOOL created;
       
    36 } SDL_WindowData;
       
    37 
    30 extern int WIN_CreateWindow(_THIS, SDL_Window * window);
    38 extern int WIN_CreateWindow(_THIS, SDL_Window * window);
    31 extern int WIN_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
    39 extern int WIN_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
    32 extern void WIN_SetWindowTitle(_THIS, SDL_Window * window);
    40 extern void WIN_SetWindowTitle(_THIS, SDL_Window * window);
    33 extern void WIN_SetWindowPosition(_THIS, SDL_Window * window);
    41 extern void WIN_SetWindowPosition(_THIS, SDL_Window * window);
    34 extern void WIN_SetWindowSize(_THIS, SDL_Window * window);
    42 extern void WIN_SetWindowSize(_THIS, SDL_Window * window);