view demos/pychan_demo/gui/demoapp.xml @ 668:e8a799239384

* This fixes the case were the engine would clear the screen twice The editor and demos now suffer from a problem where if a map is not loaded the screen doesnt get cleared and you see traces of the UI from previous frames. For now the editor, RPG demo and Shooter force the engine to clear the screen every frame. This is not ideal as once a map is loaded they will be clearing the screen twice per frame.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Nov 2010 20:37:31 +0000
parents 64738befdf3b
children
line wrap: on
line source

<VBox hexpand="1"><!--[PyChanのてすとです: ÜÖÄ]"-->
	<Label text="This is the PyChan demo application. "/>
	<HBox vexpand="1">
		<ScrollArea>
			<ListBox name="demoList"/>
		</ScrollArea>
		<VBox margins="0,0" hexpand="2">
			<Label text=" Select one example from the listbox."/>
			<Label text=" You can also execute this script with an Gui XML file as argument."/>
-			<HBox margins="0,0">
				<Button text="XML code"/>
			</HBox>
			<ScrollArea>
				<TextBox name="xmlSource" font="FreeMono" filename="gui/all_widgets.xml"/>
			</ScrollArea>
		</VBox>
	</HBox>
	<HBox>
		<ClickLabel name="creditsLink" text="Credits"/>
		<Button name="closeButton" text="Quit Demo"/>
	</HBox>
</VBox>