Added "--allowscreensaver" option, which prevents Tux Paint from disabling

the screensaver or monitor power management while running.
(Requires SDL 1.2.12; can also be done by setting the
SDL_VIDEO_ALLOW_SCREENSAVER environment variable to '1' before running Tux Paint.)
This commit is contained in:
William Kendrick 2008-02-24 21:35:47 +00:00
parent a7d25d64bf
commit 88af19cac1
4 changed files with 63 additions and 6 deletions

View file

@ -9,7 +9,7 @@ http://www.tuxpaint.org/
$Id$
2008.February.22 (0.9.19)
2008.February.24 (0.9.19)
* New Localizations:
------------------
* Australian English
@ -75,6 +75,11 @@ $Id$
* System-Related Improvements:
----------------------------
* Added "--allowscreensaver" option, which prevents Tux Paint from disabling
the screensaver or monitor power management while running.
(Requires SDL 1.2.12; can also be done by setting the
SDL_VIDEO_ALLOW_SCREENSAVER environment variable to '1' before running Tux Paint.)
* Removed unfinished, unused record and playback code.
* Added authorization code to permit Fontconfig files to be installed

View file

@ -9,7 +9,7 @@
bill@newbreedsoftware.com
http://www.tuxpaint.org/
February 17, 2008
February 24, 2008
--------------------------------------------------------------------------
@ -105,6 +105,15 @@ Windows Users
screen's current resolution (overriding any "windowsize"
option), as set by the operating system.
allowscreensaver=yes
By default, Tux Paint prevents your system's screensaver from
starting up. You can override this by using the
"allowscreensaver" option. Note: This requires version 1.2.12 or
higher of the SDL library. (You can also do this by setting the
"SDL_VIDEO_ALLOW_SCREENSAVER" environment variable on your
system to "1".)
nosound=yes
Disable sound effects. (Note: Pressing [Alt] + [S] cannot be
used to reenable sounds if they were disabled using this
@ -671,6 +680,7 @@ Windows Users
--WIDTHxHEIGHT
--orient=portrait
--native
--allowscreensaver
--startblank
--nosound
--noquit
@ -712,6 +722,7 @@ Windows Users
--windowed
--800x600
--orient=landscape
--disablescreensaver
--startlast
--sound
--quit

View file

@ -23,7 +23,7 @@ New Breed Software</p>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a></p>
<p>February 17, 2008</p>
<p>February 24, 2008</p>
</center>
@ -145,6 +145,15 @@ New Breed Software</p>
"<code>windowsize</code>" option), as set by the operating system.
</dd>
<dt><code><b>allowscreensaver=yes</b></code></dt>
<dd>
<p>By default, <i>Tux&nbsp;Paint</i> prevents your system's screensaver
from starting up. You can override this by using the "<code>allowscreensaver</code>"
option. Note: This requires version 1.2.12 or higher of the SDL library.
(You can also do this by setting the "<code>SDL_VIDEO_ALLOW_SCREENSAVER</code>"
environment variable on your system to "<code>1</code>".)
</dd>
<dt><code><b>nosound=yes</b></code></dt>
<dd>
Disable sound effects. (Note: Pressing <b>[Alt]</b>&nbsp;+&nbsp;<b>[S]</b>
@ -1040,6 +1049,7 @@ New Breed Software</p>
--<i>WIDTH</i>x<i>HEIGHT</i><br>
--orient=portrait<br>
--native<br>
--allowscreensaver<br>
--startblank<br>
--nosound<br>
--noquit<br>
@ -1084,6 +1094,7 @@ New Breed Software</p>
--windowed<br>
--800x600<br>
--orient=landscape<br>
--disablescreensaver<br>
--startlast<br>
--sound<br>
--quit<br>