diff demos/shooter/gui/highscores.xml @ 464:be035dff788a

Added high score window. Added the ability to save high scores.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 13 Apr 2010 19:43:31 +0000
parents
children 3164715a0621
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/demos/shooter/gui/highscores.xml	Tue Apr 13 19:43:31 2010 +0000
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="ascii"?>
+<Container base_color="0,0,0" border_size="0" opaque="0" position="0,0" name="HighScores" size="1024,768">
+	<VBox name="high_score" position="412,200" opaque="1" base_color="188,0,0">
+		<HBox>
+			<Label name="high_scores" border_size="0" text="High Scores" min_size="100,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="1" border_size="5" text="1" min_size="20,0">
+			</Label>
+			<Label name="1name" border_size="5" text="player" min_size="50,0">
+			</Label>
+			<Label name="1score" border_size="5" text="1200" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="2" border_size="5" text="2" min_size="20,0">
+			</Label>
+			<Label name="2name" border_size="5" text="aaa" min_size="50,0">
+			</Label>
+			<Label name="2score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="3" border_size="5" text="3" min_size="20,0">
+			</Label>
+			<Label name="3name" border_size="5" text="bbb" min_size="50,0">
+			</Label>
+			<Label name="3score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="4" border_size="5" text="4" min_size="20,0">
+			</Label>
+			<Label name="4name" border_size="5" text="ccc" min_size="50,0">
+			</Label>
+			<Label name="4score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="5" border_size="5" text="5" min_size="20,0">
+			</Label>
+			<Label name="5name" border_size="5" text="ddd" min_size="50,0">
+			</Label>
+			<Label name="5score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="6" border_size="5" text="6" min_size="20,0">
+			</Label>
+			<Label name="6name" border_size="5" text="eee" min_size="50,0">
+			</Label>
+			<Label name="6score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="7" border_size="5" text="7" min_size="20,0">
+			</Label>
+			<Label name="7name" border_size="5" text="fff" min_size="50,0">
+			</Label>
+			<Label name="7score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="8" border_size="5" text="8" min_size="20,0">
+			</Label>
+			<Label name="8name" border_size="5" text="ggg" min_size="50,0">
+			</Label>
+			<Label name="8score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="9" border_size="5" text="9" min_size="20,0">
+			</Label>
+			<Label name="9name" border_size="5" text="hhh" min_size="50,0">
+			</Label>
+			<Label name="9score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<HBox>
+			<Label name="10" border_size="5" text="10" min_size="20,0">
+			</Label>
+			<Label name="10name" border_size="5" text="iii" min_size="50,0">
+			</Label>
+			<Label name="10score" border_size="5" text="1000" min_size="150,0">
+			</Label>
+		</HBox>
+		<Button name="close" border_size="0" text="Close" min_size="100,0">
+		</Button>
+	</VBox>
+</Container>