File: dialog.xml

package info (click to toggle)
lincity-ng 2.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 186,616 kB
  • sloc: cpp: 31,237; xml: 23,019; ansic: 274; lisp: 189; python: 182; sh: 92; makefile: 18
file content (64 lines) | stat: -rw-r--r-- 2,661 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="identity.xsl" type="text/xsl"?>
<Window xmlns="http://lincity-ng.berlios.de/gui" border="5" titlesize="25" width="700" height="200" resizable="no">
  <title>
    <Document>
      <Paragraph style="title" halign="center" name="title">Dialog</Paragraph>
    </Document>
  </title>
  <title-background>
    <Gradient from="#ff0000ff" to="#88776655" direction="left-right"/>
  </title-background>
  <background>
    <FilledRectangle color="#ffffffbb"/>
  </background>
  <contents>
    <TableLayout rows="2" cols="1">
      <rowsize row="2" fixed="50"/>
      <cell row="1" col="1">
        <TableLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" rows="1" cols="2" name="content">
          <colsize col="1" fixed="95"/>
          <cell row="1" col="1">
            <Image name="image" src="images/gui/dialogs/info.png"/>
          </cell>
          <cell row="1" col="2">
            <Document name="message">
            </Document>
          </cell>
        </TableLayout>
      </cell>
      <cell row="2" col="1">
        <SwitchComponent name="buttons">
          <TableLayout name="ok-buttonset" rows="1" cols="1">
            <cell row="1" col="1">
              <Button name="ok-button">
                <text-caption style="dialogbutton" translatable="yes">Ok</text-caption>
                <image src="images/gui/dialogs/yesbutton.png"/>
                <image-hover src="images/gui/dialogs/yesbutton-hover.png"/>
                <image-clicked src="images/gui/dialogs/yesbutton-clicked.png"/>
              </Button>
            </cell>
          </TableLayout>
          <TableLayout name="yesno-buttonset" rows="1" cols="2">
            <cell row="1" col="1">
              <Button name="no-button">
                <text-caption style="dialogbutton" translatable="yes">No</text-caption>
                <image src="images/gui/dialogs/nobutton.png"/>
                <image-hover src="images/gui/dialogs/nobutton-hover.png"/>
                <image-clicked src="images/gui/dialogs/nobutton-clicked.png"/>
              </Button>
            </cell>
            <cell row="1" col="2">
              <Button name="yes-button">
                <text-caption style="dialogbutton" translatable="yes">Yes</text-caption>
                <image src="images/gui/dialogs/yesbutton.png"/>
                <image-hover src="images/gui/dialogs/yesbutton-hover.png"/>
                <image-clicked src="images/gui/dialogs/yesbutton-clicked.png"/>
              </Button>
            </cell>
          </TableLayout>
        </SwitchComponent>
      </cell>
    </TableLayout>
  </contents>
</Window>