From 8c0f97816219e2b3dbb6fc48fd23de65598e88f7 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 15 May 2013 22:00:28 +0200 Subject: [PATCH] Fixed Doxygen warnings. --- include/SDL_messagebox.h | 4 ++-- include/SDL_render.h | 2 +- include/SDL_video.h | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/include/SDL_messagebox.h b/include/SDL_messagebox.h index dd788cfad..0fb2f53f1 100644 --- a/include/SDL_messagebox.h +++ b/include/SDL_messagebox.h @@ -58,7 +58,7 @@ typedef enum typedef struct { Uint32 flags; /**< ::SDL_MessageBoxButtonFlags */ - int buttonid; /**< User defined button id (value returned via SDL_MessageBox) */ + int buttonid; /**< User defined button id (value returned via SDL_ShowMessageBox) */ const char * text; /**< The UTF-8 button text */ } SDL_MessageBoxButtonData; @@ -107,7 +107,7 @@ typedef struct /** * \brief Create a modal message box. * - * \param messagebox The SDL_MessageBox structure with title, text, etc. + * \param messageboxdata The SDL_MessageBoxData structure with title, text, etc. * * \return -1 on error, otherwise 0 and buttonid contains user id of button * hit or -1 if dialog was closed. diff --git a/include/SDL_render.h b/include/SDL_render.h index 453209913..39a7e40ca 100644 --- a/include/SDL_render.h +++ b/include/SDL_render.h @@ -460,7 +460,7 @@ extern DECLSPEC int SDLCALL SDL_RenderSetLogicalSize(SDL_Renderer * renderer, in * * \sa SDL_RenderSetLogicalSize() */ -extern DECLSPEC void SDLCALL SDL_RenderGetLogicalSize(SDL_Renderer * renderer, int *w, int *y); +extern DECLSPEC void SDLCALL SDL_RenderGetLogicalSize(SDL_Renderer * renderer, int *w, int *h); /** * \brief Set the drawing area for rendering on the current target. diff --git a/include/SDL_video.h b/include/SDL_video.h index 4873da39b..e731694ca 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -504,6 +504,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowPosition(SDL_Window * window, /** * \brief Get the position of a window. * + * \param window The window to query. * \param x Pointer to variable for storing the x position, may be NULL * \param y Pointer to variable for storing the y position, may be NULL * @@ -515,6 +516,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window * window, /** * \brief Set the size of a window's client area. * + * \param window The window to resize. * \param w The width of the window, must be >0 * \param h The height of the window, must be >0 * @@ -529,6 +531,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowSize(SDL_Window * window, int w, /** * \brief Get the size of a window's client area. * + * \param window The window to query. * \param w Pointer to variable for storing the width, may be NULL * \param h Pointer to variable for storing the height, may be NULL * @@ -540,6 +543,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window * window, int *w, /** * \brief Set the minimum size of a window's client area. * + * \param window The window to set a new minimum size. * \param min_w The minimum width of the window, must be >0 * \param min_h The minimum height of the window, must be >0 * @@ -555,6 +559,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window * window, /** * \brief Get the minimum size of a window's client area. * + * \param window The window to query. * \param w Pointer to variable for storing the minimum width, may be NULL * \param h Pointer to variable for storing the minimum height, may be NULL * @@ -567,6 +572,7 @@ extern DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window * window, /** * \brief Set the maximum size of a window's client area. * + * \param window The window to set a new maximum size. * \param max_w The maximum width of the window, must be >0 * \param max_h The maximum height of the window, must be >0 * @@ -582,6 +588,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window * window, /** * \brief Get the maximum size of a window's client area. * + * \param window The window to query. * \param w Pointer to variable for storing the maximum width, may be NULL * \param h Pointer to variable for storing the maximum height, may be NULL *