1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
.TH al_inhibit_screensaver 3 "" "Allegro reference manual"
.SH NAME
.PP
al_inhibit_screensaver \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
bool\ al_inhibit_screensaver(bool\ inhibit)
\f[]
.fi
.SH DESCRIPTION
.PP
This function allows the user to stop the system screensaver from
starting up if true is passed, or resets the system back to the default
state (the state at program start) if false is passed.
It returns true if the state was set successfully, otherwise false.
|