view demos/pychan_demo/gui/poc_guianimation.xml @ 641:52708806f35c

* Small fix for gcc on Linux. It didn't like passing a const char* to a function that requires a char*.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 07 Oct 2010 19:39:58 +0000
parents 427150724fe1
children
line wrap: on
line source

<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>