include/SDL_video.h
branchgsoc2009_IME
changeset 3136 962357f325e1
parent 3135 f4e553ec6a62
     1.1 --- a/include/SDL_video.h	Thu Aug 06 08:56:48 2009 +0000
     1.2 +++ b/include/SDL_video.h	Thu Aug 06 08:59:53 2009 +0000
     1.3 @@ -1468,14 +1468,14 @@
     1.4  extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context);
     1.5  
     1.6  /**
     1.7 - * \fn void SDL_StartTextInput(SDL_WindowID windowID)
     1.8 + * \fn void SDL_StartTextInput(void)
     1.9   *
    1.10 - * \brief Start accepting Unicode text input events in given window.
    1.11 + * \brief Start accepting Unicode text input events.
    1.12   *
    1.13   * \sa SDL_StopTextInput()
    1.14   * \sa SDL_SetTextInputRect()
    1.15   */
    1.16 -extern DECLSPEC void SDLCALL SDL_StartTextInput(SDL_WindowID windowID);
    1.17 +extern DECLSPEC void SDLCALL SDL_StartTextInput(void);
    1.18  
    1.19  /**
    1.20   * \fn void SDL_StopTextInput(void)
    1.21 @@ -1495,6 +1495,13 @@
    1.22   */
    1.23  extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect);
    1.24  
    1.25 +/**
    1.26 + * \fn SDL_WindowID SDL_GetFocusWindow(void)
    1.27 + *
    1.28 + * \brief Get focused window.
    1.29 + */
    1.30 +extern DECLSPEC SDL_WindowID SDLCALL SDL_GetFocusWindow(void);
    1.31 +
    1.32  /* Ends C function definitions when using C++ */
    1.33  #ifdef __cplusplus
    1.34  /* *INDENT-OFF* */