File: guiscript.xml

package info (click to toggle)
clanlib 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 28,372 kB
  • ctags: 16,520
  • sloc: cpp: 101,145; sh: 8,752; xml: 6,410; makefile: 1,740; ansic: 463; perl: 424; php: 247
file content (39 lines) | stat: -rw-r--r-- 1,503 bytes parent folder | download | duplicates (7)
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
<?xml version="1.0" encoding="iso-8859-1"?>
<resources>
	<surface name="button_up" file="resources/button_up.tga" />
	<surface name="button_down" file="resources/button_down.tga" />
	<surface name="button_highlighted" file="resources/button_highlighted.tga" />
	<surface name="button_disabled" file="resources/button_disabled.tga" />
	
	<components name="gui">
		<window name="window1" x="10" y="10" width="200" height="290" title="A window">
			<components>
				<label x="10" y="10" text="Enter some text here:" />
				<inputbox name="inputbox1" x="10" y="25" width="134" height="20" text="User input" />
				
				<label x="10" y="70" text="Normal silver buttons:" />
				<button name="button1" x="10" y="85" width="134" height="30" text="Manual sized button" />
				<button x="10" y="125" text="Auto sized button" />

				<label x="10" y="175" text="Gfx buttons:" />
				<button 
					x="10" y="190"
					surface_up="button_up"
					surface_down="button_down"
					surface_highlighted="button_highlighted"
					surface_disabled="button_disabled"
				/>
				<button 
					x="80" y="190" enabled="false"
					surface_up="button_up"
					surface_down="button_down"
					surface_highlighted="button_highlighted"
					surface_disabled="button_disabled"
				/>
				
				<scrollbar x="160" y="10" width="20" height="220" min="0" orientation="ver" max="100"/>
				<scrollbar x="10" y="230" width="150" height="20" min="0" orientation="hor" max="100"/>
			</components>
		</window>
	</components>
</resources>