diff demos/pychan_demo/gui/poc_guianimation.xml @ 600:427150724fe1

- added new pychan demo: gui animations FEATURES: - shows (very basic) animations like resizing, moving and changing colors of a pychan.widget by using FIFE TimeEvents
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 27 Aug 2010 16:59:54 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/demos/pychan_demo/gui/poc_guianimation.xml	Fri Aug 27 16:59:54 2010 +0000
@@ -0,0 +1,51 @@
+<Window title="Proof-of-concept: Gui animations" size="300,415" min_size="300,415" max_size="300,415">
+	<VBox>
+		<HBox>
+			<Button name="example_move" text="Move it!"/>
+			<Button name="example_color" text="Tint it!" />
+			<Button name="example_resize" text="Crush it!" />
+			<Button name="example_all" text="All together now..." />
+		</HBox>
+
+		<HBox>
+			<Label text="Timer delay" />
+			<Slider name="delay" scale_start="0" scale_end="50" size="100,10" min_size="100,10" max_size="100,10"/>
+			<Label name="delay_label" />
+		</HBox>
+	</VBox>
+	
+	<Container name="move_wrapper" size="200,105" min_size="200,105" max_size="200,105">
+		<Icon name="move" image="gui/icons/pychan_logo.png"/>
+	</Container>
+
+	<Container name="color_wrapper" size="200,105" min_size="200,105" max_size="200,105">
+		<HBox>
+			<VBox name="color" size="100,100" min_size="100,100" max_size="100,100" base_color="255,255,255,100">
+			</VBox>
+			<HBox padding="0" size="100,100" min_size="100,100" max_size="100,100">
+				<VBox padding="0" size="33,99" max_size="33,99" min_size="33,99">
+					<Label text=" " name="color_1_1" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>
+					<Label text=" " name="color_1_2" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>
+					<Label text=" " name="color_1_3" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>			
+				</VBox>
+				<VBox padding="0">
+					<Label text=" " name="color_2_1" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>
+					<Label text=" " name="color_2_2" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>
+					<Label text=" " name="color_2_3" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>			
+				</VBox>
+				<VBox padding="0">
+					<Label text=" " name="color_3_1" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>
+					<Label text=" " name="color_3_2" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>
+					<Label text=" " name="color_3_3" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/>			
+				</VBox>
+			</HBox>
+		</HBox>
+	</Container>
+
+	<Container name="resize_wrapper" size="200,105" min_size="200,105" max_size="200,105">
+		<VBox name="resize" size="100,100" min_size="100,100" max_size="100,100" base_color="255,255,255,100">
+		</VBox>
+	</Container>
+
+	<Button name="closeButton" text="Close"/>
+</Window>