Mercurial > sdl-ios-xcode
diff src/events/SDL_keyboard_c.h @ 3685:64ce267332c6
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 21 Jan 2010 06:21:52 +0000 |
parents | 00cace2d9080 |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h Thu Jan 21 05:49:41 2010 +0000 +++ b/src/events/SDL_keyboard_c.h Thu Jan 21 06:21:52 2010 +0000 @@ -35,7 +35,7 @@ void (*FreeKeyboard) (SDL_Keyboard * keyboard); /* Data common to all keyboards */ - SDL_WindowID focus; + SDL_Window *focus; Uint16 modstate; Uint8 keystate[SDL_NUM_SCANCODES]; SDLKey keymap[SDL_NUM_SCANCODES]; @@ -73,7 +73,7 @@ extern void SDL_SetScancodeName(SDL_scancode scancode, const char *name); /* Set the keyboard focus window */ -extern void SDL_SetKeyboardFocus(int index, SDL_WindowID windowID); +extern void SDL_SetKeyboardFocus(int index, SDL_Window * window); /* Send a keyboard event for a keyboard at an index */ extern int SDL_SendKeyboardKey(int index, Uint8 state, SDL_scancode scancode);