Updated changelog
[profile/ivi/lemolo.git] / data / themes / default / action_answer.edc
1
2 group {
3    name: "elm/actionslider/base/answer";
4
5    images {
6       image: "ico_call.png" COMP;
7       image: "arrow_right.png" COMP;
8       image: "arrow_left.png" COMP;
9    }
10
11    parts {
12       part {
13          name: "bg";
14          type: RECT;
15          mouse_events: 0;
16          description {
17             state: "default" 0.0;
18             color_class: "bg";
19          }
20       }
21
22       part {
23          name: "elm.text.left";
24          type: TEXT;
25          mouse_events: 0;
26          scale: 1;
27          description {
28             state: "default" 0.0;
29             color: 255 255 255 255;
30             color_class: "caution";
31             rel1.offset: BORDER_PADDING 0;
32             rel2.relative: 0.5 1.0;
33             text {
34                font: FONT_NORMAL;
35                size: SIZE_MEDIUM;
36                align: 0 0.5;
37                min: 0 1;
38             }
39          }
40       }
41
42       part {
43          name: "elm.image.arrow.right.1";
44          type: IMAGE;
45          mouse_events: 0;
46          scale: 1;
47          description {
48             state: "default" 0.0;
49             min: 22 30;
50             max: 22 30;
51             color: 255 255 255 255;
52             color_class: "caution";
53             rel1 {
54                to: "elm.drag_button";
55                offset: (-190 - ITEM_PADDING) 0;
56             }
57             rel2 {
58                to: "elm.drag_button";
59             }
60             image {
61                normal: "arrow_right.png";
62                scale_hint: STATIC;
63             }
64             fill.smooth: 1;
65          }
66       }
67
68       part {
69          name: "elm.image.arrow.right.2";
70          type: IMAGE;
71          mouse_events: 0;
72          scale: 1;
73          description {
74             state: "default" 0.0;
75             min: 22 30;
76             max: 22 30;
77             color: 255 255 255 128;
78             color_class: "caution";
79             rel1 {
80                to: "elm.drag_button";
81                offset: (-135 - ITEM_PADDING) 0;
82             }
83             rel2 {
84                to: "elm.drag_button";
85             }
86             image {
87                normal: "arrow_right.png";
88                scale_hint: STATIC;
89             }
90             fill.smooth: 1;
91          }
92       }
93
94        part {
95          name: "elm.image.arrow.left.1";
96          type: IMAGE;
97          mouse_events: 0;
98          scale: 1;
99          description {
100             state: "default" 0.0;
101             min: 22 30;
102             max: 22 30;
103             color: 255 255 255 255;
104             color_class: "action";
105             rel1 {
106                to: "elm.drag_button";
107                offset: (ITEM_PADDING + 190) 0;
108             }
109             rel2 {
110                to: "elm.drag_button";
111             }
112             image {
113                normal: "arrow_left.png";
114                scale_hint: STATIC;
115             }
116             fill.smooth: 1;
117          }
118       }
119
120        part {
121          name: "elm.image.arrow.left.2";
122          type: IMAGE;
123          mouse_events: 0;
124          scale: 1;
125          description {
126             state: "default" 0.0;
127             min: 22 30;
128             max: 22 30;
129             color: 255 255 255 128;
130             color_class: "action";
131             rel1 {
132                to: "elm.drag_button";
133                offset: (135 +ITEM_PADDING) 0;
134             }
135             rel2 {
136                to: "elm.drag_button";
137             }
138             image {
139                normal: "arrow_left.png";
140                scale_hint: STATIC;
141             }
142             fill.smooth: 1;
143          }
144       }
145
146       part {
147          name: "elm.text.right";
148          type: TEXT;
149          mouse_events: 0;
150          scale: 1;
151          description {
152             state: "default" 0.0;
153             color: 255 255 255 255;
154             color_class: "action";
155             rel1 {
156                relative: 1.0 0.0;
157                offset: (-ACTION_HEIGHT -BORDER_PADDING) 0;
158             }
159             rel2 {
160                relative: 1.0 1.0;
161                offset: -BORDER_PADDING 0;
162             }
163             text {
164                font: FONT_NORMAL;
165                size: SIZE_MEDIUM;
166                align: 0 0.5;
167                min: 0 1;
168             }
169          }
170       }
171
172       part {
173          name: "elm.drag_button_base";
174          type: SWALLOW;
175          mouse_events: 1;
176          scale: 1;
177          description {
178          state: "default" 0.0;
179             fixed: 1 1;
180             min: 170 170;
181             align: 0.5 0.5;
182             rel1.to: "bg";
183             rel2 {
184                relative: 0.0 1.0;
185                to: "bg";
186             }
187          }
188          dragable {
189             confine: "bg";
190             x: 1 1 0;
191             y: 0 0 0;
192          }
193       }
194       part {
195          name: "elm.drag_button";
196          type: IMAGE;
197          mouse_events: 1;
198          description {
199             state: "default" 0.0;
200             min: 170 170;
201             max: 170 170;
202             color: 255 255 255 255;
203             color_class: "action";
204             rel1.to_x: "elm.drag_button_base";
205             rel1.to_y: "bg";
206             rel2.to_x: "elm.drag_button_base";
207             rel2.to_y: "bg";
208             image {
209                normal: "ico_call.png";
210                scale_hint: STATIC;
211             }
212             fill.smooth: 1;
213          }
214          dragable {
215             events: "elm.drag_button_base";
216          }
217       }
218    }
219
220    programs {
221       program {
222          name: "elm.drag_button,mouse,up";
223          signal: "mouse,up,1";
224          source: "elm.drag_button";
225          action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
226       }
227       program {
228          name: "elm.drag_button,mouse,down";
229          signal: "mouse,down,1";
230          source: "elm.drag_button";
231          action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
232       }
233       program {
234          name: "elm.drag_button,mouse,move";
235          signal: "mouse,move";
236          source: "elm.drag_button_base";
237          action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
238       }
239    }
240 }