Changed Start/StopTextInput back to not take any parameters.

We call SDL_GetKeyboardFocus internally now.
This commit is contained in:
dewyatt 2010-07-12 14:17:43 -04:00
parent 3d5a6d8597
commit 7e8c791089
7 changed files with 31 additions and 23 deletions

View file

@ -140,14 +140,14 @@ extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDLKey key);
* \sa SDL_StopTextInput()
* \sa SDL_SetTextInputRect()
*/
extern DECLSPEC void SDLCALL SDL_StartTextInput(SDL_Window *window);
extern DECLSPEC void SDLCALL SDL_StartTextInput(void);
/**
* \brief Stop receiving any text input events.
*
* \sa SDL_StartTextInput()
*/
extern DECLSPEC void SDLCALL SDL_StopTextInput(SDL_Window *window);
extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
/**
* \brief Set the rectangle used to type Unicode text inputs.