include/SDL_video.h
changeset 10035 dd72e6df3655
parent 10029 4c992fd19316
child 10168 9e3144cb1032
equal deleted inserted replaced
10034:8764bcc13666 10035:dd72e6df3655
   864  *
   864  *
   865  *  If transparency isn't supported on this platform, opacity will be reported
   865  *  If transparency isn't supported on this platform, opacity will be reported
   866  *  as 1.0f without error.
   866  *  as 1.0f without error.
   867  *
   867  *
   868  *  \param window The window in question.
   868  *  \param window The window in question.
   869  *  \param opacity Opacity (0.0f - transparent, 1.0f - opaque)
   869  *  \param out_opacity Opacity (0.0f - transparent, 1.0f - opaque)
   870  *
   870  *
   871  *  \return 0 on success, or -1 on error (invalid window, etc).
   871  *  \return 0 on success, or -1 on error (invalid window, etc).
   872  *
   872  *
   873  *  \sa SDL_SetWindowOpacity()
   873  *  \sa SDL_SetWindowOpacity()
   874  */
   874  */
   875 extern DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window * window, float * out_opacity);
   875 extern DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window * window, float * out_opacity);
   876 
   876 
   877 /**
   877 /**
   878  *  \brief Sets the window as a modal for another window (@TODO: reconsider this function and/or its name)
   878  *  \brief Sets the window as a modal for another window (TODO: reconsider this function and/or its name)
   879  *
   879  *
   880  *  \param modal_window The window that should be modal
   880  *  \param modal_window The window that should be modal
   881  *  \param parent_window The parent window
   881  *  \param parent_window The parent window
   882  * 
   882  * 
   883  *  \return 0 on success, or -1 otherwise.
   883  *  \return 0 on success, or -1 otherwise.