1.1 --- a/include/SDL_video.h Fri Mar 08 23:04:53 2013 -0800
1.2 +++ b/include/SDL_video.h Fri Mar 08 23:33:07 2013 -0800
1.3 @@ -504,6 +504,9 @@
1.4 /**
1.5 * \brief Get the position of a window.
1.6 *
1.7 + * \param x Pointer to variable for storing the x position, may be NULL
1.8 + * \param y Pointer to variable for storing the y position, may be NULL
1.9 + *
1.10 * \sa SDL_SetWindowPosition()
1.11 */
1.12 extern DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window * window,
1.13 @@ -512,6 +515,9 @@
1.14 /**
1.15 * \brief Set the size of a window's client area.
1.16 *
1.17 + * \param w The width of the window, must be >0
1.18 + * \param h The height of the window, must be >0
1.19 + *
1.20 * \note You can't change the size of a fullscreen window, it automatically
1.21 * matches the size of the display mode.
1.22 *
1.23 @@ -523,6 +529,9 @@
1.24 /**
1.25 * \brief Get the size of a window's client area.
1.26 *
1.27 + * \param w Pointer to variable for storing the width, may be NULL
1.28 + * \param h Pointer to variable for storing the height, may be NULL
1.29 + *
1.30 * \sa SDL_SetWindowSize()
1.31 */
1.32 extern DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window * window, int *w,
1.33 @@ -530,6 +539,9 @@
1.34
1.35 /**
1.36 * \brief Set the minimum size of a window's client area.
1.37 + *
1.38 + * \param min_w The minimum width of the window, must be >0
1.39 + * \param min_h The minimum height of the window, must be >0
1.40 *
1.41 * \note You can't change the minimum size of a fullscreen window, it
1.42 * automatically matches the size of the display mode.
1.43 @@ -542,7 +554,10 @@
1.44
1.45 /**
1.46 * \brief Get the minimum size of a window's client area.
1.47 - *
1.48 + *
1.49 + * \param w Pointer to variable for storing the minimum width, may be NULL
1.50 + * \param h Pointer to variable for storing the minimum height, may be NULL
1.51 + *
1.52 * \sa SDL_GetWindowMaximumSize()
1.53 * \sa SDL_SetWindowMinimumSize()
1.54 */
1.55 @@ -552,6 +567,9 @@
1.56 /**
1.57 * \brief Set the maximum size of a window's client area.
1.58 *
1.59 + * \param max_w The maximum width of the window, must be >0
1.60 + * \param max_h The maximum height of the window, must be >0
1.61 + *
1.62 * \note You can't change the maximum size of a fullscreen window, it
1.63 * automatically matches the size of the display mode.
1.64 *
1.65 @@ -563,6 +581,9 @@
1.66
1.67 /**
1.68 * \brief Get the maximum size of a window's client area.
1.69 + *
1.70 + * \param w Pointer to variable for storing the maximum width, may be NULL
1.71 + * \param h Pointer to variable for storing the maximum height, may be NULL
1.72 *
1.73 * \sa SDL_GetWindowMinimumSize()
1.74 * \sa SDL_SetWindowMaximumSize()