summaryrefslogtreecommitdiff
path: root/source/3-final/data/edc/layout.edc
blob: 24292b105519edeb82ce7d86410c2d935df2c437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
collections {
   images {
      image: "bg.jpg" COMP;
      image: "icon_left_arrow.png" COMP;
      image: "icon_right_arrow.png" COMP;
      image: "icon_01.png" COMP;
      image: "icon_02.png" COMP;
      image: "icon_03.png" COMP;
      image: "icon_04.png" COMP;
      image: "icon_05.png" COMP;
   }
   group { name:"main";
      parts {
         part { name: "bg";
            type: IMAGE;
            description { state: "default" 0.0;
               image.normal: "bg.jpg";
            }
         }
         part { name: "elm.swallow.top";
            type: SWALLOW;
            description { state: "default" 0.0;
               rel1.relative: 0.35 0.0;
               rel2.relative: 0.65 0.15;
            }
         }
         part { name: "elm.text.news";
            type: TEXT;
            scale: 1;
            description { state: "default" 0.0;
               rel1.relative: 0.05 0.1;
               rel2.relative: 0.15 0.2;
               align: 0 0;
               color: 200 200 200 255;
               text { font: "Sans:style=Bold";
                  size: 12;
                  min: 0 0;
                  text: "News";
               }
            }
         }
         part { name: "elm.swallow.middle";
            type: SWALLOW;
            description { state: "default" 0.0;
               rel1.relative: 0.06 0.17;
               rel2.relative: 0.94 0.85;
               map {
                  on: 1;
                  perspective: "persp";
                  rotation.x: 0;
                  rotation.center: "persp";
               }
            }
            description { state: "zoomout" 0.0;
               inherit: "default" 0.0;
               map {
                  on: 1;
                  perspective: "persp";
                  rotation.y: 180;
                  rotation.center: "persp";
               }
            }
         }
         part { name: "elm.swallow.bottom";
            type: SWALLOW;
            description { state: "default" 0.0;
               rel1.relative: 0.1 0.87;
               rel2.relative: 0.9 1.0;
            }
         }
         part { name: "elm.swallow.left_arrow";
            type: SWALLOW;
            scale: 1;
            description { state: "default" 0.0;
               rel1.relative: 0.0 0.5;
               rel2.relative: 0.0 0.5;
               min: 40 50;
               fixed: 1 1;
               align: 0.0 0.5;
            }
            description { state: "visible" 0.0;
               inherit: "default" 0.0;
               visible: 0;
            }
         }
         part { name: "persp";
            type: RECT;
            description { state: "default" 0.0;
               visible: 0;
               rel1.relative: 0.06 0.17;
               rel2.relative: 0.94 0.85;
               perspective {
                  zplane: 0;
                  focal: 1500;
               }
            }
            description { state: "zoomout" 0.0;
               inherit: "default" 0.0;
               perspective {
                  zplane: -200;
                  focal: 250;
               }
            }
         }
         part { name: "elm.swallow.right_arrow";
            type: SWALLOW;
            scale: 1;
            description { state: "default" 0.0;
               rel1.relative: 1.0 0.5;
               rel2.relative: 1.0 0.5;
               min: 40 50;
               fixed: 1 1;
               align: 1.0 0.5;
            }
         }
      }
      programs {
         program { name: "hide-arrow-left";
            signal: "elm,state,arrow,hide";
            source: "elm";
            action: STATE_SET "visible" 0.0;
            target: "elm.swallow.left_arrow";
         }
         program { name: "show-arrow-left";
            signal: "elm,state,arrow,show";
            source: "elm";
            action: STATE_SET "default" 0.0;
            target: "elm.swallow.left_arrow";
         }
         program { name: "zoomout";
            signal: "mouse,down,1";
            source: "elm.swallow.right_arrow";
            action: STATE_SET "zoomout" 0.0;
            target: "persp";
            target: "elm.swallow.middle";
            transition: LINEAR 0.5;
         }
         program { name: "zoomin";
            signal: "mouse,up,1";
            source: "elm.swallow.right_arrow";
            action: STATE_SET "default" 0.0;
            target: "persp";
            target: "elm.swallow.middle";
            transition: LINEAR 0.5;
         }
      }
   }
   group { name:"left_arrow";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_left_arrow.png";
            }
         }
      }
   }
   group { name:"right_arrow";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_right_arrow.png";
            }
         }
      }
   }
   group { name:"icon0";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_01.png";
            }
         }
      }
   }
   group { name:"icon1";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_02.png";
            }
         }
      }
   }
   group { name:"icon2";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_03.png";
            }
         }
      }
   }
   group { name:"icon3";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_04.png";
            }
         }
      }
   }
   group { name:"icon4";
      parts {
         part { name: "base";
            description {
               image.normal: "icon_05.png";
            }
         }
      }
   }
}