Added ant.xml, bsod.xml, compass.xml, and flag.xml (courtesy of James
2000-08-10 Bradford Hovinen <hovinen@helixcode.com> * screensavers/Makefile.am (Screensavers_DATA): Added ant.xml, bsod.xml, compass.xml, and flag.xml (courtesy of James Antill <james@and.org>)
This commit is contained in:
parent
f03d61be34
commit
ce4b140d24
6 changed files with 178 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
2000-08-10 Bradford Hovinen <hovinen@helixcode.com>
|
||||
|
||||
* screensavers/Makefile.am (Screensavers_DATA): Added ant.xml,
|
||||
bsod.xml, compass.xml, and flag.xml (courtesy of James Antill
|
||||
<james@and.org>)
|
||||
|
||||
* screensaver-prefs-dialog.c (write_command_line): Fix memory leak
|
||||
(read_select): Disable all widgets associated with unselected
|
||||
nodes before enabling those associated with selected one
|
||||
|
|
|
@ -6,6 +6,10 @@ INCLUDES = \
|
|||
|
||||
Screensaversdir = $(datadir)/screensavers
|
||||
Screensavers_DATA = \
|
||||
ant.xml \
|
||||
bsod.xml \
|
||||
compass.xml \
|
||||
flag.xml \
|
||||
qix.xml \
|
||||
attraction.xml
|
||||
|
||||
|
@ -20,8 +24,17 @@ extract_labels_LDADD = \
|
|||
$(GNOME_LIBS) \
|
||||
$(GNOME_XML_LIB)
|
||||
|
||||
BUILT_SOURCES = qix.xml.h attraction.xml.h
|
||||
BUILT_SOURCES = ant.xml.h bsod.xml.h compass.xml.h flag.xml.h \
|
||||
qix.xml.h attraction.xml.h
|
||||
|
||||
ant.xml.h: ant.xml extract-labels
|
||||
./extract-labels ant.xml
|
||||
bsod.xml.h: bsod.xml extract-labels
|
||||
./extract-labels bsod.xml
|
||||
compass.xml.h: compass.xml extract-labels
|
||||
./extract-labels compass.xml
|
||||
flag.xml.h: flag.xml extract-labels
|
||||
./extract-labels flag.xml
|
||||
qix.xml.h: qix.xml extract-labels
|
||||
./extract-labels qix.xml
|
||||
attraction.xml.h: attraction.xml extract-labels
|
||||
|
|
74
capplets/screensaver/screensavers/ant.xml
Normal file
74
capplets/screensaver/screensavers/ant.xml
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<screensaver name="ant">
|
||||
<command arg="-root"/>
|
||||
|
||||
<!-- This is an XLOCKMORE based hack -->
|
||||
|
||||
<!-- Specific options for XLOCKMORE program ... -->
|
||||
|
||||
<boolean id="sharpturn" label="Sharp turns"
|
||||
arg-set="-sharpturns" test="sharpturns"/>
|
||||
<boolean id="truchet" label="Truchet lines"
|
||||
arg-set="-truchet" test="truchet"/>
|
||||
|
||||
<!-- Generic XLOCKMORE options... -->
|
||||
|
||||
<number id="speed" label="Speed" low-label="Slow" high-label="Fast"
|
||||
type="slider" low="0" high="80000" arg="-delay %"
|
||||
from-cli-conv="80000 - var" to-cli-conv="80000 - var"
|
||||
default="79000"/>
|
||||
<number id="cycles" label="Timeout" low-label="Small" high-label="Large"
|
||||
type="slider" low="0" high="8000000" arg="-cycles %"
|
||||
default="40000"/>
|
||||
|
||||
<hgroup>
|
||||
<select id="rand_count">
|
||||
<option id="rand" label="Random"/>
|
||||
<option id="specific" label="Specific"
|
||||
test="count" enable="count"/>
|
||||
</select>
|
||||
<number id="count" label="number of Ants"
|
||||
type="spinbutton" low="0" high="100" arg="-count %"
|
||||
default="1"/>
|
||||
</hgroup>
|
||||
|
||||
<hgroup>
|
||||
<select id="rand_size">
|
||||
<!-- <option id="rand" label="Random size upto" enable="neg_size"/> -->
|
||||
<option id="rand" label="Random size upto"/>
|
||||
<option id="specific" label="Specific size of"
|
||||
test="size > 0" enable="pos_size"/>
|
||||
</select>
|
||||
<!-- **** Need to be able to say "if rand: -size" -->
|
||||
<number id="size"
|
||||
type="spinbutton" low="0" high="18" arg="-size %"
|
||||
default="8"/>
|
||||
</hgroup>
|
||||
|
||||
<number id="ncolours" label="Number of colours"
|
||||
low-label="Two" high-label="Many"
|
||||
type="slider" low="2" high="16384" arg="-ncolors %"
|
||||
default="64"/>
|
||||
<select id="neighbors">
|
||||
<option id="rand" label="Randomize"/>
|
||||
<option id="three" label="Three Sided cells"
|
||||
arg-set="-neighbors 3" test="neighbors = 3"/>
|
||||
<option id="four" label="Four Sided cells"
|
||||
arg-set="-neighbors 4" test="neighbors = 4"/>
|
||||
<option id="six" label="Six Sided cells" enable="sharpturn"
|
||||
arg-set="-neighbors 6" test="neighbors = 6"/>
|
||||
<option id="nine" label="Nine Sided cells"
|
||||
arg-set="-neighbors 9" test="neighbors = 9"/>
|
||||
<option id="twelve" label="Twelve Sided cells" enable="sharpturn"
|
||||
arg-set="-neighbors 12" test="neighbors = 12"/>
|
||||
</select>
|
||||
|
||||
<select id="use_color">
|
||||
<option id="mono" label="Monochrome" arg-set="-mono" test="mono"/>
|
||||
<option id="color" label="Full Color" enable="ncolours"/>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</screensaver>
|
13
capplets/screensaver/screensavers/bsod.xml
Normal file
13
capplets/screensaver/screensavers/bsod.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<screensaver name="BSOD">
|
||||
<command arg="-root"/>
|
||||
<!-- goes from 3 ... INT_MAX -->
|
||||
<number id="speed" label="Speed" low-label="Slow" high-label="Fast"
|
||||
type="slider" low="0" high="20003" default="10000" arg="-delay %"
|
||||
from-cli-conv="20000 - var" to-cli-conv="20000 - var"/>
|
||||
<select id="use_color">
|
||||
<option id="color" label="Full Color"/>
|
||||
<option id="mono" label="Monochrome" arg-set="-mono" test="mono"/>
|
||||
</select>
|
||||
</screensaver>
|
16
capplets/screensaver/screensavers/compass.xml
Normal file
16
capplets/screensaver/screensavers/compass.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<screensaver name="compass">
|
||||
<command arg="-root"/>
|
||||
<select id="use_db">
|
||||
<option id="db" label="Use double buffering"/>
|
||||
<option id="nodb" label="Don't use double bufferinge" arg-set="-no-db" test="no-db"/>
|
||||
</select>
|
||||
<number id="speed" label="Speed" low-label="Slow" high-label="Fast"
|
||||
type="slider" low="0" high="20000" default="10000" arg="-delay %"
|
||||
from-cli-conv="20000 - var" to-cli-conv="20000 - var"/>
|
||||
<select id="use_color">
|
||||
<option id="color" label="Full Color"/>
|
||||
<option id="mono" label="Monochrome" arg-set="-mono" test="mono"/>
|
||||
</select>
|
||||
</screensaver>
|
57
capplets/screensaver/screensavers/flag.xml
Normal file
57
capplets/screensaver/screensavers/flag.xml
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<screensaver name="flag">
|
||||
<command arg="-root"/>
|
||||
|
||||
<!-- This is an XLOCKMORE based hack -->
|
||||
|
||||
<!-- Specific options for XLOCKMORE program ... -->
|
||||
|
||||
<!-- Neither of these can be done currently...
|
||||
******************************************
|
||||
<string id="text" label="Text for flag"
|
||||
arg-set="-text" test="text"/>
|
||||
<picture id="bitmap" type="xbm" label="Bitmap for flag"
|
||||
arg-set="-bitmap" test="bitmap"/>
|
||||
******************************************
|
||||
-->
|
||||
|
||||
|
||||
<!-- Generic XLOCKMORE options... -->
|
||||
|
||||
<number id="speed" label="Speed" low-label="Slow" high-label="Fast"
|
||||
type="slider" low="0" high="80000" arg="-delay %"
|
||||
from-cli-conv="80000 - var" to-cli-conv="80000 - var"
|
||||
default="79000"/>
|
||||
<number id="cycles" label="Timeout" low-label="Small" high-label="Large"
|
||||
type="slider" low="0" high="8000000" arg="-cycles %"
|
||||
default="40000"/>
|
||||
|
||||
<hgroup>
|
||||
<select id="rand_size">
|
||||
<option id="rand" label="Random size upto" enable="neg_size"/>
|
||||
<option id="specific" label="Specific size of"
|
||||
test="size > 0" enable="pos_size"/>
|
||||
</select>
|
||||
<!-- **** Need to be able to say "if rand: -size" -->
|
||||
<number id="pos_size"
|
||||
type="spinbutton" low="0" high="18" arg="-size %"
|
||||
default="8"/>
|
||||
<number id="neg_size"
|
||||
type="spinbutton" low="0" high="18" arg="-size -%"
|
||||
default="12"/>
|
||||
</hgroup>
|
||||
|
||||
<number id="ncolours" label="Number of colours"
|
||||
low-label="Two" high-label="Many"
|
||||
type="slider" low="2" high="16384" arg="-ncolors %"
|
||||
default="64"/>
|
||||
|
||||
<select id="use_color">
|
||||
<option id="color" label="Full Color"/>
|
||||
<option id="mono" label="Monochrome" arg-set="-mono" test="mono"/>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</screensaver>
|
Loading…
Add table
Add a link
Reference in a new issue