fixed X11_softare_info changing
[ego.git] / test / showcase.edc
blobf63da92f0b0e6d56e1b8d738bafb1547efeea806
1 images {
2         image: "hrg0001.jpg" LOSSY 50;
3         image: "hrg0002.jpg" LOSSY 50;
4         image: "hrg0003.jpg" LOSSY 50;
5         image: "hrg0004.jpg" LOSSY 50;
6         image: "hrg0005.jpg" LOSSY 50;
7         image: "hrg0006.jpg" LOSSY 50;
8         image: "hrg0007.jpg" LOSSY 50;
9         image: "hrg0008.jpg" LOSSY 50;
10         image: "hrg0009.jpg" LOSSY 50;
11         image: "hrg0010.jpg" LOSSY 50;
12         image: "hrg0011.jpg" LOSSY 50;
13         image: "hrg0012.jpg" LOSSY 50;
14         image: "hrg0013.jpg" LOSSY 50;
16         image: "thumb_hrg0001.jpg" LOSSY 50;
17         image: "thumb_hrg0002.jpg" LOSSY 50;
18         image: "thumb_hrg0003.jpg" LOSSY 50;
19         image: "thumb_hrg0004.jpg" LOSSY 50;
20         image: "thumb_hrg0005.jpg" LOSSY 50;
21         image: "thumb_hrg0006.jpg" LOSSY 50;
22         image: "thumb_hrg0007.jpg" LOSSY 50;
23         image: "thumb_hrg0008.jpg" LOSSY 50;
24         image: "thumb_hrg0009.jpg" LOSSY 50;
25         image: "thumb_hrg0010.jpg" LOSSY 50;
26         image: "thumb_hrg0011.jpg" LOSSY 50;
27         image: "thumb_hrg0012.jpg" LOSSY 50;
28         image: "thumb_hrg0013.jpg" LOSSY 50;
31 fonts {
32         font: "notepad.ttf" "default";
35 collections {
36         group {
37                 name: "icon";
38                 parts {
39                         part {
40                                 name: "content";
41                                 type: SWALLOW;
42                                 description {
43                                         state: "default" 0.0;
44                                         rel1.relative: 0.2 0.2;
45                                         rel2.relative: 0.8 0.8;
46                                 }
47                                 description {
48                                         state: "default" 1.0;
49                                         rel1.relative: 0 0;
50                                         rel2.relative: 1 1;
51                                 }
52                         }
53                         part {
54                                 name: "overlay";
55                                 type: RECT;
56                                 mouse_events: 1;
57                                 description {
58                                         state: "default" 0.0;
59                                         rel1.relative: 0 0;
60                                         rel2.relative: 1 1;
61                                         color: 255 255 255 0;
62                                 }
63                         }
64                 }
65                 programs {
66                         program {
67                                 signal: "mouse,in";
68                                 source: "overlay";
69                                 action: STATE_SET "default" 1.0;
70                                 transition: ACCELERATE 0.2;
71                                 target: "content";
72                         }
73                         program {
74                                 signal: "mouse,out";
75                                 source: "overlay";
76                                 action: STATE_SET "default" 0.0;
77                                 transition: DECELERATE 0.5;
78                                 target: "content";
79                         }
80                 }
81         }
83         group {
84                 name: "layout";
85                 parts {
86                         part {
87                                 name: "bg_content";
88                                 type: SWALLOW;
89                                 mouse_events: 0;
90                                 description {
91                                         state: "default" 0.0;
92                                         rel1.relative: 0 0;
93                                         rel2.relative: 1 0.9;
94                                 }
95                         }
96                         part {
97                                 name: "fader1";
98                                 type: RECT;
99                                 mouse_events: 0;
100                                 description {
101                                         state: "default" 0.0;
102                                         rel1.relative: 0 0;
103                                         rel2.relative: 0 0.9;
104                                         color: 32 32 32 255;
105                                 }
106                                 description {
107                                         state: "default" 1.0;
108                                         inherit: "default" 0.0;
109                                         rel2.relative: 0.6 0.9;
110                                 }
111                         }
112                         part {
113                                 name: "fader2";
114                                 type: RECT;
115                                 mouse_events: 0;
116                                 description {
117                                         state: "default" 0.0;
118                                         rel1.relative: 1 0;
119                                         rel2.relative: 1 0.9;
120                                         color: 32 32 32 255;
121                                 }
122                                 description {
123                                         state: "default" 1.0;
124                                         inherit: "default" 0.0;
125                                         rel1.relative: 0.4 0;
126                                 }
127                         }
128                         part {
129                                 name: "bar_content";
130                                 type: SWALLOW;
131                                 mouse_events: 1;
132                                 description {
133                                         state: "default" 0.0;
134                                         rel1.relative: 0 0.9; 
135                                         rel2.relative:  1 1;
136                                 }
137                         }
138                 }
139                 programs {
140                         program {
141                                 signal: "show";
142                                 action: SIGNAL_EMIT "fade,in" "";
143                         }
144                         program {
145                                 signal: "fade,in";
146                                 action: STATE_SET "default" 0.0;
147                                 transition: ACCELERATE 0.5;
148                                 target: "fader1";
149                                 target: "fader2";
150                         }
151                         program {
152                                 signal: "fade,out";
153                                 action: STATE_SET "default" 1.0;
154                                 transition: DECELERATE 0.5;
155                                 target: "fader1";
156                                 target: "fader2";
157                                 after: "faded_out";
158                         }
159                         program {
160                                 name: "faded_out";
161                                 action: SIGNAL_EMIT "faded,out" "";
162                         }
163                 }
164         }