|
Size: 792
Comment: added DRAFT to top for removal after page is edited
|
Size: 643
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to return whether the screensaver is currently enabled __(default off)__. | Use this function to return whether the screensaver is currently enabled. |
| Line 16: | Line 15: |
| Returns true if the screen saver is enabled, false if it is disabled. | Returns SDL_TRUE if the screensaver is enabled, SDL_FALSE if it is disabled. |
| Line 24: | Line 23: |
| ''You can add useful comments here'' __Should "(default off)" from above be moved down here?__ |
The screensaver is enabled by default. |
SDL_IsScreenSaverEnabled
Use this function to return whether the screensaver is currently enabled.
Syntax
SDL_bool SDL_IsScreenSaverEnabled(void)
Return Value
Returns SDL_TRUE if the screensaver is enabled, SDL_FALSE if it is disabled.
Code Examples
You can add your code example here
Remarks
The screensaver is enabled by default.
