Added new winset styles (2.2.2.38-2.2.2.44) according to the GUI Guide 1.8
[profile/ivi/efl-theme-tizen.git] / themes / widgets / actionslider.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18
19         /********************/
20         /* elm_actionslider */
21         /********************/
22         #define ACTIONSLIDER_BG_H                       96
23         #define ACTIONSLIDER_BG_LEFT_W                  6
24         #define ACTIONSLIDER_BG_RIGHT_W                 6
25
26         // button type
27         #define ACTIONSLIDER_BUTTON_W                   64
28         #define ACTIONSLIDER_BUTTON_H                   88
29         #define ACTIONSLIDER_BUTTON_TOP_PADDING_H       4
30         #define ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H    4
31         #define ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT   12
32         #define ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT  12
33
34         // bar type
35         #define ACTIONSLIDER_BAR_W                      32
36         #define ACTIONSLIDER_BAR_H                      86
37         #define ACTIONSLIDER_BAR_TOP_PADDING_H          5
38         #define ACTIONSLIDER_BAR_BOTTOM_PADDING_H       5
39         #define ACTIONSLIDER_BAR_TEXT_PADDING_LEFT      10
40         #define ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT     10
41
42         // elm_actionslider default(button) style
43         group {
44                 name: "elm/actionslider/base/default";
45                 alias: "elm/actionslider/base/button";
46
47                 images {
48                         image: "01_action_slider_bg_left.png" COMP;
49                         image: "01_action_slider_bg_center.png" COMP;
50                         image: "01_action_slider_bg_right.png" COMP;
51                 }
52
53                 parts {
54                         part {
55                                 name: "bg";
56                                 type: RECT;
57                                 mouse_events: 0;
58                                 scale: 1;
59                                 description {
60                                         state: "default" 0.0;
61                                         min: 0 ACTIONSLIDER_BG_H;
62                                         fixed: 0 1;
63                                         align: 0.5 0;
64                                         rel1 { relative: 0.0 0.0; }
65                                         rel2 { relative: 1.0 0.0; }
66                                         color: 0 0 0 0;
67                                 }
68                         }
69                         part {
70                                 name: "image.bg.left";
71                                 type: IMAGE;
72                                 mouse_events: 0;
73                                 scale: 1;
74                                 description {
75                                         state: "default" 0.0;
76                                         min: ACTIONSLIDER_BG_LEFT_W 0;
77                                         fixed: 1 0;
78                                         align: 0 0.5;
79                                         rel1 { relative: 0.0 0.0; to: "bg"; }
80                                         rel2 { relative: 0.0 1.0; to: "bg"; }
81                                         image.normal: "01_action_slider_bg_left.png";
82                                 }
83                         }
84                         part {
85                                 name: "image.bg.right";
86                                 type: IMAGE;
87                                 mouse_events: 0;
88                                 scale: 1;
89                                 description {
90                                         state: "default" 0.0;
91                                         min: ACTIONSLIDER_BG_RIGHT_W 0;
92                                         fixed: 1 0;
93                                         align: 1.0 0.5;
94                                         rel1 { relative: 1.0 0.0;  to: "bg"; }
95                                         rel2 { relative: 1.0 1.0; to: "bg"; }
96                                         image.normal: "01_action_slider_bg_right.png";
97                                 }
98                         }
99                         part {
100                                 name: "image.bg.center";
101                                 type: IMAGE;
102                                 mouse_events: 0;
103                                 description {
104                                         state: "default" 0.0;
105                                         rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
106                                         rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
107                                         image.normal: "01_action_slider_bg_center.png";
108                                 }
109                         }
110                         part {
111                                 name: "padding.top";
112                                 type: RECT;
113                                 mouse_events: 0;
114                                 scale: 1;
115                                 description {
116                                         state: "default" 0.0;
117                                         min: 0 ACTIONSLIDER_BUTTON_TOP_PADDING_H;
118                                         fixed: 0 1;
119                                         align: 0.5 0.0;
120                                         rel1 { relative: 0.0 0.0; to: "bg"; }
121                                         rel2 { relative: 1.0 0.0; to: "bg"; }
122                                         color: 0 0 0 0;
123                                 }
124                         }
125                         part {
126                                 name: "padding.bottom";
127                                 type: RECT;
128                                 mouse_events: 0;
129                                 scale: 1;
130                                 description {
131                                         state: "default" 0.0;
132                                         min: 0 ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H;
133                                         fixed: 0 1;
134                                         align: 0.5 1.0;
135                                         rel1 { relative: 0.0 1.0; to: "bg"; }
136                                         rel2 { relative: 1.0 1.0; to: "bg"; }
137                                         color: 0 0 0 0;
138                                 }
139                         }
140                         part {
141                                 name: "icon.dragable.area";
142                                 type: RECT;
143                                 mouse_events: 1;
144                                 description { 
145                                         state: "default" 0.0;
146                                         rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
147                                         rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
148                                         color: 0 0 0 0;
149                                 }
150                         }
151                         part {
152                                 name: "text.padding.left";
153                                 type: RECT;
154                                 mouse_events: 0;
155                                 scale: 1;
156                                 description {
157                                         state: "default" 0.0;
158                                         min: ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 0;
159                                         fixed: 1 0;
160                                         align: 0 0.5;
161                                         rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
162                                         rel2 { relative: 0.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
163                                         color: 0 0 0 0;
164                                 }
165                         }
166                         part {
167                                 name: "text.padding.right";
168                                 type: RECT;
169                                 mouse_events: 0;
170                                 scale: 1;
171                                 description {
172                                         state: "default" 0.0;
173                                         min: ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 0;
174                                         fixed: 1 0;
175                                         align: 1 0.5;
176                                         rel1 { relative: 1.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
177                                         rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
178                                         color: 0 0 0 0;
179                                 }
180                         }
181                         part {
182                                 name: "elm.text.left";
183                                 type: TEXT;
184                                 mouse_events: 0;
185                                 scale: 1;
186                                 description {
187                                         state: "default" 0.0;
188                                         visible: 1;
189                                         rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }     
190                                         rel2 { relative: 0.5 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
191                                         color: 0 162 255 255;
192                                         text {
193                                                 font: "SLP:style=Roman";
194                                                 size: 32;
195                                                 align: 0 0.5;
196                                                 text_class: "slp_roman";
197                                         }
198                                 }
199                         }
200                         part {
201                                 name: "elm.text.right";
202                                 type: TEXT;
203                                 mouse_events: 0;
204                                 scale: 1;
205                                 description {
206                                         state: "default" 0.0;
207                                         visible: 1;
208                                         rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }       
209                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
210                                         color: 230 0 0 255;
211                                         text {
212                                                 font: "SLP:style=Roman";
213                                                 size: 32;
214                                                 align: 1 0.5;
215                                                 text_class: "slp_roman";
216                                         }
217                                 }
218                         }
219                         part {
220                                 name: "elm.text.center";
221                                 type: TEXT;
222                                 mouse_events: 0;
223                                 scale: 1;
224                                 effect: SHADOW;
225                                 description {
226                                         state: "default" 0.0;
227                                         visible: 1;
228                                         rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
229                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
230                                         color: 230 0 0 255;
231                                         color2: 0 0 0 255;
232                                         text {
233                                                 font: "SLP:style=Roman";
234                                                 size: 42;
235                                                 align: 0.5 0.5;
236                                                 text_class: "slp_roman";
237                                         }
238                                 }
239                                 description {
240                                         state: "show" 0.0;
241                                         inherit: "default" 0.0;
242                                         visible: 1;
243                                 }
244                                 description {
245                                         state: "hide" 0.0;
246                                         inherit: "default" 0.0;
247                                         visible: 0;
248                                 }       
249                         }
250                         part {
251                                 name: "elm.swallow.icon";
252                                 type: SWALLOW;
253                                 mouse_events: 1;
254                                 scale: 1;
255                                 description {
256                                         state: "default" 0.0;
257                                         min: ACTIONSLIDER_BUTTON_W ACTIONSLIDER_BUTTON_H;
258                                         fixed: 1 1;
259                                         align: 0 0.5;
260                                         rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
261                                         rel2 { relative: 0.0 1.0; to: "icon.dragable.area"; }
262                                 }
263                                 dragable {
264                                         confine: "icon.dragable.area";
265                                         x: 1 1 1530;
266                                         y: 0 0 0;
267                                 }
268                         }
269                 } // end of parts
270                 programs {
271                 } // end of programs
272         } // end of group "elm/actionslider/base/default" and "elm/actionslider/base/button"
273
274         group {
275                 name: "elm/actionslider/icon/default";
276                 alias: "elm/actionslider/icon/button";
277
278                 images {
279                         image: "01_action_slider_button.png" COMP;
280                 }
281                 parts {
282                         part {
283                                 name: "image.button";
284                                 type: IMAGE;
285                                 mouse_events: 1;
286                                 description {
287                                         state: "default" 0.0;
288                                         rel1 { relative: 0.0 0.0; } 
289                                         rel2 { relative: 1.0 1.0; }
290                                         image.normal: "01_action_slider_button.png";
291                                 }
292                         }
293                 } // end of parts
294         } // end of group "elm/actionslider/icon/default"
295
296         // elm_actionslider bar_green style
297         group {
298                 name: "elm/actionslider/base/bar_green";
299
300                 images {
301                         image: "01_action_slider_bg_left.png" COMP;
302                         image: "01_action_slider_bg_center.png" COMP;
303                         image: "01_action_slider_bg_right.png" COMP;
304                         image: "01_action_slider_bar_green_left.png" COMP;
305                         image: "01_action_slider_bar_green_center.png" COMP;
306                 }
307
308                 parts {
309                         part {
310                                 name: "bg";
311                                 type: RECT;
312                                 mouse_events: 0;
313                                 scale: 1;
314                                 description {
315                                         state: "default" 0.0;
316                                         min: 0 ACTIONSLIDER_BG_H;
317                                         fixed: 0 1;
318                                         align: 0.5 0;
319                                         rel1 { relative: 0.0 0.0; }
320                                         rel2 { relative: 1.0 0.0; }
321                                         color: 0 0 0 0;
322                                 }
323                         }
324                         part {
325                                 name: "image.bg.left";
326                                 type: IMAGE;
327                                 mouse_events: 0;
328                                 scale: 1;
329                                 description {
330                                         state: "default" 0.0;
331                                         min: ACTIONSLIDER_BG_LEFT_W 0;
332                                         fixed: 1 0;
333                                         align: 0 0.5;
334                                         rel1 { relative: 0.0 0.0; to: "bg"; }
335                                         rel2 { relative: 0.0 1.0; to: "bg"; }
336                                         image.normal: "01_action_slider_bg_left.png";
337                                 }
338                         }
339                         part {
340                                 name: "image.bg.right";
341                                 type: IMAGE;
342                                 mouse_events: 0;
343                                 scale: 1;
344                                 description {
345                                         state: "default" 0.0;
346                                         min: ACTIONSLIDER_BG_RIGHT_W 0;
347                                         fixed: 1 0;
348                                         align: 1.0 0.5;
349                                         rel1 { relative: 1.0 0.0;  to: "bg"; }
350                                         rel2 { relative: 1.0 1.0; to: "bg"; }
351                                         image.normal: "01_action_slider_bg_right.png";
352                                 }
353                         }
354                         part {
355                                 name: "image.bg.center";
356                                 type: IMAGE;
357                                 mouse_events: 0;
358                                 description {
359                                         state: "default" 0.0;
360                                         rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
361                                         rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
362                                         image.normal: "01_action_slider_bg_center.png";
363                                 }
364                         }
365                         part {
366                                 name: "padding.top";
367                                 type: RECT;
368                                 mouse_events: 0;
369                                 scale: 1;
370                                 description {
371                                         state: "default" 0.0;
372                                         min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
373                                         fixed: 0 1;
374                                         align: 0.5 0.0;
375                                         rel1 { relative: 0.0 0.0; to: "bg"; }
376                                         rel2 { relative: 1.0 0.0; to: "bg"; }
377                                         color: 0 0 0 0;
378                                 }
379                         }
380                         part {
381                                 name: "padding.bottom";
382                                 type: RECT;
383                                 mouse_events: 0;
384                                 scale: 1;
385                                 description {
386                                         state: "default" 0.0;
387                                         min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
388                                         fixed: 0 1;
389                                         align: 0.5 1.0;
390                                         rel1 { relative: 0.0 1.0; to: "bg"; }
391                                         rel2 { relative: 1.0 1.0; to: "bg"; }
392                                         color: 0 0 0 0;
393                                 }
394                         }
395                         part {
396                                 name: "text.padding.left";
397                                 type: RECT;
398                                 mouse_events: 0;
399                                 scale: 1;
400                                 description {
401                                         state: "default" 0.0;
402                                         min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
403                                         fixed: 1 0;
404                                         align: 0 0.5;
405                                         rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
406                                         rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
407                                         color: 0 0 0 0;
408                                 }
409                         }
410                         part {
411                                 name: "text.padding.right";
412                                 type: RECT;
413                                 mouse_events: 0;
414                                 scale: 1;
415                                 description {
416                                         state: "default" 0.0;
417                                         min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
418                                         fixed: 1 0;
419                                         align: 1 0.5;
420                                         rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
421                                         rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
422                                         color: 0 0 0 0;
423                                 }
424                         }
425                         part {
426                                 name: "elm.text.right";
427                                 type: TEXT;
428                                 mouse_events: 0;
429                                 scale: 1;
430                                 description {
431                                         state: "default" 0.0;
432                                         visible: 1;
433                                         rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }       
434                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
435                                         color: 255 255 255 255;
436                                         text {
437                                                 font: "SLP:style=Roman";
438                                                 size: 42;
439                                                 align: 1 0.5;
440                                                 text_class: "slp_roman";
441                                         }
442                                 }
443                         }
444                         part {
445                                 name: "bar.padding.left";
446                                 type: RECT;
447                                 scale: 1;
448                                 description {
449                                         state: "default" 0.0;
450                                         min: 3 0;
451                                         fixed: 1 0;
452                                         align: 0 0.5;
453                                         rel1 { relative: 0.0 0.0; to: "bg"; }
454                                         rel2 { relative: 0.0 1.0; to: "bg"; }
455                                         color: 0 0 0 0;
456                                 }
457                         }
458                         part {
459                                 name: "image.bar.left";
460                                 type: IMAGE;
461                                 scale: 1;
462                                 description {
463                                         state: "default" 0.0;
464                                         visible: 1;
465                                         min: 6 0;
466                                         fixed: 1 0;
467                                         align: 0 0.5;
468                                         rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
469                                         rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
470                                         image.normal: "01_action_slider_bar_green_left.png";
471                                 }
472                         }
473                         part {
474                                 name: "bar.padding.center";
475                                 type: RECT;
476                                 mouse_events: 0;
477                                 scale: 1;
478                                 description {
479                                         state: "default" 0.0;
480                                         visible: 0;
481                                         min: 11 0;
482                                         fixed: 1 0;
483                                         align: 0 0.5;
484                                         rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
485                                         rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
486                                 }
487                         }
488                         part {
489                                 name: "image.bar.center";
490                                 type: IMAGE;
491                                 mouse_events: 0;
492                                 description {
493                                         state: "default" 0.0;
494                                         visible: 1;
495                                         rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
496                                         rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
497                                         image.normal: "01_action_slider_bar_green_center.png";
498                                 }
499                         }
500                         part {
501                                 name: "icon.dragable.area";
502                                 type: RECT;
503                                 mouse_events: 1;
504                                 description {
505                                         state: "default" 0.0;
506                                         rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
507                                         rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
508                                         color: 0 0 0 0;
509                                 }
510                         }
511                         part {
512                                 name: "elm.swallow.icon";
513                                 type: SWALLOW;
514                                 mouse_events: 1;
515                                 scale: 1;
516                                 description {
517                                         state: "default" 0.0;
518                                         min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
519                                         fixed: 1 1;
520                                         align: 0 0.5;
521                                         rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
522                                         rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
523                                 }
524                                 dragable {
525                                         confine: "icon.dragable.area";
526                                         x: 1 1 1530;
527                                         y: 0 0 0;
528                                 }
529                         }
530                         part {
531                                 name: "elm.text.center";
532                                 type: TEXT;
533                                 mouse_events: 0;
534                                 scale: 1;
535                                 effect: SHADOW;
536                                 description {
537                                         state: "default" 0.0;
538                                         visible: 0;
539                                         rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
540                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
541                                         color: 255 255 255 255;
542                                         color2: 0 0 0 255;
543                                         text {
544                                                 font: "SLP:style=Roman";
545                                                 size: 42;
546                                                 align: 0.5 0.5;
547                                                 text_class: "slp_roman";
548                                         }
549                                 }
550                                 description {
551                                         state: "show" 0.0;
552                                         inherit: "default" 0.0;
553                                         visible: 1;
554                                 }
555                                 description {
556                                         state: "hide" 0.0;
557                                         inherit: "default" 0.0;
558                                         visible: 0;
559                                 }       
560                         }
561                 } // end of parts
562                 programs {
563                         program {
564                                 name: "show_text_center";
565                                 signal: "elm,show,text,center";
566                                 source: "elm";
567                                 action: STATE_SET "show" 0.0;
568                                 target: "elm.text.center";
569                         }
570                         program {
571                                 name: "hide_text_center";
572                                 signal: "elm,hide,text,center";
573                                 source: "elm";
574                                 action: STATE_SET "hide" 0.0;
575                                 target: "elm.text.center";
576                         }
577                 } // end of programs
578         } // end of group "elm/actionslider/base/bar_green"
579
580         group {
581                 name: "elm/actionslider/icon/bar_green";
582
583                 images {
584                         image: "01_action_slider_bar_green_right.png" COMP;
585                 }
586                 parts {
587                         part {
588                                 name: "image.button";
589                                 type: IMAGE;
590                                 mouse_events: 1;
591                                 description {
592                                         state: "default" 0.0;
593                                         rel1 { relative: 0.0 0.0; } 
594                                         rel2 { relative: 1.0 1.0; }
595                                         image.normal: "01_action_slider_bar_green_right.png";
596                                 }
597                         }
598                 } // end of parts
599         } // end of group "elm/actionslider/icon/bar_green"
600
601         // elm_actionslider bar_red style
602         group {
603                 name: "elm/actionslider/base/bar_red";
604
605                 images {
606                         image: "01_action_slider_bg_left.png" COMP;
607                         image: "01_action_slider_bg_center.png" COMP;
608                         image: "01_action_slider_bg_right.png" COMP;
609                         image: "01_action_slider_bar_red_left.png" COMP;
610                         image: "01_action_slider_bar_red_center.png" COMP;
611                 }
612
613                 parts {
614                         part {
615                                 name: "bg";
616                                 type: RECT;
617                                 mouse_events: 0;
618                                 scale: 1;
619                                 description {
620                                         state: "default" 0.0;
621                                         min: 0 ACTIONSLIDER_BG_H;
622                                         fixed: 0 1;
623                                         align: 0.5 0;
624                                         rel1 { relative: 0.0 0.0; }
625                                         rel2 { relative: 1.0 0.0; }
626                                         color: 0 0 0 0;
627                                 }
628                         }
629                         part {
630                                 name: "image.bg.left";
631                                 type: IMAGE;
632                                 mouse_events: 0;
633                                 scale: 1;
634                                 description {
635                                         state: "default" 0.0;
636                                         min: ACTIONSLIDER_BG_LEFT_W 0;
637                                         fixed: 1 0;
638                                         align: 0 0.5;
639                                         rel1 { relative: 0.0 0.0; to: "bg"; }
640                                         rel2 { relative: 0.0 1.0; to: "bg"; }
641                                         image.normal: "01_action_slider_bg_left.png";
642                                 }
643                         }
644                         part {
645                                 name: "image.bg.right";
646                                 type: IMAGE;
647                                 mouse_events: 0;
648                                 scale: 1;
649                                 description {
650                                         state: "default" 0.0;
651                                         min: ACTIONSLIDER_BG_RIGHT_W 0;
652                                         fixed: 1 0;
653                                         align: 1.0 0.5;
654                                         rel1 { relative: 1.0 0.0;  to: "bg"; }
655                                         rel2 { relative: 1.0 1.0; to: "bg"; }
656                                         image.normal: "01_action_slider_bg_right.png";
657                                 }
658                         }
659                         part {
660                                 name: "image.bg.center";
661                                 type: IMAGE;
662                                 mouse_events: 0;
663                                 description {
664                                         state: "default" 0.0;
665                                         rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
666                                         rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
667                                         image.normal: "01_action_slider_bg_center.png";
668                                 }
669                         }
670                         part {
671                                 name: "padding.top";
672                                 type: RECT;
673                                 mouse_events: 0;
674                                 scale: 1;
675                                 description {
676                                         state: "default" 0.0;
677                                         min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
678                                         fixed: 0 1;
679                                         align: 0.5 0.0;
680                                         rel1 { relative: 0.0 0.0; to: "bg"; }
681                                         rel2 { relative: 1.0 0.0; to: "bg"; }
682                                         color: 0 0 0 0;
683                                 }
684                         }
685                         part {
686                                 name: "padding.bottom";
687                                 type: RECT;
688                                 mouse_events: 0;
689                                 scale: 1;
690                                 description {
691                                         state: "default" 0.0;
692                                         min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
693                                         fixed: 0 1;
694                                         align: 0.5 1.0;
695                                         rel1 { relative: 0.0 1.0; to: "bg"; }
696                                         rel2 { relative: 1.0 1.0; to: "bg"; }
697                                         color: 0 0 0 0;
698                                 }
699                         }
700                         part {
701                                 name: "text.padding.left";
702                                 type: RECT;
703                                 mouse_events: 0;
704                                 scale: 1;
705                                 description {
706                                         state: "default" 0.0;
707                                         min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
708                                         fixed: 1 0;
709                                         align: 0 0.5;
710                                         rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
711                                         rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
712                                         color: 0 0 0 0;
713                                 }
714                         }
715                         part {
716                                 name: "text.padding.right";
717                                 type: RECT;
718                                 mouse_events: 0;
719                                 scale: 1;
720                                 description {
721                                         state: "default" 0.0;
722                                         min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
723                                         fixed: 1 0;
724                                         align: 1 0.5;
725                                         rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
726                                         rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
727                                         color: 0 0 0 0;
728                                 }
729                         }
730                         part {
731                                 name: "elm.text.right";
732                                 type: TEXT;
733                                 mouse_events: 0;
734                                 scale: 1;
735                                 description {
736                                         state: "default" 0.0;
737                                         visible: 1;
738                                         rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }       
739                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
740                                         color: 255 255 255 255;
741                                         text {
742                                                 font: "SLP:style=Roman";
743                                                 size: 42;
744                                                 align: 1 0.5;
745                                                 text_class: "slp_roman";
746                                         }
747                                 }
748                         }
749                         part {
750                                 name: "bar.padding.left";
751                                 type: RECT;
752                                 scale: 1;
753                                 description {
754                                         state: "default" 0.0;
755                                         min: 3 0;
756                                         fixed: 1 0;
757                                         align: 0 0.5;
758                                         rel1 { relative: 0.0 0.0; to: "bg"; }
759                                         rel2 { relative: 0.0 1.0; to: "bg"; }
760                                         color: 0 0 0 0;
761                                 }
762                         }
763                         part {
764                                 name: "image.bar.left";
765                                 type: IMAGE;
766                                 scale: 1;
767                                 description {
768                                         state: "default" 0.0;
769                                         visible: 1;
770                                         min: 6 0;
771                                         fixed: 1 0;
772                                         align: 0 0.5;
773                                         rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
774                                         rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
775                                         image.normal: "01_action_slider_bar_red_left.png";
776                                 }
777                         }
778                         part {
779                                 name: "bar.padding.center";
780                                 type: RECT;
781                                 mouse_events: 0;
782                                 scale: 1;
783                                 description {
784                                         state: "default" 0.0;
785                                         visible: 0;
786                                         min: 11 0;
787                                         fixed: 1 0;
788                                         align: 0 0.5;
789                                         rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
790                                         rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
791                                 }
792                         }
793                         part {
794                                 name: "image.bar.center";
795                                 type: IMAGE;
796                                 mouse_events: 0;
797                                 description {
798                                         state: "default" 0.0;
799                                         visible: 1;
800                                         rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
801                                         rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
802                                         image.normal: "01_action_slider_bar_red_center.png";
803                                 }
804                         }
805                         part {
806                                 name: "icon.dragable.area";
807                                 type: RECT;
808                                 mouse_events: 1;
809                                 description {
810                                         state: "default" 0.0;
811                                         rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
812                                         rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
813                                         color: 0 0 0 0;
814                                 }
815                         }
816                         part {
817                                 name: "elm.swallow.icon";
818                                 type: SWALLOW;
819                                 mouse_events: 1;
820                                 scale: 1;
821                                 description {
822                                         state: "default" 0.0;
823                                         min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
824                                         fixed: 1 1;
825                                         align: 0 0.5;
826                                         rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
827                                         rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
828                                 }
829                                 dragable {
830                                         confine: "icon.dragable.area";
831                                         x: 1 1 1530;
832                                         y: 0 0 0;
833                                 }
834                         }
835                         part {
836                                 name: "elm.text.center";
837                                 type: TEXT;
838                                 mouse_events: 0;
839                                 scale: 1;
840                                 effect: SHADOW;
841                                 description {
842                                         state: "default" 0.0;
843                                         visible: 0;
844                                         rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
845                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
846                                         color: 255 255 255 255;
847                                         color2: 0 0 0 255;
848                                         text {
849                                                 font: "SLP:style=Roman";
850                                                 size: 42;
851                                                 align: 0.5 0.5;
852                                                 text_class: "slp_roman";
853                                         }
854                                 }
855                                 description {
856                                         state: "show" 0.0;
857                                         inherit: "default" 0.0;
858                                         visible: 1;
859                                 }
860                                 description {
861                                         state: "hide" 0.0;
862                                         inherit: "default" 0.0;
863                                         visible: 0;
864                                 }       
865                         }
866                 } // end of parts
867                 programs {
868                         program {
869                                 name: "show_text_center";
870                                 signal: "elm,show,text,center";
871                                 source: "elm";
872                                 action: STATE_SET "show" 0.0;
873                                 target: "elm.text.center";
874                         }
875                         program {
876                                 name: "hide_text_center";
877                                 signal: "elm,hide,text,center";
878                                 source: "elm";
879                                 action: STATE_SET "hide" 0.0;
880                                 target: "elm.text.center";
881                         }
882                 } // end of programs
883         } // end of group "elm/actionslider/base/bar_red"
884
885         group {
886                 name: "elm/actionslider/icon/bar_red";
887
888                 images {
889                         image: "01_action_slider_bar_red_right.png" COMP;
890                 }
891                 parts {
892                         part {
893                                 name: "image.button";
894                                 type: IMAGE;
895                                 mouse_events: 1;
896                                 description {
897                                         state: "default" 0.0;
898                                         rel1 { relative: 0.0 0.0; } 
899                                         rel2 { relative: 1.0 1.0; }
900                                         image.normal: "01_action_slider_bar_red_right.png";
901                                 }
902                         }
903                 } // end of parts
904         } // end of group "elm/actionslider/icon/bar_red"
905
906
907         // elm_actionslider callslider style
908         group {
909                 name: "elm/actionslider/base/callslider";
910
911                 images {
912                         image: "08_voicecall_multi_tasking_bg.png" COMP;
913                         image: "08_voicecall_multi_tasking_arrow_left.png" COMP;
914                         image: "08_voicecall_multi_tasking_arrow_right.png" COMP;
915                 }
916
917                 parts {
918                         part {
919                                 name: "bg";
920                                 type: RECT;
921                                 mouse_events: 0;
922                                 scale: 1;
923                                 description {
924                                         state: "default" 0.0;
925                                         min: 480 42;
926                                         fixed: 1 0;
927                                         align: 0 0;
928                                         rel1 { relative: 0.0 0.0; }
929                                         rel2 { relative: 1.0 1.0; }
930                                         color: 0 0 0 0;
931                                 }
932                         }
933                         part {
934                                 name: "image.bg";
935                                 type: IMAGE;
936                                 mouse_events: 0;
937                                 scale: 1;
938                                 description {
939                                         state: "default" 0.0;
940                                         rel1 { relative: 0.0 0.0; to:"bg";}
941                                         rel2 { relative: 1.0 1.0; to:"bg";}
942                                         image.normal: "08_voicecall_multi_tasking_bg.png";
943                                 }
944                         }
945                         part {
946                                 name: "padding.top";
947                                 type: RECT;
948                                 mouse_events: 0;
949                                 scale: 1;
950                                 description {
951                                         state: "default" 0.0;
952                                         min: 0 3;
953                                         fixed: 0 1;
954                                         align: 0.5 0.0;
955                                         rel1 { relative: 0.0 0.0; to: "bg"; }
956                                         rel2 { relative: 1.0 0.0; to: "bg"; }
957                                         color: 0 0 0 0;
958                                 }
959                         }
960                         part {
961                                 name: "padding.bottom";
962                                 type: RECT;
963                                 mouse_events: 0;
964                                 scale: 1;
965                                 description {
966                                         state: "default" 0.0;
967                                         min: 0 3;
968                                         fixed: 0 1;
969                                         align: 0.5 1.0;
970                                         rel1 { relative: 0.0 1.0; to: "bg"; }
971                                         rel2 { relative: 1.0 1.0; to: "bg"; }
972                                         color: 0 0 0 0;
973                                 }
974                         }
975                         part {
976                                 name: "text.padding.left";
977                                 type: RECT;
978                                 mouse_events: 0;
979                                 scale: 1;
980                                 description {
981                                         state: "default" 0.0;
982                                         min: 5 0;
983                                         fixed: 1 0;
984                                         align: 0 0.5;
985                                         rel1 { relative: 0.0 0.0; to: "bg"; }
986                                         rel2 { relative: 0.0 1.0; to: "bg"; }
987                                         color: 0 0 0 0;
988                                 }
989                         }
990                         part {
991                                 name: "text.padding.right";
992                                 type: RECT;
993                                 mouse_events: 0;
994                                 scale: 1;
995                                 description {
996                                         state: "default" 0.0;
997                                         min: 5 0;
998                                         fixed: 1 0;
999                                         align: 1 0.5;
1000                                         rel1 { relative: 1.0 0.0; to: "bg"; }
1001                                         rel2 { relative: 1.0 1.0; to: "bg"; }
1002                                         color: 0 0 0 0;
1003                                 }
1004                         }
1005                         part {
1006                                 name: "elm.text.left";
1007                                 type: TEXT;
1008                                 mouse_events: 0;
1009                                 scale: 1;
1010                                 description {
1011                                         state: "default" 0.0;
1012                                         visible: 1;
1013                                         rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }     
1014                                         rel2 { relative: 0.5 0.0; to_x: "bg"; to_y: "padding.bottom"; }
1015                                         color: 230 228 229 255;
1016                                         text {
1017                                                 font: "SLP:style=Roman";
1018                                                 size: 22;
1019                                                 align: 0 0.5;
1020                                                 text_class: "slp_roman";
1021                                         }
1022                                 }
1023                         }
1024                         part {
1025                                 name: "elm.text.right";
1026                                 type: TEXT;
1027                                 mouse_events: 0;
1028                                 scale: 1;
1029                                 description {
1030                                         state: "default" 0.0;
1031                                         visible: 1;
1032                                         rel1 { relative: 0.5 1.0; to_x: "bg"; to_y: "padding.top"; }    
1033                                         rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
1034                                         color: 230 228 229 255;
1035                                         text {
1036                                                 font: "SLP:style=Roman";
1037                                                 size: 22;
1038                                                 align: 1 0.5;
1039                                                 text_class: "slp_roman";
1040                                         }
1041                                 }
1042                         }
1043                         part {
1044                                 name: "drag.padding.left";
1045                                 type: RECT;
1046                                 mouse_events: 0;
1047                                 scale: 1;
1048                                 description {
1049                                         state: "default" 0.0;
1050                                         min: 0 0;
1051                                         fixed: 1 0;
1052                                         align: 0 0.5;
1053                                         rel1 { relative: 0.0 0.0; to: "bg"; }
1054                                         rel2 { relative: 0.0 1.0; to: "bg"; }
1055                                         color: 0 0 0 0;
1056                                 }
1057                         }
1058                         part {
1059                                 name: "drag.padding.right";
1060                                 type: RECT;
1061                                 mouse_events: 0;
1062                                 scale: 1;
1063                                 description {
1064                                         state: "default" 0.0;
1065                                         min: 0 0;
1066                                         fixed: 1 0;
1067                                         align: 1 0.5;
1068                                         rel1 { relative: 1.0 0.0; to: "bg"; }
1069                                         rel2 { relative: 1.0 1.0; to: "bg"; }
1070                                         color: 0 0 0 0;
1071                                 }
1072                         }
1073                         part {
1074                                 name: "icon.dragable.area";
1075                                 type: RECT;
1076                                 mouse_events: 1;
1077                                 description {
1078                                         state: "default" 0.0;
1079                                         rel1 { relative: 1.0 1.0; to_x: "drag.padding.left"; to_y: "padding.top"; }
1080                                         rel2 { relative: 0.0 0.0; to_x: "drag.padding.right"; to_y: "padding.bottom"; }
1081                                         color: 0 0 0 0;
1082                                 }
1083                         }
1084                         part {
1085                                 name: "elm.swallow.space";
1086                                 type: SWALLOW;
1087                                 mouse_events: 0;
1088                                 scale: 1;
1089                                 description {
1090                                         state: "default" 0.0;
1091                                         min: 40 36;
1092                                         fixed: 1 0;
1093                                         align: 0.5 0.5;
1094                                         rel1 { relative: 0.5 0.0; to: "icon.dragable.area"; }
1095                                         rel2 { relative: 0.5 1.0; to: "icon.dragable.area"; }
1096                                         color: 0 0 0 0;
1097                                         visible: 0;
1098                                 }
1099                         }
1100                         part {
1101                                 name: "image.button.left";
1102                                 type: IMAGE;
1103                                 mouse_events: 0;
1104                                 description {
1105                                         state: "default" 0.0;
1106                                         min: 16 15;
1107                                         fixed: 1 1;
1108                                         align: 1 0.5;
1109                                         rel1 { relative: 0.0 0.5; to:"elm.swallow.space";} 
1110                                         rel2 { relative: 0.0 0.5; to:"elm.swallow.space";}
1111                                         //rel1 { relative: 0.0 0.5; to:"elm.swallow.icon";} 
1112                                         //rel2 { relative: 0.0 0.5; to:"elm.swallow.icon";}
1113                                         image.normal: "08_voicecall_multi_tasking_arrow_left.png";
1114                                 }
1115                         }
1116                         part {
1117                                 name: "image.button.right";
1118                                 type: IMAGE;
1119                                 mouse_events: 0;
1120                                 description {
1121                                         state: "default" 0.0;
1122                                         min: 16 15;
1123                                         fixed: 1 1;
1124                                         align: 0 0.5;
1125                                         rel1 { relative: 1.0 0.5; to:"elm.swallow.space";} 
1126                                         rel2 { relative: 1.0 0.5; to:"elm.swallow.space";}
1127                                         //rel1 { relative: 1.0 0.5; to:"elm.swallow.icon";} 
1128                                         //rel2 { relative: 1.0 0.5; to:"elm.swallow.icon";}
1129                                         image.normal: "08_voicecall_multi_tasking_arrow_right.png";
1130                                 }
1131                         }
1132                         part {
1133                                 name: "elm.swallow.icon";
1134                                 type: SWALLOW;
1135                                 mouse_events: 1;
1136                                 scale: 1;
1137                                 description {
1138                                         state: "default" 0.0;
1139                                         min: 40 36;
1140                                         fixed: 0 0;
1141                                         align: 0 0.5;
1142                                         rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
1143                                         rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
1144                                         color: 0 0 0 0;
1145                                 }
1146                                 dragable {
1147                                         confine: "icon.dragable.area";
1148                                         x: 1 1 1530;
1149                                         y: 0 0 0;
1150                                 }
1151                         }
1152                 } // end of parts
1153         } // end of group "elm/actionslider/base/callslider"
1154
1155         group {
1156                 name: "elm/actionslider/icon/callslider";
1157
1158                 data {
1159                         /* Set padding value */
1160                         item: "left" "19";
1161                         item: "right" "19";
1162                 }
1163
1164                 images {
1165                         image: "08_voicecall_multi_tasking_button.png" COMP;
1166                 }
1167                 parts {
1168                         part {
1169                                 name: "image.button";
1170                                 type: IMAGE;
1171                                 mouse_events: 1;
1172                                 description {
1173                                         state: "default" 0.0;
1174                                         min: 0 0;
1175                                         fixed: 0 0;
1176                                         align: 0.5 0.5;
1177                                         rel1 { relative: 0.0 0.0; } 
1178                                         rel2 { relative: 1.0 1.0; }
1179                                         image.normal: "08_voicecall_multi_tasking_button.png";
1180                                         //image.border: 19 19 0 0;
1181                                         image.border: 19 19 18 18;
1182                                         image.border_scale: 1;
1183                                 }
1184                         }
1185                         part {
1186                                 name: "elm.text.button";
1187                                 type: TEXT;
1188                                 mouse_events: 0;
1189                                 scale: 1;
1190                                 description {
1191                                         state: "default" 0.0;
1192                                         visible: 1;
1193                                         rel1 { relative: 0.0 0.0; to: "image.button"; } 
1194                                         rel2 { relative: 1.0 1.0; to: "image.button"; }
1195                                         color: 53 45 39 255;
1196                                         text {
1197                                                 font: "SLP:style=Roman";
1198                                                 size: 22;
1199                                                 align: 0.5 0.5;
1200                                                 text: "";
1201                                                 text_class: "slp_roman";
1202                                         }
1203                                 }
1204                         }
1205                 } // end of parts
1206         } // end of group "elm/actionslider/icon/callslider"
1207