Exemple #1
0
// IsScreenSaverEnabled returns true if the screensaver is currently enabled.
func IsScreenSaverEnabled() bool {
	if C.SDL_IsScreenSaverEnabled() == C.SDL_TRUE {
		return true
	}
	return false

}
Exemple #2
0
func IsScreenSaverEnabled() bool {
	return int(C.SDL_IsScreenSaverEnabled()) != 0
}
Exemple #3
0
func IsScreenSaverEnabled() bool {
	return C.SDL_IsScreenSaverEnabled() == C.SDL_TRUE
}