File: crazy-style.xml

package info (click to toggle)
pxp 1.1.96-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,960 kB
  • ctags: 2,016
  • sloc: ml: 21,018; xml: 2,597; sh: 727; makefile: 706
file content (62 lines) | stat: -rw-r--r-- 1,468 bytes parent folder | download | duplicates (12)
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE application SYSTEM "./ds-style.dtd" [
  <!ENTITY vz '<button label="&lt;" action="list-prev"/>
               <button label=">" action="list-next"/>
               <button label="exit" goto="first"/>'>
]
>

<application start="first">
<mask name="first" font="-*-lucidatypewriter-medium-r-*-*-12-*-*-*-*-*-*-*">
<vbox halign="right">
<label>one</label>
<label bgcolor="green">Number two</label>
<hbox width="4cm" halign="center" valign="bottom" bgcolor="red" fgcolor="blue">
<vbox>
<label>a1</label>
<vspace height="1cm"/>
<label>a2</label>
</vbox>
<label>b
c</label>
</hbox>
</vbox>
<textbox slot="q" textheight="5" textwidth="60">A Text</textbox>
<button label="sequence" goto="seq"/>
<label bgcolor="blue">A very long label, bigger than the box</label>
<vspace height="2cm" fill="yes"/>
<hbox><button label="left" bgcolor="yellow" goto="second"/><hspace width="0px" fill="yes"/>
<entry slot="a" textwidth="10" fgcolor="red">right</entry>
</hbox>
</mask>

<mask name="second">
<button label="main" bgcolor="yellow" goto="first"/>
<button label="previous" action="hist-prev"/>
<button label="save" action="save"/>
</mask>

<sequence name="seq">
<mask name="n1">
<label>n1</label>
&vz;
</mask>
<mask name="n2">
<label>n2</label>
&vz;
</mask>
<mask name="n3">
<label>n3</label>
&vz;
</mask>
<mask name="n4">
<label>n4</label>
&vz;
</mask>
<mask name="n5">
<label>n5</label>
&vz;
</mask>
</sequence>

</application>