include/SDL_video.h
changeset 10027 f7ab0613164a
parent 10026 5f73f513b9f5
child 10028 da668b612d10
     1.1 --- a/include/SDL_video.h	Tue Jan 05 02:28:56 2016 -0500
     1.2 +++ b/include/SDL_video.h	Tue Apr 21 09:45:58 2015 -0400
     1.3 @@ -874,6 +874,16 @@
     1.4  extern DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window * window, float * out_opacity);
     1.5  
     1.6  /**
     1.7 + *  \brief Sets the window as a modal for another window (@TODO: reconsider this function and/or its name)
     1.8 + *
     1.9 + *  \param modal_window The window that should be modal
    1.10 + *  \param parent_window The parent window
    1.11 + * 
    1.12 + *  \return 0 on success, or -1 otherwise.
    1.13 + */
    1.14 +extern DECLSPEC int SDLCALL SDL_SetWindowModalFor(SDL_Window * modal_window, SDL_Window * parent_window);
    1.15 +
    1.16 +/**
    1.17   *  \brief Explicitly sets input focus to the window.
    1.18   *
    1.19   *  You almost certainly want SDL_RaiseWindow() instead of this function. Use