9195353e3e6719171c81c57dce90d7fe778505cc
[xscreensaver] / hacks / config / molecule.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="molecule" _label="Molecule" gl="yes">
4
5   <command arg="-root"/>
6
7   <number id="delay" type="slider" arg="-delay %"
8           _label="Frame rate" _low-label="Low" _high-label="High"
9           low="0" high="100000" default="10000"
10           convert="invert"/>
11
12   <number id="timeout" type="slider" arg="-timeout %"
13           _label="Duration" _low-label="5 seconds" _high-label="2 minutes"
14           low="5" high="120" default="20"/>
15
16   <hgroup>
17    <vgroup>
18     <boolean id="labels" _label="Label atoms" arg-unset="-no-labels"/>
19     <boolean id="titles" _label="Describe molecule" arg-unset="-no-titles"/>
20     <boolean id="bbox"   _label="Draw bounding box" arg-set="-bbox"/>
21     <boolean id="wire"    _label="Wireframe"              arg-set="-wireframe"/>
22    </vgroup>
23    <vgroup>
24     <boolean id="atoms"  _label="Draw atomic nuclei" arg-unset="-no-atoms"/>
25     <boolean id="bonds"  _label="Draw atomic bonds" arg-unset="-no-bonds"/>
26     <boolean id="shells" _label="Draw electron shells" arg-unset="-no-shells"/>
27     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
28    </vgroup>
29   </hgroup>
30
31   <hgroup>
32    <boolean id="wander" _label="Wander" arg-set="-wander"/>
33
34    <select id="rotation">
35     <option id="no"  _label="Don't rotate"               arg-set="-spin 0"/>
36     <option id="x"   _label="Rotate around X axis"       arg-set="-spin X"/>
37     <option id="y"   _label="Rotate around Y axis"       arg-set="-spin Y"/>
38     <option id="z"   _label="Rotate around Z axis"       arg-set="-spin Z"/>
39     <option id="xy"  _label="Rotate around X and Y axes" arg-set="-spin XY"/>
40     <option id="xz"  _label="Rotate around X and Z axes" arg-set="-spin XZ"/>
41     <option id="yz"  _label="Rotate around Y and Z axes" arg-set="-spin YZ"/>
42     <option id="xyz" _label="Rotate around all three axes"/>
43    </select>
44   </hgroup>
45
46   <file id="molecule" _label="PDB file or directory" arg="-molecule %"/>
47
48   <_description>
49 Draws several different representations of molecules.  Some common
50 molecules are built in, and it can also read PDB (Protein Data Bank)
51 files as input.
52
53 http://en.wikipedia.org/wiki/Protein_Data_Bank_%28file_format%29
54
55 Written by Jamie Zawinski; 2001.
56   </_description>
57 </screensaver>