include/SDL_messagebox.h
changeset 6613 0a8672b04b00
parent 6602 533131e24aeb
child 6679 9f0d4046f3d6
     1.1 --- a/include/SDL_messagebox.h	Sun Oct 28 19:28:44 2012 -0700
     1.2 +++ b/include/SDL_messagebox.h	Tue Oct 30 10:07:32 2012 -0700
     1.3 @@ -111,6 +111,11 @@
     1.4   *
     1.5   *  \return -1 on error, otherwise 0 and buttonid contains user id of button
     1.6   *          hit or -1 if dialog was closed.
     1.7 + *
     1.8 + *  \note This function should be called on the thread that created the parent
     1.9 + *        window, or on the main thread if the messagebox has no parent.  It will
    1.10 + *        block execution of that thread until the user clicks a button or
    1.11 + *        closes the messagebox.
    1.12   */
    1.13  extern DECLSPEC int SDLCALL SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
    1.14  
    1.15 @@ -123,6 +128,8 @@
    1.16   *  \param window   The parent window, or NULL for no parent
    1.17   *
    1.18   *  \return 0 on success, -1 on error
    1.19 + *
    1.20 + *  \sa SDL_ShowMessageBox
    1.21   */
    1.22  extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window);
    1.23