include/SDL_video.h
changeset 3025 54fac87e1f34
parent 2990 502adab079a4
child 3033 4e4f47c5f941
     1.1 --- a/include/SDL_video.h	Sun Jan 11 23:56:19 2009 +0000
     1.2 +++ b/include/SDL_video.h	Mon Jan 12 06:19:05 2009 +0000
     1.3 @@ -1311,6 +1311,36 @@
     1.4   */
     1.5  extern DECLSPEC void SDLCALL SDL_DestroyRenderer(SDL_WindowID windowID);
     1.6  
     1.7 +/**
     1.8 + * \fn SDL_bool SDL_IsScreenSaverEnabled();
     1.9 + *
    1.10 + * \brief Returns whether the screensaver is currently enabled (default off).
    1.11 + *
    1.12 + * \sa SDL_EnableScreenSaver()
    1.13 + * \sa SDL_DisableScreenSaver()
    1.14 + */
    1.15 +extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled();
    1.16 +
    1.17 +/**
    1.18 + * \fn void SDL_EnableScreenSaver();
    1.19 + *
    1.20 + * \brief Allow the screen to be blanked by a screensaver
    1.21 + *
    1.22 + * \sa SDL_IsScreenSaverEnabled()
    1.23 + * \sa SDL_DisableScreenSaver()
    1.24 + */
    1.25 +extern DECLSPEC void SDLCALL SDL_EnableScreenSaver();
    1.26 +
    1.27 +/**
    1.28 + * \fn void SDL_DisableScreenSaver();
    1.29 + *
    1.30 + * \brief Prevent the screen from being blanked by a screensaver
    1.31 + *
    1.32 + * \sa SDL_IsScreenSaverEnabled()
    1.33 + * \sa SDL_EnableScreenSaver()
    1.34 + */
    1.35 +extern DECLSPEC void SDLCALL SDL_DisableScreenSaver();
    1.36 +
    1.37  
    1.38  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    1.39  /* OpenGL support functions.                                                 */