include/SDL_video.h
changeset 6681 5a0396a933b5
parent 6429 ff5e34883bf8
child 6755 af77e1a6faf0
     1.1 --- a/include/SDL_video.h	Wed Nov 21 23:00:06 2012 -0500
     1.2 +++ b/include/SDL_video.h	Sun Nov 18 15:45:12 2012 +0300
     1.3 @@ -517,6 +517,25 @@
     1.4   */
     1.5  extern DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window * window, int *w,
     1.6                                                 int *h);
     1.7 +    
     1.8 +/**
     1.9 + *  \brief Set the minimum size of a window's client area.
    1.10 + *
    1.11 + *  \note You can't change the minimum size of a fullscreen window, it
    1.12 + *        automatically matches the size of the display mode.
    1.13 + *
    1.14 + *  \sa SDL_GetWindowMinimumSize()
    1.15 + */
    1.16 +extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window,
    1.17 +                                                      int min_w, int min_h);
    1.18 +    
    1.19 +/**
    1.20 + *  \brief Get the minimum size of a window's client area.
    1.21 + *
    1.22 + *  \sa SDL_SetWindowMinimumSize()
    1.23 + */
    1.24 +extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window,
    1.25 +                                                      int *w, int *h);
    1.26  
    1.27  /**
    1.28   *  \brief Set the border state of a window.