Mercurial > fife-parpg
comparison 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 |
comparison
equal
deleted
inserted
replaced
599:a2024b994ca3 | 600:427150724fe1 |
---|---|
1 <Window title="Proof-of-concept: Gui animations" size="300,415" min_size="300,415" max_size="300,415"> | |
2 <VBox> | |
3 <HBox> | |
4 <Button name="example_move" text="Move it!"/> | |
5 <Button name="example_color" text="Tint it!" /> | |
6 <Button name="example_resize" text="Crush it!" /> | |
7 <Button name="example_all" text="All together now..." /> | |
8 </HBox> | |
9 | |
10 <HBox> | |
11 <Label text="Timer delay" /> | |
12 <Slider name="delay" scale_start="0" scale_end="50" size="100,10" min_size="100,10" max_size="100,10"/> | |
13 <Label name="delay_label" /> | |
14 </HBox> | |
15 </VBox> | |
16 | |
17 <Container name="move_wrapper" size="200,105" min_size="200,105" max_size="200,105"> | |
18 <Icon name="move" image="gui/icons/pychan_logo.png"/> | |
19 </Container> | |
20 | |
21 <Container name="color_wrapper" size="200,105" min_size="200,105" max_size="200,105"> | |
22 <HBox> | |
23 <VBox name="color" size="100,100" min_size="100,100" max_size="100,100" base_color="255,255,255,100"> | |
24 </VBox> | |
25 <HBox padding="0" size="100,100" min_size="100,100" max_size="100,100"> | |
26 <VBox padding="0" size="33,99" max_size="33,99" min_size="33,99"> | |
27 <Label text=" " name="color_1_1" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
28 <Label text=" " name="color_1_2" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
29 <Label text=" " name="color_1_3" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
30 </VBox> | |
31 <VBox padding="0"> | |
32 <Label text=" " name="color_2_1" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
33 <Label text=" " name="color_2_2" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
34 <Label text=" " name="color_2_3" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
35 </VBox> | |
36 <VBox padding="0"> | |
37 <Label text=" " name="color_3_1" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
38 <Label text=" " name="color_3_2" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
39 <Label text=" " name="color_3_3" background_color="130,130,0" size="33,33" min_size="33,33" max_size="33,33"/> | |
40 </VBox> | |
41 </HBox> | |
42 </HBox> | |
43 </Container> | |
44 | |
45 <Container name="resize_wrapper" size="200,105" min_size="200,105" max_size="200,105"> | |
46 <VBox name="resize" size="100,100" min_size="100,100" max_size="100,100" base_color="255,255,255,100"> | |
47 </VBox> | |
48 </Container> | |
49 | |
50 <Button name="closeButton" text="Close"/> | |
51 </Window> |