extend unicode.xml to be able to set colors and toggle FPS display
[unicode-screensaver.git] / unicode.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <screensaver name="unicode" _label="Unicode">
4
5   <command arg="-root"/>
6
7   <hgroup>
8     <vgroup>
9       <!-- There seems to be no way label a select field (_label doesn't
10            work), so we're kludging around that by prefixing every option
11            with backround color: -->
12       <!-- This is a selection of colors from the X11 colorset (see
13            /etc/X11/rgb.txt and/or
14            http://en.wikipedia.org/wiki/X11_color_names. The xscreensaver
15            config GUI doesn't deal well with multiple-word color names. It
16            tends to break quoting and stick in \ continuation characters,
17            which doesn't work. So, we've omitted multi-word colors and many
18            colors which are very similar. Any X11 color can be set from the
19            config file using the -background and -foreground. Custom colors
20            can also be set using the -foreground rgb:0xnn/0xnn/0xnn format.
21            -->
22       <select id="Background color" default="black">
23         <option id="black"     _label="background color: black"     arg-set="-background black"/>
24         <option id="white"     _label="background color: white"     arg-set="-background white"/>
25         <option id="aquamarine" _label="background color: aquamarine" arg-set="-background aquamarine" />
26         <option id="beige" _label="background color: beige" arg-set="-background beige" />
27         <option id="blue" _label="background color: blue" arg-set="-background blue" />
28         <option id="brown" _label="background color: brown" arg-set="-background brown" />
29         <option id="burlywood" _label="background color: burlywood" arg-set="-background burlywood" />
30         <option id="cyan" _label="background color: cyan" arg-set="-background cyan" />
31         <option id="firebrick" _label="background color: firebrick" arg-set="-background firebrick" />
32         <option id="gainsboro" _label="background color: gainsboro" arg-set="-background gainsboro" />
33         <option id="gold" _label="background color: gold" arg-set="-background gold" />
34         <option id="gray" _label="background color: gray" arg-set="-background gray" />
35         <option id="green" _label="background color: green" arg-set="-background green" />
36         <option id="khaki" _label="background color: khaki" arg-set="-background khaki" />
37         <option id="moccasin" _label="background color: moccasin" arg-set="-background moccasin" />
38         <option id="navy" _label="background color: navy" arg-set="-background navy" />
39         <option id="orange" _label="background color: orange" arg-set="-background orange" />
40         <option id="orchid" _label="background color: orchid" arg-set="-background orchid" />
41         <option id="pink" _label="background color: pink" arg-set="-background pink" />
42         <option id="plum" _label="background color: plum" arg-set="-background plum" />
43         <option id="red" _label="background color: red" arg-set="-background red" />
44         <option id="salmon" _label="background color: salmon" arg-set="-background salmon" />
45         <option id="sienna" _label="background color: sienna" arg-set="-background sienna" />
46         <option id="tan" _label="background color: tan" arg-set="-background tan" />
47         <option id="thistle" _label="background color: thistle" arg-set="-background thistle" />
48         <option id="turquoise" _label="background color: turquoise" arg-set="-background turquoise" />
49         <option id="violet" _label="background color: violet" arg-set="-background violet" />
50         <option id="wheat" _label="background color: wheat" arg-set="-background wheat" />
51         <option id="yellow" _label="background color: yellow" arg-set="-background yellow" />
52       </select>
53     </vgroup>
54     <vgroup>
55       <select id="Foreground color" default="white">
56         <option id="aquamarine" _label="font color: aquamarine" arg-set="-foreground aquamarine" />
57         <option id="beige" _label="font color: beige" arg-set="-foreground beige" />
58         <option id="blue" _label="font color: blue" arg-set="-foreground blue" />
59         <option id="brown" _label="font color: brown" arg-set="-foreground brown" />
60         <option id="burlywood" _label="font color: burlywood" arg-set="-foreground burlywood" />
61         <option id="cyan" _label="font color: cyan" arg-set="-foreground cyan" />
62         <option id="firebrick" _label="font color: firebrick" arg-set="-foreground firebrick" />
63         <option id="gainsboro" _label="font color: gainsboro" arg-set="-foreground gainsboro" />
64         <option id="gold" _label="font color: gold" arg-set="-foreground gold" />
65         <option id="gray" _label="font color: gray" arg-set="-foreground gray" />
66         <option id="green" _label="font color: green" arg-set="-foreground green" />
67         <option id="khaki" _label="font color: khaki" arg-set="-foreground khaki" />
68         <option id="moccasin" _label="font color: moccasin" arg-set="-foreground moccasin" />
69         <option id="navy" _label="font color: navy" arg-set="-foreground navy" />
70         <option id="orange" _label="font color: orange" arg-set="-foreground orange" />
71         <option id="orchid" _label="font color: orchid" arg-set="-foreground orchid" />
72         <option id="pink" _label="font color: pink" arg-set="-foreground pink" />
73         <option id="plum" _label="font color: plum" arg-set="-foreground plum" />
74         <option id="red" _label="font color: red" arg-set="-foreground red" />
75         <option id="salmon" _label="font color: salmon" arg-set="-foreground salmon" />
76         <option id="sienna" _label="font color: sienna" arg-set="-foreground sienna" />
77         <option id="tan" _label="font color: tan" arg-set="-foreground tan" />
78         <option id="thistle" _label="font color: thistle" arg-set="-foreground thistle" />
79         <option id="turquoise" _label="font color: turquoise" arg-set="-foreground turquoise" />
80         <option id="violet" _label="font color: violet" arg-set="-foreground violet" />
81         <option id="wheat" _label="font color: wheat" arg-set="-foreground wheat" />
82         <option id="yellow" _label="font color: yellow" arg-set="-foreground yellow" />
83       </select>
84     </vgroup>
85   </hgroup>
86   <hgroup>
87     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
88   </hgroup>
89
90   <_description>
91 Repeatedly randomly picks an unicode character and displays it in a very large font size together with its unicode code point and the character name.
92
93 Written by Joachim Breitner; 2009.
94   </_description>
95 </screensaver>
96