diff demos/rpg/gui/mainmenu.xml @ 510:cd959b05a262

There is now a main menu. You can also view the credits. Taking a screenshot and opening the console should also work.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 20 May 2010 21:12:23 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/demos/rpg/gui/mainmenu.xml	Thu May 20 21:12:23 2010 +0000
@@ -0,0 +1,14 @@
+<Container name="MainMenu" position="0,0" size="1024,768" border_size="0" base_color="0,0,0" opaque="0">
+
+<!--
+	<Icon image="gui/backgrounds/800_main_bg.png" position="0,0" size="1024,768" name="main_background_icon"/>
+-->
+
+	<VBox opaque='0' base_color="188, 0, 0" position="412,200" name="main_menu">
+		<Button name="new_game" text="New Game" min_size="200,0" border_size="0"/>
+		<Button name="settings" text="Settings" min_size="200,0" border_size="0"/>
+		<Button name="credits" text="Credits" min_size="200,0" border_size="0"/>
+		<Button name="quit" text="Quit" min_size="200,0" border_size="0"/>
+	</VBox>
+
+</Container>