- <number id="delay" type="slider" arg="-delay %"
- _label="Frame Delay (us)" _low-label="Slow" _high-label="Fast"
- low="0" high="80000" default="15000" convert="invert"/>
-
- <_description>
-Solves the Towers of Hanoi puzzle. Move N disks from one pole to another, one disk at a time, with no disk ever resting on a disk smaller than itself.
-Written by Dave Atkinson.
- </_description>
+ <number id="poles" type="slider" arg="-poles %"
+ _label="Number of poles" _low-label="0" _high-label="31"
+ default="0" low="3" high="31"/>
+ </vgroup>
+
+ <vgroup>
+ <number id="speed" type="slider" arg="-speed %"
+ _label="Speed (of smallest disks)" _low-label="1" _high-label="20"
+ default="1" low="1" high="20"/>
+
+ <number id="trails" type="slider" arg="-trails %"
+ _label="Length of disk trails" _low-label="0" _high-label="10"
+ default="2" low="0" high="10"/>
+
+ <boolean id="fog" _label="Enable fog" arg-set="-fog"/>
+
+ <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
+
+ <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
+
+ <boolean id="lighting" _label="Enable lighting" arg-unset="-no-light"/>
+ </vgroup>
+ </hgroup>
+
+ <xscreensaver-updater />
+
+ <_description>
+Solves the Towers of Hanoi puzzle. Move N disks from one pole to
+another, one disk at a time, with no disk ever resting on a disk
+smaller than itself.
+
+https://en.wikipedia.org/wiki/Tower_of_Hanoi
+
+Written by Dave Atkinson; 2005.
+ </_description>