Re: [AD] Disable screensaver |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Disable screensaver
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Fri, 31 Oct 2008 16:25:25 -0600 (MDT)
On Fri, October 31, 2008 3:38 pm, Peter Wang said:
> What about: bool al_inhibit_screensaver(bool inhibit);
>
> Pass true to prevent the screensaver from kicking in while the
> program
> is running (not to change the system setting).
>
> Pass false to restore default behaviour.
>
> Peter
Ok, sounds good. Do we still need the function to query the state?
Trent :{)>