2001-08-09 Richard Hestilow <hestilow@ximian.com> * Makeflie.am (EXTRA_DIST): Install all pixmaps. (pixmaps_DATA): Add blank-screen.png. * pref-file.c: Replace "programs" value with a regenerated string. (print_aligned_row): Added. (print_list_to_str): Added. * preferences.h (Screensaver): Add new fields "filename", "compat_command_line", "fakepreview", and "fakes", to deal with the new xml storage. (Preferences): Add new fields "savers_hash" and "invalidsavers". * preferences.c (screensaver_list_prepend_dir): Added. (screensaver_cmp_func): Added. (screensaver_list_load): Added. (preferences_new): Initialize savers_hash. (clean_saver_list): Added. (preferences_load): Load screensavers from xml. (parse_arg_default): Added. (screensaver_read_xml): Updated for the new format. (screensaver_new_from_file): Added. * prefs-widget.c (double_click_cb): Added. (): Remove right click menu, add double click handler. (model_is_cell_editable): Fix for etable bug. (random_timeout_cb): Avoid vidwhacker and webcollage. * preview.c: Optionally show fakepreview if set, and deal with compat_command_line, and refresh pixbufs. (command_exists): Renamed to rc_command_exists. * rc-parse.c: (parse_screensaver_list): Merely update the existing entries, via the provided hash. * screensaver-prefs-dialog.c (get_argument_data): Just find the xml file using ::filename. * screensavers/magic.pl.in: Added. * screensavers/Makefile.am: Generate .xml.h files for translators, and install all .xml files and .png files, and run magic.pl on make install.
50 lines
No EOL
2.6 KiB
XML
50 lines
No EOL
2.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<screensaver name="qix" _label="Qix (solid)">
|
|
<command arg="-root"/>
|
|
<hgroup>
|
|
<select id="shape">
|
|
<option id="lines" _label="Lines"
|
|
enable="trail_type,width" arg-set="-poly 2"/>
|
|
<option id="poly" _label="Polygons"
|
|
enable="no_pts" test="poly > 2"/>
|
|
</select>
|
|
<number id="no_pts" _label="Number of points:"
|
|
type="spinbutton" low="3" high="16" default="3"
|
|
arg="-poly %"/>
|
|
</hgroup>
|
|
<select id="trail_type">
|
|
<option id="discrete" _label="Discrete Lines" enable="spread"/>
|
|
<option id="solid" _label="Solid Trails"
|
|
arg-set="-solid" test="solid and not (transparent or xor)"/>
|
|
<option id="transparent" _label="Transparent Trails"
|
|
arg-set="-solid -transparent" test="solid and transparent"/>
|
|
<option id="xor" _label="XOR Trails"
|
|
arg-set="-solid -xor" test="solid and xor"/>
|
|
</select>
|
|
<boolean id="gravity" _label="Trails attract each other"
|
|
arg-set="-gravity" test="gravity"/>
|
|
<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"/>
|
|
<number id="length" _label="Length" _low-label="Short" _high-label="Long"
|
|
type="slider" low="0" high="1000" default="50" arg="-segments %"/>
|
|
<number id="width" _label="Width" _low-label="Narrow" _high-label="Wide"
|
|
type="slider" low="0" high="1000" default="100" arg="-size %"/>
|
|
<number id="spread" _label="Spread between lines"
|
|
_low-label="Short" _high-label="Long"
|
|
type="slider" low="0" high="30" default="8" arg="-spread %"/>
|
|
<number id="count" _label="Number of trails:"
|
|
type="spinbutton" low="1" high="100" default="1" arg="-count %"/>
|
|
<select id="use_color">
|
|
<option id="color" _label="Full Color" enable="shift"/>
|
|
<option id="mono" _label="Monochrome" arg-set="-mono" test="mono"/>
|
|
</select>
|
|
<number id="shift" _label="Color contrast"
|
|
_low-label="Low" _high-label="High"
|
|
type="slider" low="0" high="25" default="3" arg="-color-shift %"/>
|
|
<_description>This is the swiss army chainsaw of qix programs. It bounces a series of line segments around the screen, and uses variations on this basic motion pattern to produce all sorts of different presentations: line segments, filled polygons, overlapping translucent areas... Written by Jamie Zawinski.</_description>
|
|
<fake name="Qix (transparent)"/>
|
|
<fake name="Qix (linear)"/>
|
|
<fake name="Qix (xor)"/>
|
|
</screensaver> |