include/SDL_video.h
changeset 6788 036f53f2f5aa
parent 6787 95a4c5a5464c
child 6885 700f1b25f77f
equal deleted inserted replaced
6787:95a4c5a5464c 6788:036f53f2f5aa
   533  *
   533  *
   534  *  \note You can't change the minimum size of a fullscreen window, it
   534  *  \note You can't change the minimum size of a fullscreen window, it
   535  *        automatically matches the size of the display mode.
   535  *        automatically matches the size of the display mode.
   536  *
   536  *
   537  *  \sa SDL_GetWindowMinimumSize()
   537  *  \sa SDL_GetWindowMinimumSize()
       
   538  *  \sa SDL_SetWindowMaximumSize()
   538  */
   539  */
   539 extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window,
   540 extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window,
   540                                                       int min_w, int min_h);
   541                                                       int min_w, int min_h);
   541     
   542     
   542 /**
   543 /**
   543  *  \brief Get the minimum size of a window's client area.
   544  *  \brief Get the minimum size of a window's client area.
   544  *
   545  *
       
   546  *  \sa SDL_GetWindowMaximumSize()
   545  *  \sa SDL_SetWindowMinimumSize()
   547  *  \sa SDL_SetWindowMinimumSize()
   546  */
   548  */
   547 extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window,
   549 extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window,
       
   550                                                       int *w, int *h);
       
   551 
       
   552 /**
       
   553  *  \brief Set the maximum size of a window's client area.
       
   554  *
       
   555  *  \note You can't change the maximum size of a fullscreen window, it
       
   556  *        automatically matches the size of the display mode.
       
   557  *
       
   558  *  \sa SDL_GetWindowMaximumSize()
       
   559  *  \sa SDL_SetWindowMinimumSize()
       
   560  */
       
   561 extern DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window * window,
       
   562                                                       int max_w, int max_h);
       
   563     
       
   564 /**
       
   565  *  \brief Get the maximum size of a window's client area.
       
   566  *
       
   567  *  \sa SDL_GetWindowMinimumSize()
       
   568  *  \sa SDL_SetWindowMaximumSize()
       
   569  */
       
   570 extern DECLSPEC void SDLCALL SDL_GetWindowMaximumSize(SDL_Window * window,
   548                                                       int *w, int *h);
   571                                                       int *w, int *h);
   549 
   572 
   550 /**
   573 /**
   551  *  \brief Set the border state of a window.
   574  *  \brief Set the border state of a window.
   552  *
   575  *