Example #1
0
File: video.go Project: salihdb/sdl
// IsScreenSaverEnabled returns true if the screensaver is currently enabled.
func IsScreenSaverEnabled() bool {
	if C.SDL_IsScreenSaverEnabled() == C.SDL_TRUE {
		return true
	}
	return false

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