This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Cleaned up a bunch of warnings, started adding Win32 event support
- Loading branch information
Showing
with
283 additions
and 106 deletions.
- +2 −11 include/SDL_config_win32.h
- +12 −0 include/SDL_video.h
- +7 −4 src/SDL_compat.c
- +40 −15 src/audio/SDL_mixer_MMX_VC.c
- +0 −5 src/events/SDL_events_c.h
- +0 −2 src/events/SDL_keyboard.c
- +3 −0 src/events/SDL_keyboard_c.h
- +1 −4 src/events/SDL_mouse.c
- +34 −0 src/events/SDL_windowevents_c.h
- +6 −2 src/video/SDL_blit_A.c
- +4 −4 src/video/SDL_renderer_sw.c
- +0 −1 src/video/SDL_surface.c
- +4 −7 src/video/SDL_sysvideo.h
- +8 −16 src/video/SDL_video.c
- +1 −2 src/video/dummy/SDL_nullrender.c
- +2 −9 src/video/dummy/SDL_nullvideo.c
- +0 −11 src/video/dummy/SDL_nullvideo.h
- +38 −0 src/video/win32/SDL_win32keyboard.c
- +31 −0 src/video/win32/SDL_win32keyboard.h
- +38 −0 src/video/win32/SDL_win32mouse.c
- +31 −0 src/video/win32/SDL_win32mouse.h
- +9 −7 src/video/win32/SDL_win32video.c
- +6 −2 src/video/win32/SDL_win32video.h
- +5 −3 src/video/win32/SDL_win32window.c
- +1 −1 src/video/win32/SDL_win32window.h
@@ -0,0 +1,34 @@ | ||
/* | ||
SDL - Simple DirectMedia Layer | ||
Copyright (C) 1997-2006 Sam Lantinga | ||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
Sam Lantinga | ||
slouken@libsdl.org | ||
*/ | ||
#include "SDL_config.h" | ||
|
||
#ifndef _SDL_windowevents_c_h | ||
#define _SDL_windowevents_c_h | ||
|
||
extern int SDL_SendWindowEvent(SDL_WindowID windowID, Uint8 windowevent, | ||
int data1, int data2); | ||
|
||
extern int SDL_SendSysWMEvent(SDL_SysWMmsg * message); | ||
|
||
#endif /* _SDL_windowevents_c_h */ | ||
|
||
/* vi: set ts=4 sw=4 expandtab: */ |
Oops, something went wrong.