Wiki Page Content

Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2009-11-19 19:04:07
Size: 490
Editor: SheenaSmith
Comment: create page, add content
Revision 7 as of 2014-06-22 02:36:17
Size: 570
Editor: dthree
Comment: Unsure if hint override is equivalent: SDL_SetHintWithPriority(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "0", SDL_HINT_OVERRIDE);
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to prevent the screen from being blanked by a screen saver . Use this function to prevent the screen from being blanked by a screen saver.
Line 16: Line 16:
You can add your code example here SDL_DisableScreenSaver();
Line 20: Line 20:
You can add useful comments here If you disable the screensaver, it is automatically re-enabled when SDL quits.
Line 25: Line 25:

----
[[CategoryAPI]], [[CategoryVideo]]

SDL_DisableScreenSaver

Use this function to prevent the screen from being blanked by a screen saver.

Syntax

void SDL_DisableScreenSaver(void)

Code Examples

SDL_DisableScreenSaver();

Remarks

If you disable the screensaver, it is automatically re-enabled when SDL quits.


CategoryAPI, CategoryVideo

None: SDL_DisableScreenSaver (last edited 2019-01-26 14:35:15 by haxpor)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit