summaryrefslogtreecommitdiff
path: root/src/SDL2/include/SDL_messagebox.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-08-20 18:30:56 +0100
committerTim Angus <tim@ngus.net>2014-08-28 11:03:18 +0100
commit675c6f2daa7ba85d6e5cddbcbfdd01aaaa8c3601 (patch)
tree2ee3322d87431f3fada83cb8341b69edc38b4504 /src/SDL2/include/SDL_messagebox.h
parent4780cef266bfcad933e10129544a0eb5583991b6 (diff)
Update SDL2 headers... oops
Diffstat (limited to 'src/SDL2/include/SDL_messagebox.h')
-rw-r--r--src/SDL2/include/SDL_messagebox.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/SDL2/include/SDL_messagebox.h b/src/SDL2/include/SDL_messagebox.h
index 684e71ab..cb1a1ccf 100644
--- a/src/SDL2/include/SDL_messagebox.h
+++ b/src/SDL2/include/SDL_messagebox.h
@@ -1,6 +1,6 @@
/*
Simple DirectMedia Layer
- Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -28,9 +28,7 @@
#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
-/* *INDENT-OFF* */
extern "C" {
-/* *INDENT-ON* */
#endif
/**
@@ -58,7 +56,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 +105,8 @@ 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.
+ * \param buttonid The pointer to which user id of hit button should be copied.
*
* \return -1 on error, otherwise 0 and buttonid contains user id of button
* hit or -1 if dialog was closed.
@@ -136,9 +135,7 @@ extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *t
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
-/* *INDENT-OFF* */
}
-/* *INDENT-ON* */
#endif
#include "close_code.h"