comparison src/video/win32/SDL_win32video.h @ 2974:d2f68ec8c1d0

The mouse position is relative to the client window. Fixed setting the mouse focus when the mouse enters/leaves the window.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 03 Jan 2009 06:03:56 +0000
parents 99210400e8b9
children 6338b7f2d024
comparison
equal deleted inserted replaced
2973:ab0c00f1b070 2974:d2f68ec8c1d0
73 HCTX (*WTOpenA) (HWND, LPLOGCONTEXTA, BOOL); 73 HCTX (*WTOpenA) (HWND, LPLOGCONTEXTA, BOOL);
74 int (*WTPacket) (HCTX, UINT, LPVOID); 74 int (*WTPacket) (HCTX, UINT, LPVOID);
75 BOOL (*WTClose) (HCTX); 75 BOOL (*WTClose) (HCTX);
76 /* *INDENT-ON* */ 76 /* *INDENT-ON* */
77 77
78 int mouse;
79 int keyboard; 78 int keyboard;
80 SDL_scancode *key_layout; 79 SDL_scancode *key_layout;
81 } SDL_VideoData; 80 } SDL_VideoData;
82 81
83 #endif /* _SDL_win32video_h */ 82 #endif /* _SDL_win32video_h */