summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-15 22:00:28 +0200
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-15 22:00:28 +0200
commitf9a69af2f035b33919909c64d3b61cdd37232f9f (patch)
treecb720936f75c938c2cccf9549dac9f831106b444
parent8da0b7d3013453d6a9259284bc78b7d7128f3034 (diff)
Fixed Doxygen warnings.
-rw-r--r--include/SDL_messagebox.h4
-rw-r--r--include/SDL_render.h2
-rw-r--r--include/SDL_video.h7
3 files changed, 10 insertions, 3 deletions
diff --git a/include/SDL_messagebox.h b/include/SDL_messagebox.h
index dd788cfadb..0fb2f53f1c 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 4532099131..39a7e40cae 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 4873da39b9..e731694cac 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
*