summaryrefslogtreecommitdiffstats
path: root/hacks/config/splitflap.xml
blob: 265c9b6c32af3d2cb5bf99e31f50dae9ab565768 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="splitflap" _label="SplitFlap" gl="yes">

  <command arg="-root"/>

  <video href="https://www.youtube.com/watch?v=rZOL2jyDey0"/>

  <hgroup>
   <vgroup>
    <number id="delay" type="slider" arg="-delay %"
            _label="Frame rate" _low-label="Low" _high-label="High"
            low="0" high="100000" default="20000"
            convert="invert"/>

    <number id="speed" type="slider" arg="-speed %"
            _label="Speed" _low-label="Slow" _high-label="Fast"
            low="0.01" high="8.0" default="1.0"/>

    <number id="width" type="spinbutton" arg="-width %"
            _label="Columns" low="1" high="120" default="22"/>
    <number id="height" type="spinbutton" arg="-height %"
            _label="Rows" low="1" high="40" default="8"/>

    <select id="text">
     <option id="text" _label="Display text" />
     <option id="c12" _label="Display 12-hour clock" arg-set="-mode clock12" />
     <option id="c24" _label="Display 24-hour clock" arg-set="-mode clock24" />
    </select>

    <select id="facing">
     <option id="front"   _label="Always face front"/>
     <option id="nofront" _label="Spin all the way around" arg-set="-no-front"/>
    </select>

    <select id="rotation">
     <option id="no"  _label="Don't rotate"               arg-set="-spin 0"/>
     <option id="x"   _label="Rotate around X axis"       arg-set="-spin X"/>
     <option id="y"   _label="Rotate around Y axis"       arg-set="-spin Y"/>
     <option id="z"   _label="Rotate around Z axis"       arg-set="-spin Z"/>
     <option id="xy"  _label="Rotate around X and Y axes" arg-set="-spin XY"/>
     <option id="xz"  _label="Rotate around X and Z axes" arg-set="-spin XZ"/>
     <option id="yz"  _label="Rotate around Y and Z axes" arg-set="-spin YZ"/>
     <option id="xyz" _label="Rotate around all three axes"/>
    </select>

   </vgroup>

   <vgroup>
    <xscreensaver-text />

    <hgroup>
    <boolean id="wander" _label="Wander" arg-unset="-no-wander"/>
    <boolean id="wire"    _label="Wireframe"              arg-set="-wireframe"/>
    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
    </hgroup>
    <xscreensaver-updater />

   </vgroup>
  </hgroup>

  <_description>
Simulates a split-flap display, an old style of electromechanical 
sign as seen in airports and train stations, and commonly used in
alarm clocks in the 1960s and 1970s.

https://en.wikipedia.org/wiki/Split-flap_display
https://en.wikipedia.org/wiki/Flip_clock

Written by Jamie Zawinski; 2015.
  </_description>
</screensaver>