comparison src/video/win32/SDL_win32window.h @ 1722:5daa04d862f1 SDL-1.3

Added a userdata parameter for event filters. Added a function to filter the existing queued events. Added explicit support for relative mouse mode to the API.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 30 Jun 2006 08:18:44 +0000
parents a1ebb17f9c52
children 6c63fc2bd986
comparison
equal deleted inserted replaced
1721:1cc762cafff8 1722:5daa04d862f1
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 30 typedef struct
31 { 31 {
32 SDL_Window *window; 32 SDL_WindowID windowID;
33 HWND hwnd; 33 HWND hwnd;
34 WNDPROC wndproc; 34 WNDPROC wndproc;
35 BOOL created; 35 BOOL created;
36 struct SDL_VideoData *videodata;
36 } SDL_WindowData; 37 } SDL_WindowData;
37 38
38 extern int WIN_CreateWindow(_THIS, SDL_Window * window); 39 extern int WIN_CreateWindow(_THIS, SDL_Window * window);
39 extern int WIN_CreateWindowFrom(_THIS, SDL_Window * window, const void *data); 40 extern int WIN_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
40 extern void WIN_SetWindowTitle(_THIS, SDL_Window * window); 41 extern void WIN_SetWindowTitle(_THIS, SDL_Window * window);