src/video/SDL_sysvideo.h
changeset 8340 e470405f3ae9
parent 8337 4a67a3cca43d
parent 6662 698c2e533a7e
child 8373 46d45dfa5fc7
     1.1 --- a/src/video/SDL_sysvideo.h	Sun Nov 04 13:22:40 2012 -0500
     1.2 +++ b/src/video/SDL_sysvideo.h	Mon Nov 12 13:25:44 2012 -0500
     1.3 @@ -191,7 +191,7 @@
     1.4      void (*SetWindowFullscreen) (_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
     1.5      int (*SetWindowGammaRamp) (_THIS, SDL_Window * window, const Uint16 * ramp);
     1.6      int (*GetWindowGammaRamp) (_THIS, SDL_Window * window, Uint16 * ramp);
     1.7 -    void (*SetWindowGrab) (_THIS, SDL_Window * window);
     1.8 +    void (*SetWindowGrab) (_THIS, SDL_Window * window, SDL_bool grabbed);
     1.9      void (*DestroyWindow) (_THIS, SDL_Window * window);
    1.10      int (*CreateWindowFramebuffer) (_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
    1.11      int (*UpdateWindowFramebuffer) (_THIS, SDL_Window * window, SDL_Rect * rects, int numrects);
    1.12 @@ -236,10 +236,9 @@
    1.13      void (*SetTextInputRect) (_THIS, SDL_Rect *rect);
    1.14  
    1.15      /* Screen keyboard */
    1.16 -    SDL_bool (*SDL_HasScreenKeyboardSupport) (_THIS, SDL_Window *window);
    1.17 -    int (*SDL_ShowScreenKeyboard) (_THIS, SDL_Window *window);
    1.18 -    int (*SDL_HideScreenKeyboard) (_THIS, SDL_Window *window);
    1.19 -    int (*SDL_ToggleScreenKeyboard) (_THIS, SDL_Window *window);
    1.20 +    SDL_bool (*SDL_HasScreenKeyboardSupport) (_THIS);
    1.21 +    void (*SDL_ShowScreenKeyboard) (_THIS, SDL_Window *window);
    1.22 +    void (*SDL_HideScreenKeyboard) (_THIS, SDL_Window *window);
    1.23      SDL_bool (*SDL_IsScreenKeyboardShown) (_THIS, SDL_Window *window);
    1.24  
    1.25      /* Clipboard */
    1.26 @@ -368,6 +367,7 @@
    1.27  extern void SDL_OnWindowRestored(SDL_Window * window);
    1.28  extern void SDL_OnWindowFocusGained(SDL_Window * window);
    1.29  extern void SDL_OnWindowFocusLost(SDL_Window * window);
    1.30 +extern void SDL_UpdateWindowGrab(SDL_Window * window);
    1.31  extern SDL_Window * SDL_GetFocusWindow(void);
    1.32  
    1.33  #endif /* _SDL_sysvideo_h */