view demos/pychan_demo/gui/dynamic.xml @ 477:6b33d80b468b

Projectiles are now part of the scene. Cleaned up the scene update() function. Moved garbage collection to the beginning of the frame. Introduced global object types. Projectiles now only check for collisions in a limited number of scene nodes rather than the entire screen.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 22 Apr 2010 19:52:34 +0000
parents 64738befdf3b
children cdebc30c9c4a
line wrap: on
line source

<Window title="Dynamic widgets.">
	<Label text="ClickLabel text:" />
	<ScrollArea size="200,100" vertical_scrollbar="0">
		<TextBox name="labelText" text="Add some text here."/>
	</ScrollArea>
	<VBox name="labelBox" min_size="0,100" border_size="1" background_image="gui/backgrounds/background.png" opaque="0">
	</VBox>
	<HBox>
		<Button name="addButton" text="Add one label!"/>
		<Spacer />
		<Button name="okButton" text="Close"/>
	</HBox>
</Window>