Make TIZEN 2.0
[apps/home/call.git] / ui / themes / call_theme.edc
1 #include "../src/include/vcui-view-layout-hd.h"
2
3 #define BUTTON_STATE_ENABLED 0
4 #define BUTTON_STATE_DISABLED 1
5
6 #define BG_IMG_PATH "./bg"
7 #define ICON_IMG_PATH "./icon"
8
9 #define STYLE_CALL_SIX_BUTTON(grp_name, img1, img2, value, vis_value, op, r1, g1, b1, op1, r3, g3, b3, op3) \
10         group { name: "elm/button/base/"grp_name; \
11                 images { \
12                         image: img1 COMP; \
13                         image: img2 COMP; \
14                 } \
15                 parts { \
16                         part { name: "button_image"; \
17                                 type: RECT; \
18                                 mouse_events: value; \
19                                 scale: 1; \
20                                 description {state: "default" 0.0; \
21                                         color: COLOR_BG_ALPHA; \
22                                 } \
23                                 description { state: "clicked" 0.0; \
24                                         inherit: "default" 0.0; \
25                                 } \
26                                 description { state: "disabled" 0.0; \
27                                         inherit: "default" 0.0; \
28                                 } \
29                                 description { state: "focused" 0.0; \
30                                         inherit: "default" 0.0; \
31                                 } \
32                         } \
33                         part { name: "elm.swallow.content"; \
34                                 description { state: "default" 0.0; \
35                                         visible: vis_value; \
36                                         image { \
37                                                 normal: img1; \
38                                         } \
39                                         align: 0.5 0.5; \
40                                         aspect: 0.5 1.0; \
41                                         rel1.relative: 0.0 (22/168); \
42                                         rel2.relative: 1.0 (102/168); \
43                                         aspect_preference: VERTICAL; \
44                                 } \
45                                 description { state: "visible" 0.0; \
46                                         inherit: "default" 0.0; \
47                                         fixed: 1 0; \
48                                         visible: 1; \
49                                         aspect: 1.0 1.0; \
50                                 } \
51                                 description { state: "clicked" 0.0; \
52                                         inherit: "default" 0.0; \
53                                         fixed: 1 0; \
54                                         visible: 1; \
55                                         aspect: 1.0 1.0; \
56                                         image { \
57                                                 normal: img2; \
58                                         } \
59                                 } \
60                                 description { state: "icononly" 0.0; \
61                                         inherit: "default" 0.0; \
62                                         fixed: 0 0; \
63                                         visible: 1; \
64                                         align: 0.5 0.5; \
65                                         aspect: 1.0 1.0; \
66                                         rel2.relative: 1.0 (146/168); \
67                                 } \
68                         } \
69                         part { name: "elm.text"; \
70                                 type: TEXT; \
71                                 effect: SOFT_SHADOW; \
72                                 mouse_events: 0; \
73                                 scale: 1; \
74                                 description { state: "default" 0.0; \
75                                         visible: 0; \
76                                         fixed: 1 1; \
77                                         rel1.to_y: "elm.swallow.content"; \
78                                         rel1.relative: 0.5 (108/168); \
79                                         rel2.relative: 0.5 (146/168); \
80                                         color: 255 255 255 op; \
81                                         color2: 0 0 0 102; \
82                                         color3: 0 0 0 255; \
83                                         text { \
84                                                 font: FONT_SLP_Roman; \
85                                                 text_class: TEXT_CLASS_SLP_ROMAN; \
86                                                 size: 36; \
87                                                 min: 1 1; \
88                                                 align: 0.5 0.5; \
89                                         } \
90                                 } \
91                                 description { state: "visible" 0.0; \
92                                         inherit: "default" 0.0; \
93                                         visible: 1; \
94                                 } \
95                                 description { state: "clicked" 0.0; \
96                                         inherit: "default" 0.0; \
97                                         visible: 1; \
98                                         min: 1 1; \
99                                 } \
100                                 description { state: "disabled" 0.0; \
101                                         inherit: "default" 0.0; \
102                                         color: r1 g1 b1 op1; \
103                                         color3: r3 g3 b3 op3; \
104                                 } \
105                                 description { state: "disabled_visible" 0.0; \
106                                         inherit: "default" 0.0; \
107                                         color: r1 g1 b1 op1; \
108                                         color3: r3 g3 b3 op3; \
109                                         visible: 1; \
110                                 } \
111                                 description { state: "focused" 0.0; \
112                                         inherit: "default" 0.0; \
113                                         visible: 1; \
114                                         min: 1 1; \
115                                 } \
116                         } \
117                         part { name: "over2"; \
118                                 type: RECT; \
119                                 mouse_events: 1; \
120                                 repeat_events: 1; \
121                                 ignore_flags: ON_HOLD; \
122                                 description { state: "default" 0.0; \
123                                         color: 0 0 0 0; \
124                                         rel1 { relative: 0.25 0.1; } \
125                                         rel2 { relative: 0.75 0.9; } \
126                                 } \
127                                 description { state: "disabled" 0.0; \
128                                         inherit: "default" 0.0; \
129                                         visible: 0; \
130                                 } \
131                         } \
132                         part { name: "over3"; \
133                                 type: RECT; \
134                                 mouse_events: 1; \
135                                 repeat_events: 1; \
136                                 description { state: "default" 0.0; \
137                                         color: 0 0 0 0; \
138                                         rel1 { relative: 0.25 0.1; } \
139                                         rel2 { relative: 0.75 0.9; } \
140                                 } \
141                                 description { state: "clicked" 0.0; \
142                                         inherit: "default" 0.0; \
143                                         visible: 1; \
144                                 } \
145                         } \
146                         part { name: "disabler"; \
147                                 type: RECT; \
148                                 description { state: "default" 0.0; \
149                                         visible: 0; \
150                                 } \
151                                 description { state: "disabled" 0.0; \
152                                         inherit: "default" 0.0; \
153                                         visible: 1; \
154                                 } \
155                         } \
156                 } \
157                 programs { \
158                         program { name: "button_click"; \
159                                 signal: "mouse,down,1"; \
160                                 source: "over2"; \
161                                 action: SIGNAL_EMIT "elm,action,press" ""; \
162                                 after: "button_click_anim"; \
163                         } \
164                         program { name: "button_click_anim"; \
165                                 action: STATE_SET "clicked" 0.0; \
166                                 target: "button_image"; \
167                                 target: "elm.text"; \
168                                 target: "elm.swallow.content"; \
169                         } \
170                         program { name: "button_unclick"; \
171                                 signal: "mouse,up,1"; \
172                                 source: "over2"; \
173                                 action: SIGNAL_EMIT "elm,action,unpress" ""; \
174                                 after: "button_unclick_anim"; \
175                         } \
176                         program { name: "button_unclick_anim"; \
177                                 action: STATE_SET "default" 0.0; \
178                                 target: "button_image"; \
179                                 target: "elm.swallow.content"; \
180                                 action: STATE_SET "visible" 0.0; \
181                                 target: "elm.text"; \
182                         } \
183                         program { name: "button_mouseout_clicked"; \
184                                 signal: "mouse,out"; \
185                                 source: "over2"; \
186                                 script { \
187                                         new st[31]; \
188                                         new Float:vl; \
189                                         get_state(PART:"elm.text", st, 30, vl); \
190                                         if (!strcmp(st, "clicked")) \
191                                         { \
192                                                 set_state(PART:"elm.text", "visible", 0.0); \
193                                                 set_state(PART:"button_image", "visible", 0.0); \
194                                         } \
195                                 } \
196                         } \
197                         program { name: "button_click2"; \
198                                 signal: "mouse,down,1"; \
199                                 source: "over3"; \
200                                 action: STATE_SET "clicked" 0.0; \
201                                 target: "over3"; \
202                         } \
203                         program { name: "button_unclick2"; \
204                                 signal: "mouse,up,1"; \
205                                 source: "over3"; \
206                                 action: STATE_SET "default" 0.0; \
207                                 target: "over3"; \
208                         } \
209                         program { name: "button_unclick3"; \
210                                 signal: "mouse,up,1"; \
211                                 source: "over2"; \
212                                 action: SIGNAL_EMIT "elm,action,click" ""; \
213                         } \
214                         program { name: "text_show"; \
215                                 signal: "elm,state,text,visible"; \
216                                 source: "elm"; \
217                                 script { \
218                                         new st[31]; \
219                                         new Float:vl; \
220                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
221                                         if (!strcmp(st, "icononly")) \
222                                                 set_state(PART:"elm.swallow.content", "visible", 0.0); \
223                                         set_state(PART:"elm.text", "visible", 0.0); \
224                                 } \
225                         } \
226                         program { name: "text_hide"; \
227                                 signal: "elm,state,text,hidden"; \
228                                 source: "elm"; \
229                                 script { \
230                                         new st[31]; \
231                                         new Float:vl; \
232                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
233                                         if (!strcmp(st, "visible")) \
234                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
235                                         set_state(PART:"elm.text", "default", 0.0); \
236                                 } \
237                         } \
238                         program { name: "icon_show"; \
239                                 signal: "elm,state,icon,visible"; \
240                                 source: "elm"; \
241                                 script { \
242                                         new st[31]; \
243                                         new Float:vl; \
244                                         get_state(PART:"elm.text", st, 30, vl); \
245                                         if (!strcmp(st, "visible")) \
246                                                 set_state(PART:"elm.swallow.content", "visible", 0.0); \
247                                         else \
248                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
249                                 } \
250                         } \
251                         program { name: "icon_hide"; \
252                                 signal: "elm,state,icon,hidden"; \
253                                 source: "elm"; \
254                                 action: STATE_SET "default" 0.0; \
255                                 target: "elm.swallow.content"; \
256                         } \
257                         program { name: "disable"; \
258                                 signal: "elm,state,disabled"; \
259                                 source: "elm"; \
260                                 action: STATE_SET "disabled" 0.0; \
261                                 target: "button_image"; \
262                                 target: "over2"; \
263                                 target: "disabler"; \
264                                 after: "disable_text"; \
265                         } \
266                         program { name: "disable_text"; \
267                                 script { \
268                                         new st[31]; \
269                                         new Float:vl; \
270                                         get_state(PART:"elm.text", st, 30, vl); \
271                                         if (!strcmp(st, "visible")) \
272                                                 set_state(PART:"elm.text", "disabled_visible", 0.0); \
273                                         else \
274                                                 set_state(PART:"elm.text", "disabled", 0.0); \
275                                 } \
276                         } \
277                         program { name: "enable"; \
278                                 signal: "elm,state,enabled"; \
279                                 source: "elm"; \
280                                 action: STATE_SET "default" 0.0; \
281                                 target: "button_image"; \
282                                 target: "over2"; \
283                                 target: "disabler"; \
284                                 after: "enable_text"; \
285                         } \
286                         program { name: "enable_text"; \
287                                 script { \
288                                         new st[31]; \
289                                         new Float:vl; \
290                                         get_state(PART:"elm.text", st, 30, vl); \
291                                         if (!strcmp(st, "disabled_visible")) \
292                                                 set_state(PART:"elm.text", "visible", 0.0); \
293                                         else \
294                                                 set_state(PART:"elm.text", "default", 0.0); \
295                                 } \
296                         } \
297                         program { name: "focused"; \
298                                 signal: "elm,action,focus"; \
299                                 source: "elm"; \
300                                 action: STATE_SET "focused" 0.0; \
301                                 target: "button_image"; \
302                                 target: "elm.text"; \
303                         } \
304                         program { name: "unfocused"; \
305                                 signal: "elm,action,unfocus"; \
306                                 source: "elm"; \
307                                 action: STATE_SET "default" 0.0; \
308                                 target: "button_image"; \
309                                 action: STATE_SET "visible" 0.0; \
310                                 target: "elm.text"; \
311                         } \
312                 } \
313         }
314
315 #define STYLE_CALL_END_BUTTON(grp_name, img1, img2) \
316         group { name: "elm/button/base/"grp_name; \
317                 images { \
318                         image: BG_IMG_PATH"/vc_button_callend_press.png" COMP; \
319                         image: img1 COMP; \
320                         image: img2 COMP; \
321                 } \
322                 parts { \
323                         part { name: "button_image"; \
324                                 mouse_events: 0; \
325                                 scale: 1; \
326                                 description { \
327                                         state: "default" 0.0; \
328                                         visible: 0; \
329                                 } \
330                                 description { state: "clicked" 0.0; \
331                                         visible: 1; \
332                                         image { \
333                                                 normal: BG_IMG_PATH"/vc_button_callend_press.png"; \
334                                                 border: 9 9 69 69; \
335                                                 border_scale: 1; \
336                                         } \
337                                 } \
338                                 description { state: "visible" 0.0; \
339                                         inherit: "default" 0.0; \
340                                         visible: 0; \
341                                 } \
342                                 description { state: "disabled" 0.0; \
343                                         inherit: "default" 0.0; \
344                                 } \
345                                 description { state: "focused" 0.0; \
346                                         inherit: "default" 0.0; \
347                                 } \
348                         } \
349                         part { name: "elm.swallow.content"; \
350                                 description { state: "default" 0.0; \
351                                         visible: 1; \
352                                         align: 0.5 0.5; \
353                                         aspect: 0.5 1.0; \
354                                         rel1.relative: 0.0 0.24; \
355                                         rel2.relative: 1.0 0.60; \
356                                         aspect_preference: VERTICAL; \
357                                         image { \
358                                                 normal: img1; \
359                                                 } \
360                                 } \
361                                 description { state: "visible" 0.0; \
362                                         inherit: "default" 0.0; \
363                                         fixed: 1 0; \
364                                         visible: 1; \
365                                         aspect: 1.0 1.0; \
366                                 } \
367                                 description { state: "clicked" 0.0; \
368                                         inherit: "default" 0.0; \
369                                         fixed: 1 0; \
370                                         visible: 1; \
371                                         aspect: 1.0 1.0; \
372                                         image { \
373                                                 normal: img2; \
374                                                 } \
375                                 } \
376                                 description { state: "icononly" 0.0; \
377                                         inherit: "default" 0.0; \
378                                         fixed: 0 0; \
379                                         visible: 1; \
380                                         align: 0.5 0.5; \
381                                         aspect: 1.0 1.0; \
382                                         rel2.relative: 1.0 1.0; \
383                                 } \
384                         } \
385                         part { name: "elm.text"; \
386                                 type: TEXT; \
387                                 effect: SOFT_SHADOW; \
388                                 mouse_events: 0; \
389                                 scale: 1; \
390                                 description { state: "default" 0.0; \
391                                         visible: 0; \
392                                         fixed: 1 1; \
393                                         rel1.relative: 0.5 0.63; \
394                                         rel2.relative: 0.5 0.81; \
395                                         color: 255 255 255 255; \
396                                         color2: 0 0 0 102; \
397                                         color3: 0 0 0 255; \
398                                         text { \
399                                                 font: FONT_SLP_Roman; \
400                                                 text_class: TEXT_CLASS_SLP_ROMAN; \
401                                                 size: 36; \
402                                                 min: 1 1; \
403                                                 align: 0.5 0.5; \
404                                         } \
405                                 } \
406                                 description { state: "visible" 0.0; \
407                                         inherit: "default" 0.0; \
408                                         visible: 1; \
409                                 } \
410                                 description { state: "clicked" 0.0; \
411                                         inherit: "default" 0.0; \
412                                         visible: 1; \
413                                         min: 1 1; \
414                                         color: 255 255 255 255; \
415                                         color2: 0 0 0 102; \
416                                         color3: 0 0 0 255; \
417                                 } \
418                                 description { state: "disabled" 0.0; \
419                                         inherit: "default" 0.0; \
420                                         color: 0 0 0 128; \
421                                         color3: 0 0 0 0; \
422                                 } \
423                                 description { state: "disabled_visible" 0.0; \
424                                         inherit: "default" 0.0; \
425                                         color: 0 0 0 128; \
426                                         color3: 0 0 0 0; \
427                                         visible: 1; \
428                                 }  \
429                                 description { state: "focused" 0.0; \
430                                         inherit: "default" 0.0; \
431                                         visible: 1; \
432                                         min: 1 1; \
433                                         color: 255 255 255 255; \
434                                         color2: 0 0 0 102; \
435                                         color3: 0 0 0 255; \
436                                 } \
437                         } \
438                         part { name: "over2"; \
439                                 type: RECT; \
440                                 mouse_events: 1; \
441                                 repeat_events: 1; \
442                                 ignore_flags: ON_HOLD; \
443                                 description { state: "default" 0.0; \
444                                         color: 0 0 0 0; \
445                                         rel1 { relative: 0.25 0.1; } \
446                                         rel2 { relative: 0.75 0.9; } \
447                                 } \
448                                 description { state: "disabled" 0.0; \
449                                         inherit: "default" 0.0; \
450                                         visible: 0; \
451                                 } \
452                         } \
453                         part { name: "over3"; \
454                                 type: RECT; \
455                                 mouse_events: 1; \
456                                 repeat_events: 1; \
457                                 description { state: "default" 0.0; \
458                                         color: 0 0 0 0; \
459                                         rel1 { relative: 0.25 0.1; } \
460                                         rel2 { relative: 0.75 0.9; } \
461                                 } \
462                                 description { state: "clicked" 0.0; \
463                                         inherit: "default" 0.0; \
464                                         visible: 1; \
465                                 } \
466                         } \
467                         part { name: "disabler"; \
468                                 type: RECT; \
469                                 description { state: "default" 0.0; \
470                                         visible: 0; \
471                                 } \
472                                 description { state: "disabled" 0.0; \
473                                         inherit: "default" 0.0; \
474                                         visible: 1; \
475                                 } \
476                         } \
477                 } \
478                 programs { \
479                         program { name: "button_click"; \
480                                 signal: "mouse,down,1"; \
481                                 source: "over2"; \
482                                 action: SIGNAL_EMIT "elm,action,press" ""; \
483                                 after: "button_click_anim"; \
484                         } \
485                         program { name: "button_click_anim"; \
486                                 action: STATE_SET "clicked" 0.0; \
487                                 target: "button_image"; \
488                                 target: "elm.text"; \
489                                 target: "elm.swallow.content"; \
490                         } \
491                         program { name: "button_unclick"; \
492                                 signal: "mouse,up,1"; \
493                                 source: "over2"; \
494                                 action: SIGNAL_EMIT "elm,action,unpress" ""; \
495                                 script { \
496                                 emit ( "animation", "over2"); \
497                                 } \
498                         } \
499                         program { \
500                                 name: "button_animation"; \
501                                 signal: "animation"; \
502                                 source: "over2"; \
503                                 action: STATE_SET "default" 0.0; \
504                                 transition: SINUSOIDAL 0.1; \
505                                 target: "button_image"; \
506                                 after: "button_unclick_anim"; \
507                         } \
508                         program { \
509                                 name: "button_unclick_anim"; \
510                                 action: STATE_SET "default" 0.0; \
511                                 target: "elm.swallow.content"; \
512                                 action: STATE_SET "visible" 0.0; \
513                                 target: "elm.text"; \
514                         } \
515                         program { name: "button_mouseout_clicked"; \
516                                 signal: "mouse,out"; \
517                                 source: "over2"; \
518                                 script { \
519                                         new st[31]; \
520                                         new Float:vl; \
521                                         get_state(PART:"elm.text", st, 30, vl); \
522                                         if (!strcmp(st, "clicked")) \
523                                         { \
524                                                 set_state(PART:"elm.text", "visible", 0.0); \
525                                                 set_state(PART:"button_image", "visible", 0.0); \
526                                         } \
527                                 } \
528                         } \
529                         program { name: "button_click2"; \
530                                 signal: "mouse,down,1"; \
531                                 source: "over3"; \
532                                 action: STATE_SET "clicked" 0.0; \
533                                 target: "over3"; \
534                         } \
535                         program { name: "button_unclick2"; \
536                                 signal: "mouse,up,1"; \
537                                 source: "over3"; \
538                                 action: STATE_SET "default" 0.0; \
539                                 target: "over3"; \
540                         } \
541                         program { name: "button_unclick3"; \
542                                 signal: "mouse,up,1"; \
543                                 source: "over2"; \
544                                 action: SIGNAL_EMIT "elm,action,click" ""; \
545                         } \
546                         program { name: "text_show"; \
547                                 signal: "elm,state,text,visible"; \
548                                 source: "elm"; \
549                                 script { \
550                                         new st[31]; \
551                                         new Float:vl; \
552                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
553                                         if (!strcmp(st, "icononly")) \
554                                                 set_state(PART:"elm.swallow.content", "visible", 0.0); \
555                                         set_state(PART:"elm.text", "visible", 0.0); \
556                                 } \
557                         } \
558                         program { name: "text_hide"; \
559                                 signal: "elm,state,text,hidden"; \
560                                 source: "elm"; \
561                                 script { \
562                                         new st[31]; \
563                                         new Float:vl; \
564                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
565                                         if (!strcmp(st, "visible")) \
566                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
567                                         set_state(PART:"elm.text", "default", 0.0); \
568                                 } \
569                         } \
570                         program { name: "icon_show"; \
571                                 signal: "elm,state,icon,visible"; \
572                                 source: "elm"; \
573                                 script { \
574                                         new st[31]; \
575                                         new Float:vl; \
576                                         get_state(PART:"elm.text", st, 30, vl); \
577                                         if (!strcmp(st, "visible")) \
578                                                 set_state(PART:"elm.swallow.content", "visible", 0.0); \
579                                         else \
580                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
581                                 } \
582                         } \
583                         program { name: "icon_hide"; \
584                                 signal: "elm,state,icon,hidden"; \
585                                 source: "elm"; \
586                                 action: STATE_SET "default" 0.0; \
587                                 target: "elm.swallow.content"; \
588                         } \
589                         program { name: "disable"; \
590                                 signal: "elm,state,disabled"; \
591                                 source: "elm"; \
592                                 action: STATE_SET "disabled" 0.0; \
593                                 target: "button_image"; \
594                                 target: "over2"; \
595                                 target: "disabler"; \
596                                 after: "disable_text"; \
597                         } \
598                         program { name: "disable_text"; \
599                                 script { \
600                                         new st[31]; \
601                                         new Float:vl; \
602                                         get_state(PART:"elm.text", st, 30, vl); \
603                                         if (!strcmp(st, "visible")) \
604                                                 set_state(PART:"elm.text", "disabled_visible", 0.0); \
605                                         else \
606                                                 set_state(PART:"elm.text", "disabled", 0.0); \
607                                 } \
608                         } \
609                         program { name: "enable";  \
610                                 signal: "elm,state,enabled"; \
611                                 source: "elm"; \
612                                 action: STATE_SET "default" 0.0; \
613                                 target: "button_image"; \
614                                 target: "over2"; \
615                                 target: "disabler"; \
616                                 after: "enable_text"; \
617                         } \
618                         program { name: "enable_text"; \
619                                 script { \
620                                         new st[31]; \
621                                         new Float:vl; \
622                                         get_state(PART:"elm.text", st, 30, vl); \
623                                         if (!strcmp(st, "disabled_visible")) \
624                                                 set_state(PART:"elm.text", "visible", 0.0); \
625                                         else \
626                                                 set_state(PART:"elm.text", "default", 0.0); \
627                                 } \
628                         } \
629                         program { name: "focused"; \
630                                 signal: "elm,action,focus"; \
631                                 source: "elm"; \
632                                 action: STATE_SET "focused" 0.0; \
633                                 target: "elm.text"; \
634                                 action: STATE_SET "focused" 0.0; \
635                                 transition: SINUSOIDAL 0.1; \
636                                 target: "button_image"; \
637                         } \
638                         program { name: "unfocused"; \
639                                 signal: "elm,action,unfocus"; \
640                                 source: "elm"; \
641                                 action: STATE_SET "default" 0.0; \
642                                 target: "button_image"; \
643                                 action: STATE_SET "visible" 0.0; \
644                                 target: "elm.text"; \
645                         }  \
646                 } \
647         }
648         
649 #define STYLE_HOLD_SWAP_BUTTON(grp_name, img1, img2, rel1x, rel1y, rel2x, rel2y) \
650         group { name: "elm/button/base/"grp_name; \
651                 images { \
652                         image: img1 COMP; \
653                         image: img2 COMP; \
654                 } \
655                 parts { \
656                         part { name: "button_image"; \
657                                 mouse_events: 1; \
658                                 scale: 1;\
659                                 description { \
660                                         state: "default" 0.0; \
661                                         image.normal: img1; \
662                                 } \
663                                 description { \
664                                         state: "clicked" 0.0; \
665                                         image.normal: img2; \
666                                 } \
667                         } \
668                         part { name: "elm.swallow.content"; \
669                                 type: SWALLOW; \
670                                 description { state: "default" 0.0; \
671                                         visible: 1; \
672                                         align: 0.5 0.5; \
673                                         aspect: 0.5 1.0; \
674                                         rel1.relative: rel1x rel1y; \
675                                         rel2.relative: rel2x rel2y; \
676                                         aspect_preference: VERTICAL; \
677                                 } \
678                                 description { state: "visible" 0.0; \
679                                         inherit: "default" 0.0; \
680                                         fixed: 1 0; \
681                                         visible: 1; \
682                                         aspect: 1.0 1.0; \
683                                 } \
684                                 description { state: "icononly" 0.0; \
685                                         inherit: "default" 0.0; \
686                                         fixed: 0 0; \
687                                         visible: 1; \
688                                         align: 0.5 0.5; \
689                                         aspect: 1.0 1.0; \
690                                 } \
691                         } \
692                         part { name: "over2"; \
693                                 type: RECT; \
694                                 mouse_events: 1; \
695                                 repeat_events: 1; \
696                                 ignore_flags: ON_HOLD; \
697                                 description { state: "default" 0.0; \
698                                         color: 0 0 0 0; \
699                                 } \
700                                 description { state: "disabled" 0.0; \
701                                         inherit: "default" 0.0; \
702                                         visible: 0; \
703                                 } \
704                         } \
705                         part { name: "over3"; \
706                                 type: RECT; \
707                                 mouse_events: 1; \
708                                 repeat_events: 1; \
709                                 description { state: "default" 0.0; \
710                                         color: 0 0 0 0; \
711                                 } \
712                                 description { state: "clicked" 0.0; \
713                                         inherit: "default" 0.0; \
714                                         visible: 1; \
715                                 } \
716                         } \
717                         part { name: "disabler"; \
718                                 type: RECT; \
719                                 description { state: "default" 0.0; \
720                                         visible: 0; \
721                                 } \
722                                 description { state: "disabled" 0.0; \
723                                         inherit: "default" 0.0; \
724                                         visible: 1; \
725                                 } \
726                         } \
727                 } \
728                 programs { \
729                         program { name: "button_click"; \
730                                 signal: "mouse,down,1"; \
731                                 source: "over2"; \
732                                 action: SIGNAL_EMIT "elm,action,press" ""; \
733                                 after: "button_click_anim"; \
734                         } \
735                         program { name: "button_click_anim"; \
736                                 action: STATE_SET "clicked" 0.0; \
737                                 target: "button_image"; \
738                         } \
739                         program { name: "button_unclick"; \
740                                 signal: "mouse,up,1"; \
741                                 source: "over2"; \
742                                 action: SIGNAL_EMIT "elm,action,unpress" ""; \
743                                 after: "button_unclick_anim"; \
744                         } \
745                         program { name: "button_unclick_anim"; \
746                                 action: STATE_SET "default" 0.0; \
747                                 target: "button_image"; \
748                         } \
749                         program { name: "button_mouseout_clicked"; \
750                                 signal: "mouse,out"; \
751                                 source: "over2"; \
752                                 script { \
753                                         new st[31]; \
754                                         new Float:vl; \
755                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
756                                         if (!strcmp(st, "clicked")) \
757                                         { \
758                                                 set_state(PART:"button_image", "visible", 0.0); \
759                                         } \
760                                 } \
761                         } \
762                         program { name: "button_click2"; \
763                                 signal: "mouse,down,1"; \
764                                 source: "over3"; \
765                                 action: STATE_SET "clicked" 0.0; \
766                                 target: "over3"; \
767                         } \
768                         program { name: "button_unclick2"; \
769                                 signal: "mouse,up,1"; \
770                                 source: "over3"; \
771                                 action: STATE_SET "default" 0.0; \
772                                 target: "over3"; \
773                         } \
774                         program { name: "button_unclick3"; \
775                                 signal: "mouse,up,1"; \
776                                 source: "over2"; \
777                                 action: SIGNAL_EMIT "elm,action,click" ""; \
778                         } \
779                         program { name: "text_show"; \
780                                 signal: "elm,state,text,visible"; \
781                                 source: "elm"; \
782                                 script { \
783                                         new st[31]; \
784                                         new Float:vl; \
785                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
786                                         if (!strcmp(st, "icononly")) \
787                                                 set_state(PART:"elm.swallow.content", "visible", 0.0); \
788                                 } \
789                         } \
790                         program { name: "text_hide"; \
791                                 signal: "elm,state,text,hidden"; \
792                                 source: "elm"; \
793                                 script { \
794                                         new st[31]; \
795                                         new Float:vl; \
796                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
797                                         if (!strcmp(st, "visible")) \
798                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
799                                 } \
800                         } \
801                         program { name: "icon_show"; \
802                                 signal: "elm,state,icon,visible"; \
803                                 source: "elm"; \
804                                 script { \
805                                         new st[31]; \
806                                         new Float:vl; \
807                                         get_state(PART:"elm.swallow.content", st, 30, vl); \
808                                         if (!strcmp(st, "visible")) \
809                                                 set_state(PART:"elm.swallow.content", "visible", 0.0); \
810                                         else \
811                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
812                                 } \
813                         } \
814                         program { name: "icon_hide"; \
815                                 signal: "elm,state,icon,hidden"; \
816                                 source: "elm"; \
817                                 action: STATE_SET "default" 0.0; \
818                                 target: "elm.swallow.content"; \
819                         } \
820                         program { name: "disable"; \
821                                 signal: "elm,state,disabled"; \
822                                 source: "elm"; \
823                                 action: STATE_SET "disabled" 0.0; \
824                                 target: "button_image"; \
825                                 target: "over2"; \
826                                 target: "disabler"; \
827                         } \
828                         program { name: "enable"; \
829                                 signal: "elm,state,enabled"; \
830                                 source: "elm"; \
831                                 action: STATE_SET "default" 0.0; \
832                                 target: "button_image"; \
833                                 target: "over2"; \
834                                 target: "disabler"; \
835                         } \
836                         program { name: "focused"; \
837                                 signal: "elm,action,focus"; \
838                                 source: "elm"; \
839                                 action: STATE_SET "focused" 0.0; \
840                                 target: "button_image"; \
841                         } \
842                         program { name: "unfocused"; \
843                                 signal: "elm,action,unfocus"; \
844                                 source: "elm"; \
845                                 action: STATE_SET "default" 0.0; \
846                                 target: "button_image"; \
847                         } \
848                 } \
849         }
850         
851 #define STYLE_CALL_TEXT(grp_name, img1, img2, min_x, min_y, border_L, border_T, g1, b1, sz) \
852         group { name: "elm/button/base/"grp_name; \
853                 images { \
854                         image: img1 COMP; \
855                         image: img2 COMP; \
856                 } \
857                 parts { \
858                         part { name: "button_image"; \
859                                 mouse_events: 1; \
860                                 scale: 1; \
861                                 effect: SOFT_SHADOW; \
862                                 description { state: "default" 0.0; \
863                                         min: min_x min_y; \
864                                         image { \
865                                                 normal: img1; \
866                                                 border: border_L border_T 0 0; \
867                                                 border_scale: 1; \
868                                         } \
869                                 } \
870                                 description { state: "clicked" 0.0; \
871                                         min: min_x min_y; \
872                                         image { \
873                                                 normal: img2; \
874                                                 border: border_L border_T 0 0; \
875                                                 border_scale: 1; \
876                                         } \
877                                 } \
878                                 description { state: "disabled" 0.0; \
879                                         inherit: "clicked" 0.0; \
880                                 } \
881                                 description { state: "focused" 0.0; \
882                                         inherit: "default" 0.0; \
883                                 } \
884                         } \
885                         part {  name: "elm.text"; \
886                                 type: TEXT; \
887                                 effect: SHADOW; \
888                                 mouse_events: 0; \
889                                 scale: 1; \
890                                 description { \
891                                         state: "default" 0.0; \
892                                         visible: 0; \
893                                         fixed: 1 1; \
894                                         align: 0.5 0.5; \
895                                         color: 255 g1 b1 255; \
896                                         color2: 0 0 0 102; \
897                                         color3: 0 0 0 255; \
898                                         text { \
899                                                 font: FONT_SLP_Regular; \
900                                                 text_class: TEXT_CLASS_SLP_REGULAR; \
901                                                 size: sz; \
902                                                 min: 0 0; \
903                                                 align: 0.5 0.5; \
904                                         } \
905                                 } \
906                                 description { state: "visible" 0.0; \
907                                         inherit: "default" 0.0; \
908                                         visible: 1; \
909                                         min: 1 1; \
910                                 } \
911                                 description { state: "clicked" 0.0; \
912                                         inherit: "default" 0.0; \
913                                         visible: 1; \
914                                         min: 1 1; \
915                                         color: 255 255 255 255; \
916                                         color2: 0 0 0 102; \
917                                         color3: 0 0 0 255; \
918                                 } \
919                                 description { state: "disabled" 0.0; \
920                                         inherit: "default" 0.0; \
921                                         color: 0 0 0 128; \
922                                         color3: 0 0 0 0; \
923                                 } \
924                                 description { state: "disabled_visible" 0.0; \
925                                         inherit: "default" 0.0; \
926                                         color: 0 0 0 128; \
927                                         color3: 0 0 0 0; \
928                                         visible: 1; \
929                                         min: 1 1; \
930                                 } \
931                                 description { state: "focused" 0.0; \
932                                         inherit: "default" 0.0; \
933                                         visible: 1; \
934                                         min: 1 1; \
935                                         color: 255 255 255 255; \
936                                 } \
937                         } \
938                         part { name: "over1"; \
939                                 mouse_events: 0; \
940                                 description { state: "default" 0.0; \
941                                         rel2.relative: 1.0 0.5; \
942                                 } \
943                                 description { state: "disabled" 0.0; \
944                                         inherit: "default" 0.0; \
945                                 } \
946                         } \
947                         part { name: "over2"; \
948                                 mouse_events: 1; \
949                                 repeat_events: 1; \
950                                 ignore_flags: ON_HOLD; \
951                                 description { state: "default" 0.0; \
952                                 } \
953                                 description { state: "disabled" 0.0; \
954                                         inherit: "default" 0.0; \
955                                         visible: 0; \
956                                 } \
957                         } \
958                         part { name: "over3"; \
959                                 mouse_events: 1; \
960                                 repeat_events: 1; \
961                                 description { state: "default" 0.0; \
962                                         color: 255 255 255 0; \
963                                 } \
964                                 description { state: "clicked" 0.0; \
965                                         inherit: "default" 0.0; \
966                                         visible: 1; \
967                                         color: 255 255 255 0; \
968                                 } \
969                         } \
970                         part { name: "disabler"; \
971                                 type: RECT; \
972                                 description { state: "default" 0.0; \
973                                         color: 0 0 0 0; \
974                                         visible: 0; \
975                                 } \
976                                 description { state: "disabled" 0.0; \
977                                         inherit: "default" 0.0; \
978                                         visible: 1; \
979                                 } \
980                         } \
981                 } \
982                 programs { \
983                         program { name: "button_click"; \
984                                 signal: "mouse,down,1"; \
985                                 source: "over2"; \
986                                 action: SIGNAL_EMIT "elm,action,press" ""; \
987                                 after: "button_click_anim"; \
988                         } \
989                         program { name: "button_click_anim"; \
990                                 action: STATE_SET "clicked" 0.0; \
991                                 target: "button_image"; \
992                                 target: "elm.text"; \
993                         } \
994                         program { name: "button_unclick"; \
995                                 signal: "mouse,up,1"; \
996                                 source: "over2"; \
997                                 action: SIGNAL_EMIT "elm,action,unpress" ""; \
998                                 after: "button_unclick_anim"; \
999                         } \
1000                         program { name: "button_unclick_anim"; \
1001                                 action: STATE_SET "default" 0.0; \
1002                                 target: "button_image"; \
1003                                 action: STATE_SET "visible" 0.0; \
1004                                 target: "elm.text"; \
1005                         } \
1006                         program { name: "button_mouseout_clicked"; \
1007                                 signal: "mouse,out"; \
1008                                 source: "over2"; \
1009                                 script { \
1010                                         new st[31]; \
1011                                         new Float:vl; \
1012                                         get_state(PART:"elm.text", st, 30, vl); \
1013                                         if (!strcmp(st, "clicked")) \
1014                                         { \
1015                                                 set_state(PART:"elm.text", "visible", 0.0); \
1016                                                 set_state(PART:"button_image", "visible", 0.0); \
1017                                         } \
1018                                 } \
1019                         } \
1020                         program { name: "button_click2"; \
1021                                 signal: "mouse,down,1"; \
1022                                 source: "over3"; \
1023                                 action: STATE_SET "clicked" 0.0; \
1024                                 target: "over3"; \
1025                         } \
1026                         program { name: "button_unclick2"; \
1027                                 signal: "mouse,up,1"; \
1028                                 source: "over3"; \
1029                                 action: STATE_SET "default" 0.0; \
1030                                 target: "over3"; \
1031                         } \
1032                         program { name: "button_unclick3"; \
1033                                 signal: "mouse,up,1"; \
1034                                 source: "over2"; \
1035                                 action: SIGNAL_EMIT "elm,action,click" ""; \
1036                         } \
1037                         program { name: "text_show"; \
1038                                 signal: "elm,state,text,visible"; \
1039                                 source: "elm"; \
1040                                 action: STATE_SET "visible" 0.0; \
1041                                 target: "elm.text"; \
1042                         } \
1043                         program { name: "text_hide"; \
1044                                 signal: "elm,state,text,hidden"; \
1045                                 source: "elm"; \
1046                                 action: STATE_SET "default" 0.0; \
1047                                 target: "elm.text"; \
1048                         } \
1049                         program { name: "disable"; \
1050                                 signal: "elm,state,disabled"; \
1051                                 source: "elm"; \
1052                                 action: STATE_SET "disabled" 0.0; \
1053                                 target: "button_image"; \
1054                                 target: "over1"; \
1055                                 target: "over2"; \
1056                                 target: "disabler"; \
1057                                 after: "disable_text"; \
1058                         } \
1059                         program { name: "disable_text"; \
1060                                 script { \
1061                                         new st[31]; \
1062                                         new Float:vl; \
1063                                         get_state(PART:"elm.text", st, 30, vl); \
1064                                         if (!strcmp(st, "visible")) \
1065                                         set_state(PART:"elm.text", "disabled_visible", 0.0); \
1066                                         else \
1067                                         set_state(PART:"elm.text", "disabled", 0.0); \
1068                                 } \
1069                         } \
1070                         program { name: "enable"; \
1071                                 signal: "elm,state,enabled"; \
1072                                 source: "elm"; \
1073                                 action: STATE_SET "default" 0.0; \
1074                                 target: "button_image"; \
1075                                 target: "over1"; \
1076                                 target: "over2"; \
1077                                 target: "disabler"; \
1078                                 after: "enable_text"; \
1079                         } \
1080                         program { name: "enable_text"; \
1081                                 script { \
1082                                         new st[31]; \
1083                                         new Float:vl; \
1084                                         get_state(PART:"elm.text", st, 30, vl); \
1085                                         if (!strcmp(st, "disabled_visible")) \
1086                                         set_state(PART:"elm.text", "visible", 0.0); \
1087                                         else \
1088                                         set_state(PART:"elm.text", "default", 0.0); \
1089                                 } \
1090                         } \
1091                         program { name: "focused"; \
1092                                 signal: "elm,action,focus"; \
1093                                 source: "elm"; \
1094                                 action: STATE_SET "focused" 0.0; \
1095                                 target: "button_image"; \
1096                                 target: "elm.text"; \
1097                         } \
1098                         program { name: "unfocused"; \
1099                                 signal: "elm,action,unfocus"; \
1100                                 source: "elm"; \
1101                                 action: STATE_SET "default" 0.0; \
1102                                 target: "button_image"; \
1103                                 action: STATE_SET "visible" 0.0; \
1104                                 target: "elm.text"; \
1105                         } \
1106                 } \
1107         }
1108
1109 #define GENLIST_PROGRAMS \
1110         program { name: "go_active"; \
1111                 signal: "elm,state,selected"; \
1112                 source: "elm"; \
1113                 action: STATE_SET "selected" 0.0; \
1114                 target: "bg_image"; \
1115                 target: "elm.text"; \
1116         } \
1117         program { name: "go_passive"; \
1118                 signal: "elm,state,unselected"; \
1119                 source: "elm"; \
1120                 action: STATE_SET "default" 0.0; \
1121                 target: "bg_image"; \
1122                 target: "elm.text"; \
1123                 transition: LINEAR 0.1; \
1124         } \
1125         program { name: "go_disabled"; \
1126                 signal: "elm,state,disabled"; \
1127                 source: "elm"; \
1128                 action: STATE_SET "disabled" 0.0; \
1129                 target: "disclip"; \
1130         } \
1131         program { name: "go_enabled"; \
1132                 signal: "elm,state,enabled"; \
1133                 source: "elm"; \
1134                 action: STATE_SET "default" 0.0; \
1135                 target: "disclip"; \
1136         }
1137
1138 #define STYLE_CALL_MULTILIST_BUTTON(grp_name, img1, img2, min_x, min_y, max_x, max_y) \
1139         group { name: "elm/button/base/"grp_name; \
1140                 images { \
1141                         image: img1 COMP; \
1142                         image: img2 COMP; \
1143                 } \
1144                 parts { \
1145                         part { name: "button_image"; \
1146                                 mouse_events: 1; \
1147                                 scale: 1; \
1148                                 description { state: "default" 0.0; \
1149                                         min: min_x min_y; \
1150                                         max: max_x max_y; \
1151                                         image { \
1152                                                 normal: img1; \
1153                                                 border: 5 5 0 0; \
1154                                                 border_scale: 1; \
1155                                         } \
1156                                 } \
1157                                 description { state: "clicked" 0.0; \
1158                                         inherit: "default" 0.0; \
1159                                         image { \
1160                                                 normal: img2; \
1161                                                 border: 5 5 0 0; \
1162                                                 border_scale: 1; \
1163                                         } \
1164                                 } \
1165                                 description { state: "disabled" 0.0; \
1166                                         inherit: "clicked" 0.0; \
1167                                 } \
1168                                 description { state: "focused" 0.0; \
1169                                         inherit: "default" 0.0; \
1170                                 } \
1171                         } \
1172                         part { name: "elm.swallow.content"; \
1173                                 type: SWALLOW; \
1174                                 mouse_events: 0; \
1175                                 scale: 1; \
1176                                 description { state: "default" 0.0; \
1177                                         min: min_x min_y; \
1178                                         max: max_x max_y; \
1179                                         fixed: 1 1; \
1180                                         visible: 0; \
1181                                         rel1 { to: "button_image"; } \
1182                                         rel2 { to: "button_image"; } \
1183                                         align: 0.5 0.5; \
1184                                 } \
1185                                 description { state: "visible" 0.0; \
1186                                         inherit: "default" 0.0; \
1187                                         visible: 1; \
1188                                         aspect: 1.0 1.0; \
1189                                         aspect_preference: VERTICAL; \
1190                                 } \
1191                         } \
1192                         part { name: "over1"; \
1193                                 mouse_events: 1; \
1194                                 repeat_events: 1; \
1195                                 ignore_flags: ON_HOLD; \
1196                                 description { state: "default" 0.0; \
1197                                 rel1.to: "button_image"; \
1198                                 rel2.to: "button_image"; \
1199                                 } \
1200                                 description { state: "disabled" 0.0; \
1201                                         inherit: "default" 0.0; \
1202                                         visible: 0; \
1203                                 } \
1204                         } \
1205                         part { name: "over2"; \
1206                                 mouse_events: 1; \
1207                                 repeat_events: 1; \
1208                                 description { state: "default" 0.0; \
1209                                         color: 255 255 255 0; \
1210                                 } \
1211                                 description { state: "clicked" 0.0; \
1212                                         inherit: "default" 0.0; \
1213                                         visible: 1; \
1214                                         color: 255 255 255 0; \
1215                                 } \
1216                         } \
1217                         part { name: "disabler"; \
1218                                 type: RECT; \
1219                                 description { state: "default" 0.0; \
1220                                         rel1.to: "button_image"; \
1221                                         rel2.to: "button_image"; \
1222                                         color: 0 0 0 0; \
1223                                         visible: 0; \
1224                                 } \
1225                                 description { state: "disabled" 0.0; \
1226                                         inherit: "default" 0.0; \
1227                                         visible: 1; \
1228                                 } \
1229                         } \
1230                 } \
1231                 programs { \
1232                         program { name: "button_click"; \
1233                                 signal: "mouse,down,1"; \
1234                                 source: "over1"; \
1235                                 action: SIGNAL_EMIT "elm,action,press" ""; \
1236                                 after: "button_click_anim"; \
1237                         } \
1238                         program { name: "button_click_anim"; \
1239                                 action: STATE_SET "clicked" 0.0; \
1240                                 target: "button_image"; \
1241                         } \
1242                         program { name: "button_unclick"; \
1243                                 signal: "mouse,up,1"; \
1244                                 source: "over1"; \
1245                                 action: SIGNAL_EMIT "elm,action,unpress" ""; \
1246                                 after: "button_unclick_anim"; \
1247                         } \
1248                         program { name: "button_unclick_anim"; \
1249                                 action: STATE_SET "default" 0.0; \
1250                                 target: "button_image"; \
1251                         } \
1252                         program { name: "button_mouseout_clicked"; \
1253                                 signal: "mouse,out"; \
1254                                 source: "over1"; \
1255                                 action: STATE_SET "default" 0.0; \
1256                                 target: "button_image"; \
1257                         } \
1258                         program { name: "button_click2"; \
1259                                 signal: "mouse,down,1"; \
1260                                 source: "over2"; \
1261                                 action: STATE_SET "clicked" 0.0; \
1262                                 target: "over2"; \
1263                         } \
1264                         program { name: "button_unclick2"; \
1265                                 signal: "mouse,up,1"; \
1266                                 source: "over2"; \
1267                                 action: STATE_SET "default" 0.0; \
1268                                 target: "over2"; \
1269                                 after: "button_unclick3"; \
1270                         } \
1271                         program { name: "button_unclick3"; \
1272                                 action: SIGNAL_EMIT "elm,action,click" ""; \
1273                         } \
1274                         program { name: "disable"; \
1275                                 signal: "elm,state,disabled"; \
1276                                 source: "elm"; \
1277                                 action: STATE_SET "disabled" 0.0; \
1278                                 target: "button_image"; \
1279                                 target: "over1"; \
1280                                 target: "disabler"; \
1281                         } \
1282                         program { name: "enable"; \
1283                                 signal: "elm,state,enabled"; \
1284                                 source: "elm"; \
1285                                 action: STATE_SET "default" 0.0; \
1286                                 target: "button_image"; \
1287                                 target: "over1"; \
1288                                 target: "disabler"; \
1289                         } \
1290                         program { name: "icon_show"; \
1291                                 signal: "elm,state,icon,visible"; \
1292                                 source: "elm"; \
1293                                 action: STATE_SET "visible" 0.0; \
1294                                 target: "elm.swallow.content"; \
1295                         } \
1296                         program { name: "icon_hide"; \
1297                                 signal: "elm,state,icon,hidden"; \
1298                                 source: "elm"; \
1299                                 action: STATE_SET "default" 0.0; \
1300                                 target: "elm.swallow.content"; \
1301                         } \
1302                         program { name: "focused"; \
1303                                 signal: "elm,action,focus"; \
1304                                 source: "elm"; \
1305                                 action: STATE_SET "focused" 0.0; \
1306                                 target: "button_image"; \
1307                         } \
1308                         program { name: "unfocused"; \
1309                                 signal: "elm,action,unfocus"; \
1310                                 source: "elm"; \
1311                                 action: STATE_SET "default" 0.0; \
1312                                 target: "button_image"; \
1313                         } \
1314                 } \
1315         }
1316
1317 #define BEAT_GENLIST_PART_BASE( param_item_height ) \
1318         part { name: "base"; \
1319                 type: RECT; \
1320                 repeat_events: 1; \
1321                 scale: 1; \
1322                 description { state: "default" 0.0; \
1323                         min: 0 param_item_height; \
1324                         color: 0 0 0 24; \
1325                 } \
1326         }
1327
1328 #define BEAT_GENLIST_PART_BG \
1329         part { name: "bg"; \
1330                 type: RECT; \
1331                 clip_to: "disclip"; \
1332                 mouse_events: 0; \
1333                 description { state: "default" 0.0; \
1334                         color: 0 0 0 255;\
1335                 } \
1336         }
1337
1338 #define GENLIST_PART_BG_IMAGE \
1339         part { name: "bg_image"; \
1340                 type: RECT; \
1341                 clip_to: "disclip"; \
1342                 mouse_events: 0; \
1343                 description { state: "default" 0.0; \
1344                         color: 0 0 0 255; \
1345                 } \
1346                 description { state: "selected" 0.0; \
1347                         inherit: "default" 0.0; \
1348                         color: 0 140 210 255; \
1349                 } \
1350         }
1351
1352 #define GENLIST_PART_BG_IMAGE_NO_SELECT \
1353         part { name: "bg_image"; \
1354                 type: RECT; \
1355                 clip_to: "disclip"; \
1356                 mouse_events: 0; \
1357                 description { state: "default" 0.0; \
1358                         color: 199 185 164 0; \
1359                 } \
1360                 description { state: "selected" 0.0; \
1361                         inherit: "default" 0.0; \
1362                 } \
1363         }
1364
1365 #define BEAT_GENLIST_PART_BOTTOM_LINE \
1366         part { name: "bottom_line"; \
1367                 type: RECT; \
1368                 clip_to: "disclip"; \
1369                 mouse_events: 0; \
1370                 description { state: "default" 0.0; \
1371                         min: 0 1; \
1372                         fixed: 0 1; \
1373                         visible: 1; \
1374                         color: 255 255 255 255; \
1375                         rel1 { \
1376                                 relative: 0.0 1.0; \
1377                                 offset: 0 -1; \
1378                         } \
1379                 } \
1380         }
1381
1382 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
1383         part { name: "elm.padding.left"; \
1384                 type: RECT; \
1385                 scale: 1; \
1386                 description { \
1387                         state: "default" 0.0; \
1388                         min: param_padding_size 0; \
1389                         fixed: 1 0; \
1390                         visible: 0; \
1391                         rel2.relative: 0.0 1.0; \
1392                         align: 0.0 0.0; \
1393                 } \
1394         }
1395
1396 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
1397         part { name: "elm.padding.right"; \
1398                 type: RECT; \
1399                 scale: 1; \
1400                 description { state: "default" 0.0; \
1401                         min: param_padding_size 0; \
1402                         fixed: 1 0; \
1403                         visible: 0; \
1404                         rel1.relative: 1.0 0.0; \
1405                         align: 1.0 0.0; \
1406                 } \
1407         }
1408
1409 #define BEAT_GENLIST_PART_DISCLIP \
1410         part { name: "disclip"; \
1411                 type: RECT; \
1412                 description { state: "default" 0.0; \
1413                 } \
1414                 description { state: "disabled" 0.0; \
1415                         inherit: "default" 0.0; \
1416                         color: 255 255 255 64; \
1417                 } \
1418         }
1419
1420 #define GENLIST_PADDING_10_INC 16
1421 #define GENLIST_HEIGHT_31_INC 49
1422 #define GENLIST_SIZE_30_INC 48
1423 #define GENLIST_FONT_20_INC 32
1424 #define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 120
1425 #define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 15 15 15 255
1426 #define GENLIST_GROUP_PART_BASE_IMAGE_INC
1427 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 255 255 255 255
1428
1429 collections {
1430
1431 ////////////// elm/button/base/default -disabled  //////////////////////////////////////////////
1432 //////This is disabled effect for buttons of Six buttons layout and disabled effect is when making MO call////
1433         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_add", ICON_IMG_PATH"/vc_add_icon_dim.png", ICON_IMG_PATH"/vc_add_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1434         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_join", ICON_IMG_PATH"/vc_join_icon_dim.png", ICON_IMG_PATH"/vc_join_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1435         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_keypad", ICON_IMG_PATH"/vc_keypad_icon_dim.png", ICON_IMG_PATH"/vc_keypad_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1436         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_end", ICON_IMG_PATH"/vc_end_call_icon_dim.png", ICON_IMG_PATH"/vc_end_call_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1437         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_speaker", ICON_IMG_PATH"/vc_speaker_icon_dim.png", ICON_IMG_PATH"/vc_speaker_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1438         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_mute", ICON_IMG_PATH"/vc_mute_icon_dim.png", ICON_IMG_PATH"/vc_mute_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1439         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_share", ICON_IMG_PATH"/vc_rcs_share_icon_dim.png", ICON_IMG_PATH"/vc_rcs_share_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1440         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_contacts", ICON_IMG_PATH"/vc_contacts_icon_dim.png", ICON_IMG_PATH"/vc_contacts_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1441         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_live_video", ICON_IMG_PATH"/vc_live_video_icon_dim.png", ICON_IMG_PATH"/vc_live_video_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1442
1443 ////////////// elm/button/base/default  //////////////////////////////////////////////
1444 //////This effect is for buttons of Six buttons layout when they are enabled//////
1445         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_add", ICON_IMG_PATH"/vc_add_icon.png", ICON_IMG_PATH"/vc_add_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1446         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_join", ICON_IMG_PATH"/vc_join_icon.png", ICON_IMG_PATH"/vc_join_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1447         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_keypad", ICON_IMG_PATH"/vc_keypad_icon.png", ICON_IMG_PATH"/vc_keypad_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1448         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_end", ICON_IMG_PATH"/vc_end_call_icon.png", ICON_IMG_PATH"/vc_end_call_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1449         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_speaker", ICON_IMG_PATH"/vc_speaker_icon.png", ICON_IMG_PATH"/vc_speaker_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1450         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_speaker_on", ICON_IMG_PATH"/vc_speaker_on_icon.png", ICON_IMG_PATH"/vc_speaker_on_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1451         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_mute", ICON_IMG_PATH"/vc_mute_icon.png", ICON_IMG_PATH"/vc_mute_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1452         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_mute_on", ICON_IMG_PATH"/vc_mute_on_icon.png", ICON_IMG_PATH"/vc_mute_on_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1453         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_share", ICON_IMG_PATH"/vc_rcs_share_icon.png", ICON_IMG_PATH"/vc_speaker_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1454         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_contacts", ICON_IMG_PATH"/vc_contacts_icon.png", ICON_IMG_PATH"/vc_contacts_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1455         STYLE_CALL_SIX_BUTTON("style_call_sixbtn_live_video", ICON_IMG_PATH"/vc_live_video_icon.png", ICON_IMG_PATH"/vc_live_video_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1456
1457 ////////////// elm/button/base/default  //////////////////////////////////////////////
1458 ///////////// This style is for Three buttons style in endcall view//////////////////
1459         STYLE_CALL_END_BUTTON(style_call_end_voice_call_button, ICON_IMG_PATH"/vc_voice_call_icon.png", ICON_IMG_PATH"/vc_voice_call_icon_press.png");
1460         STYLE_CALL_END_BUTTON(style_call_end_video_call_button, ICON_IMG_PATH"/vc_video_call_icon.png", ICON_IMG_PATH"/vc_video_call_icon_press.png");
1461         STYLE_CALL_END_BUTTON(style_call_end_message_button, ICON_IMG_PATH"/vc_msg_icon.png", ICON_IMG_PATH"/vc_msg_icon_press.png");
1462
1463 ////////////// elm/button/base/icon_only/default  //////////////////////////////////////////////
1464 ////This style is for hold button in single call///////////////////////////////////////////////
1465         STYLE_HOLD_SWAP_BUTTON("style_normal_holdbtn", BG_IMG_PATH"/vc_button_hold_swap_normal.png", BG_IMG_PATH"/vc_button_hold_swap_press.png", 0.3, 0.3, 0.7, 0.7)
1466
1467 ////////////// elm/button/base/icon_only/default  //////////////////////////////////////////////
1468 ///////This style is for hold button in conference call in list////////////////////////////////
1469         STYLE_HOLD_SWAP_BUTTON("style_list_holdbtn", BG_IMG_PATH"/vc_button_conflist_hold_normal.png", BG_IMG_PATH"/vc_button_conflist_hold_press.png", 0.3, 0.3, 0.7, 0.7)
1470
1471 ////////////// elm/button/base/icon_only/default  //////////////////////////////////////////////
1472 ////This style is for swap button ///////////////////////////////////////////////
1473         STYLE_HOLD_SWAP_BUTTON("style_normal_swapbtn", BG_IMG_PATH"/vc_button_hold_swap_normal.png", BG_IMG_PATH"/vc_button_hold_swap_press.png", 0, 0, 1, 1)
1474         
1475 ////////////// elm/button/base/icon_only/default  //////////////////////////////////////////////
1476 /////This style is for private(split) icon in genlist view in multi call list view////////////////////
1477         STYLE_CALL_MULTILIST_BUTTON("style_call_icon_only_private", BG_IMG_PATH"/vc_conf_split_normal.png", BG_IMG_PATH"/vc_conf_split_press.png", 68, 66, 68, 66)
1478
1479 ////////////// elm/button/base/icon_only/default  //////////////////////////////////////////////
1480 ///////////// This style is for small end call red button in each item in list in multi-call list view///
1481         STYLE_CALL_MULTILIST_BUTTON("style_call_icon_only_end", BG_IMG_PATH"/vc_conf_end_normal.png", BG_IMG_PATH"/vc_conf_end_press.png", 80, 74, 80, 74)
1482
1483 ////////////// elm/button/base/style_call_qp_text_only_end  //////////////////////////////////////////////
1484 /////////////This style is for End button in quickpanel view//////////////////////////////////////////////////////////
1485         STYLE_CALL_TEXT("style_call_qp_text_only_end", BG_IMG_PATH"/vc_button_qp_end_normal.png", BG_IMG_PATH"/vc_button_qp_end_press.png", 179, 74, 4, 4, 255, 255, 32)
1486
1487 ////////////// elm/button/base/style_call_qp_text_only_normal //////////////////////////////////////////////
1488 /////////////This style is for mute/unhold button in quickpanel view//////////////////////////////////////////////////////////
1489         STYLE_CALL_TEXT("style_call_qp_text_only_normal", BG_IMG_PATH"/vc_button_qp_normal.png", BG_IMG_PATH"/vc_button_qp_press.png", 179, 74, 4, 4, 255, 255, 32)
1490
1491 ////////////// elm/button/base/text_only/style_call_text_only_red  //////////////////////////////////////////////
1492 /////////////This style is for Big End button used in multi-call list view//////////////////////////////////////
1493         STYLE_CALL_TEXT("style_call_text_only_red", BG_IMG_PATH"/vc_conf_button_bigend_call.png", BG_IMG_PATH"/vc_conf_button_bigend_call_press.png", 100, 50, 4, 4, 255, 255, 48)
1494
1495 ////////////// elm/button/base/text_only/call_end_grey  //////////////////////////////////////////////
1496 ///////////// This style is for add to contacts button in end call view//////////////////////////////
1497         STYLE_CALL_TEXT("style_call_text_only_grey", BG_IMG_PATH"/vc_contact_btn.png", BG_IMG_PATH"/vc_contact_btn_press.png", 194, 92, 16, 16, 255, 255, 38)
1498
1499 ////////////// elm/button/base/style_caller_info_morebtn  //////////////////////////////////////////////
1500 ///////////This style is for more button in caller info part////////////////////
1501         group { name: "elm/button/base/style_caller_info_morebtn";
1502                 images {
1503                         image: BG_IMG_PATH"/vc_more_button_normal.png" COMP;
1504                         image: BG_IMG_PATH"/vc_more_button_press.png" COMP;
1505                 }
1506                 parts {
1507                         part { name: "button_image";
1508                                 mouse_events: 1;
1509                                 scale: 1;
1510                                 description { state: "default" 0.0;
1511                                         min: 70 70;
1512                                         image {
1513                                                 normal: BG_IMG_PATH"/vc_more_button_normal.png";
1514                                                 border: 0 0 0 0;
1515                                                 border_scale: 1;
1516                                         }
1517                                 }
1518                                 description { state: "clicked" 0.0;
1519                                         inherit: "default" 0.0;
1520                                         image.normal: BG_IMG_PATH"/vc_more_button_press.png";
1521                                 }
1522                         }
1523                         part { name: "over2";
1524                                 type: RECT;
1525                                 mouse_events: 1;
1526                                 repeat_events: 1;
1527                                 ignore_flags: ON_HOLD;
1528                                 description { state: "default" 0.0;
1529                                         color: 0 0 0 0;
1530                                 }
1531                                 description { state: "disabled" 0.0;
1532                                         inherit: "default" 0.0;
1533                                         visible: 0;
1534                                 }
1535                         }
1536                         part { name: "over3";
1537                                 type: RECT;
1538                                 mouse_events: 1;
1539                                 repeat_events: 1;
1540                                 description { state: "default" 0.0;
1541                                         color: 0 0 0 0;
1542                                 }
1543                                 description { state: "clicked" 0.0;
1544                                         inherit: "default" 0.0;
1545                                         visible: 1;
1546                                 }
1547                         }
1548                         part { name: "disabler";
1549                                 type: RECT;
1550                                 description { state: "default" 0.0;
1551                                         visible: 0;
1552                                 }
1553                                 description { state: "disabled" 0.0;
1554                                         inherit: "default" 0.0;
1555                                         visible: 1;
1556                                 }
1557                         }
1558                 }
1559                 programs {
1560                         program { name: "button_click";
1561                                 signal: "mouse,down,1";
1562                                 source: "over2";
1563                                 action: SIGNAL_EMIT "elm,action,press" "";
1564                                 after: "button_click_anim";
1565                         }
1566                         program { name: "button_click_anim";
1567                                 action: STATE_SET "clicked" 0.0;
1568                                 target: "button_image";
1569                         }
1570                         program { name: "button_unclick";
1571                                 signal: "mouse,up,1";
1572                                 source: "over2";
1573                                 action: SIGNAL_EMIT "elm,action,unpress" "";
1574                                 after: "button_unclick_anim";
1575                         }
1576                         program { name: "button_unclick_anim";
1577                                 action: STATE_SET "default" 0.0;
1578                                 target: "button_image";
1579                         }
1580                         program { name: "button_mouseout_clicked";
1581                                 signal: "mouse,out";
1582                                 source: "over2";
1583                                 action: STATE_SET "visible" 0.0;
1584                                 target: "button_image";
1585                         }
1586                         program { name: "button_click2";
1587                                 signal: "mouse,down,1";
1588                                 source: "over3";
1589                                 action: STATE_SET "clicked" 0.0;
1590                                 target: "over3";
1591                         }
1592                         program { name: "button_unclick2";
1593                                 signal: "mouse,up,1";
1594                                 source: "over3";
1595                                 action: STATE_SET "default" 0.0;
1596                                 target: "over3";
1597                         }
1598                         program { name: "button_unclick3";
1599                                 signal: "mouse,up,1";
1600                                 source: "over2";
1601                                 action: SIGNAL_EMIT "elm,action,click" "";
1602                         }
1603                         program { name: "disable";
1604                                 signal: "elm,state,disabled";
1605                                 source: "elm";
1606                                 action: STATE_SET "disabled" 0.0;
1607                                 target: "button_image";
1608                                 target: "over2";
1609                                 target: "disabler";
1610                         }
1611                         program { name: "enable";
1612                                 signal: "elm,state,enabled";
1613                                 source: "elm";
1614                                 action: STATE_SET "default" 0.0;
1615                                 target: "button_image";
1616                                 target: "over2";
1617                                 target: "disabler";
1618                         }
1619                         program { name: "focused";
1620                                 signal: "elm,action,focus";
1621                                 source: "elm";
1622                                 action: STATE_SET "focused" 0.0;
1623                                 target: "button_image";
1624                         }
1625                         program { name: "unfocused";
1626                                 signal: "elm,action,unfocus";
1627                                 source: "elm";
1628                                 action: STATE_SET "default" 0.0;
1629                                 target: "button_image";
1630                         }
1631                 }
1632         }
1633
1634 ////////////// elm/button/base/style_call_small_text_with_icon  //////////////////////////////////////////////
1635 ///////////This style is for mute button in quickpanel if mute-status is enabled/////////////////////////////
1636         group { name: "elm/button/base/style_call_small_text_with_icon";
1637                 images {
1638                         image: BG_IMG_PATH"/vc_button_qp_normal.png" COMP;
1639                         image: BG_IMG_PATH/"vc_button_qp_press.png" COMP;
1640                 }
1641                 parts {
1642                         part { name: "button_image";
1643                                 mouse_events: 1;
1644                                 scale: 1;
1645                                 description { state: "default" 0.0;
1646                                         min: 1 1;
1647                                         image {
1648                                                 normal: BG_IMG_PATH"/vc_button_qp_normal.png";
1649                                                 border: 4 4 0 0;
1650                                         }
1651                                         image.middle: SOLID;
1652                                 }
1653                                 description { state: "clicked" 0.0;
1654                                         inherit: "default" 0.0;
1655                                         image.normal: BG_IMG_PATH/"vc_button_qp_press.png";
1656                                 }
1657                                 description { state: "disabled" 0.0;
1658                                         inherit:  "default" 0.0;
1659                                 }
1660                                 description { state: "focused" 0.0;
1661                                         inherit: "default" 0.0;
1662                                 }
1663                         }
1664
1665                         part { name: "elm.text";
1666                                 type: TEXT;
1667                                 mouse_events:  0;
1668                                 effect: SHADOW;
1669                                 scale: 1;
1670                                 description { state: "default" 0.0;
1671                                         visible: 0;
1672                                         rel1.relative: 0.5 0;
1673                                         rel2.relative: 0.5 1;
1674                                         color: 7 180 211 255;
1675                                         color2: 0 0 0 102;
1676                                         color3: 0 0 0 255;
1677                                         max: 200 74;
1678                                         text {
1679                                                 font: FONT_SLP_Regular;
1680                                                 size: 32;
1681                                                 align: 0.5 0.5;
1682                                                 min: 1 0;
1683                                                 text_class: TEXT_CLASS_SLP_REGULAR;
1684                                         }
1685                                 }
1686                                 description { state: "visible" 0.0;
1687                                         inherit: "default" 0.0;
1688                                         visible: 1;
1689                                 }
1690                                 description { state: "clicked" 0.0;
1691                                         inherit: "default" 0.0;
1692                                         visible: 1;
1693                                         min: 1 1;
1694                                         color: 255 255 255 255;
1695                                         color2: 0 0 0 102;
1696                                         color3: 0 0 0 255;
1697                                 }
1698                                 description { state: "disabled" 0.0;
1699                                         inherit: "default" 0.0;
1700                                         color: 0 0 0 128;
1701                                         color3: 0 0 0 0;
1702                                 }
1703                                 description { state: "disabled_visible" 0.0;
1704                                         inherit: "default" 0.0;
1705                                         color: 0 0 0 128;
1706                                         color3: 0 0 0 0;
1707                                         visible: 1;
1708                                 }
1709                                 description { state: "focused" 0.0;
1710                                         inherit: "default" 0.0;
1711                                         visible: 1;
1712                                         min: 1 1;
1713                                         color: 255 255 255 255;
1714                                         color2: 0 0 0 102;
1715                                         color3: 0 0 0 255;
1716                                 }
1717                         }
1718
1719                         part { name: "elm.swallow.content";
1720                                 type: SWALLOW;
1721                                 description { state: "default" 0.0;
1722                                         fixed: 1 1;
1723                                         visible: 0;
1724                                         rel1.to_x: "elm.text";
1725                                         rel1.relative: 1.0 0.0;
1726                                         rel1.offset: 0 4;
1727                                         rel2.offset: -5 -5;
1728                                         max: 30 30;
1729                                 }
1730                                 description { state: "visible" 0.0;
1731                                         inherit: "default" 0.0;
1732                                         fixed: 1 1;
1733                                         visible: 1;
1734                                         aspect: 1.0 1.0;
1735                                 }
1736                                 description { state: "icononly" 0.0;
1737                                         inherit: "default" 0.0;
1738                                         fixed: 0 0;
1739                                         visible: 1;
1740                                         align: 0.5 0.5;
1741                                         rel2.offset: -5 -5;
1742                                         rel2.relative: 1.0 1.0;
1743                                 }
1744                         }
1745
1746                         part { name: "over2";
1747                                 type: RECT;
1748                                 mouse_events: 1;
1749                                 repeat_events: 1;
1750                                 ignore_flags: ON_HOLD;
1751                                 description { state: "default" 0.0;
1752                                         color: 0 0 0 0;
1753                                 }
1754                                 description { state: "disabled" 0.0;
1755                                         inherit:  "default" 0.0;
1756                                         visible: 0;
1757                                 }
1758                         }
1759                         part { name: "over3";
1760                                 type: RECT;
1761                                 mouse_events: 1;
1762                                 repeat_events: 1;
1763                                 description { state: "default" 0.0;
1764                                         color: 0 0 0 0;
1765                                 }
1766                                 description { state: "clicked" 0.0;
1767                                         inherit:  "default" 0.0;
1768                                         visible: 1;
1769                                 }
1770                         }
1771                         part { name: "disabler";
1772                                 type: RECT;
1773                                 description { state: "default" 0.0;
1774                                         visible: 0;
1775                                 }
1776                                 description { state: "disabled" 0.0;
1777                                         inherit: "default" 0.0;
1778                                         visible: 1;
1779                                 }
1780                         }
1781                 }
1782
1783                 programs {
1784                         program { name: "button_click";
1785                                 signal: "mouse,down,1";
1786                                 source: "over2";
1787                                 action: SIGNAL_EMIT "elm,action,press" "";
1788                                 after: "button_click_anim";
1789                         }
1790                         program { name: "button_click_anim";
1791                                 action: STATE_SET "clicked" 0.0;
1792                                 target: "button_image";
1793                                 after: "text_clicked";
1794                         }
1795                         program { name: "text_clicked";
1796                                 script {
1797                                         new st[31];
1798                                         new Float:vl;
1799                                         get_state(PART:"elm.text", st, 30, vl);
1800                                         if (!strcmp(st, "visible"))
1801                                                 set_state(PART:"elm.text", "clicked", 0.0);
1802                                 }
1803                         }
1804                         program { name: "button_unpress";
1805                                 action: SIGNAL_EMIT "elm,action,unpress" "";
1806                         }
1807                         program { name: "button_mouseout_clicked";
1808                                 signal: "mouse,up,1";
1809                                 source: "over3";
1810                                 script {
1811                                         new st[31];
1812                                         new Float:vl;
1813                                         get_state(PART:"elm.swallow.content", st, 30, vl);
1814                                         if (strcmp(st, "icononly")) {
1815                                                 emit("elm,action,default,text,set", "");
1816                                                 set_state(PART:"elm.text", "visible", 0.0);
1817                                         }
1818                                         set_state(PART:"button_image", "default", 0.0);
1819                                 }
1820                                 after: button_unpress;
1821                         }
1822                         program { name: "button_click2";
1823                                 signal: "mouse,down,1";
1824                                 source: "over3";
1825                                 action: STATE_SET "clicked" 0.0;
1826                                 target: "over3";
1827                         }
1828                         program { name: "button_unclick2";
1829                                 signal: "mouse,clicked,1";
1830                                 source: "over3";
1831                                 action: STATE_SET "default" 0.0;
1832                                 target: "over3";
1833                         }
1834                         program { name: "button_unclick3";
1835                                 signal: "mouse,clicked,1";
1836                                 source: "over2";
1837                                 action: SIGNAL_EMIT "elm,action,click" "";
1838                         }
1839                         program { name: "text_show";
1840                                 signal: "elm,state,text,visible";
1841                                 source: "elm";
1842                                 script {
1843                                 new st[31];
1844                                 new Float:vl;
1845                                 get_state(PART:"elm.swallow.content", st, 30, vl);
1846                                 if (!strcmp(st, "icononly"))
1847                                 {
1848                                         set_state(PART:"elm.swallow.content", "visible", 0.0);
1849                                 }
1850                                         set_state(PART:"elm.text", "visible", 0.0);
1851                                 }
1852                         }
1853                         program { name: "text_hide";
1854                                 signal: "elm,state,text,hidden";
1855                                 source: "elm";
1856                                 script {
1857                                 new st[31];
1858                                 new Float:vl;
1859                                 get_state(PART:"elm.swallow.content", st, 30, vl);
1860                                 if (!strcmp(st, "visible"))
1861                                 {
1862                                         set_state(PART:"elm.swallow.content", "icononly", 0.0);
1863                                 }
1864                                         set_state(PART:"elm.text", "default", 0.0);
1865                                 }
1866                         }
1867                         program { name: "icon_show";
1868                                 signal: "elm,state,icon,visible";
1869                                 source: "elm";
1870                                 script {
1871                                         new st[31];
1872                                         new Float:vl;
1873                                         get_state(PART:"elm.text", st, 30, vl);
1874                                         if (!strcmp(st, "visible")) {
1875                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
1876                                         } else {
1877                                                 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1878                                         }
1879                                 }
1880                         }
1881                         program { name: "icon_hide";
1882                                 signal: "elm,state,icon,hidden";
1883                                 source: "elm";
1884                                 action:  STATE_SET "default" 0.0;
1885                                 target: "elm.swallow.content";
1886                         }
1887                         program { name: "disable";
1888                                 signal: "elm,state,disabled";
1889                                 source: "elm";
1890                                 action: STATE_SET "disabled" 0.0;
1891                                 target: "button_image";
1892                                 target: "over2";
1893                                 target: "disabler";
1894                                 after: "disable_text";
1895                         }
1896                         program { name: "disable_text";
1897                                 script {
1898                                         new st[31];
1899                                         new Float:vl;
1900                                         get_state(PART:"elm.text", st, 30, vl);
1901                                         if (!strcmp(st, "visible"))
1902                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
1903                                         else
1904                                                 set_state(PART:"elm.text", "disabled", 0.0);
1905                                 }
1906                         }
1907                         program { name: "enable";
1908                                 signal: "elm,state,enabled";
1909                                 source: "elm";
1910                                 action: STATE_SET "default" 0.0;
1911                                 target: "button_image";
1912                                 target: "over2";
1913                                 target: "disabler";
1914                                 after: "enable_text";
1915                         }
1916                         program { name: "enable_text";
1917                                 script {
1918                                 new st[31];
1919                                 new Float:vl;
1920                                 get_state(PART:"elm.text", st, 30, vl);
1921                                 if (!strcmp(st, "disabled_visible"))
1922                                         set_state(PART:"elm.text", "visible", 0.0);
1923                                 else
1924                                         set_state(PART:"elm.text", "default", 0.0);
1925                                 }
1926                         }
1927                         program { name: "unfocus_text";
1928                                 action: STATE_SET "visible" 0.0;
1929                                 target: "elm.text";
1930                         }
1931                 }
1932         }
1933
1934 ////////////// multicall-list genlist ///////////////////////////////////////////
1935 //////////////This style is for item in genlist in multi call list view/////////        
1936         group { name: "elm/genlist/item/multicall_list/default";
1937                 alias: "elm/genlist/item_odd/multicall_list/default";
1938                 alias: "elm/genlist/item_compress/multicall_list/default";
1939                 alias: "elm/genlist/item_compress_odd/multicall_list/default";
1940
1941                 data.item: "stacking" "above";
1942                 data.item: "selectraise" "on";
1943                 data.item: "texts" "elm.text";
1944                 data.item: "contents" "elm.swallow.end elm.swallow.private";
1945                 data.item: "treesize" "20";
1946
1947                 images {
1948                         image: BG_IMG_PATH"/vc_conf_call_list_bg.png" COMP;
1949                 }
1950
1951                 parts {
1952                         BEAT_GENLIST_PART_BASE(112)
1953                         BEAT_GENLIST_PART_BG
1954                         GENLIST_PART_BG_IMAGE_NO_SELECT
1955                         BEAT_GENLIST_PART_BOTTOM_LINE
1956                         BEAT_GENLIST_PART_PADDING_LEFT(16)
1957                         BEAT_GENLIST_PART_PADDING_RIGHT(16)
1958
1959                         part { name: "elm.swallow.end";
1960                                 type: SWALLOW;
1961                                 scale: 1;
1962                                 description { state: "default" 0.0;
1963                                         fixed: 1 0;
1964                                         align: 1.0 0.5;
1965                                         rel1.to_x: "elm.padding.right";
1966                                         rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; }
1967                                 }
1968                         }
1969
1970                         part { name: "elm.padding.end.left";
1971                                 type: RECT;
1972                                 scale: 1;
1973                                 description { state: "default" 0.0;
1974                                         min: 16 0;
1975                                         fixed: 1 0;
1976                                         visible: 0;
1977                                         rel1.to_x: "elm.swallow.end";
1978                                         rel2 { relative: 0.0 1.0; to_x: "elm.swallow.end"; }
1979                                         align: 1.0 0.0;
1980                                 }
1981                         }
1982
1983                         part { name: "elm.swallow.private";
1984                                 type: SWALLOW;
1985                                 scale: 1;
1986                                 description { state: "default" 0.0;
1987                                         fixed: 1 0;
1988                                         align: 0.0 0.5;
1989                                         rel1 { relative: 1.0 0.0; to: "elm.padding.left"; }
1990                                         rel2 { relative: 1.0 1.0; to: "elm.padding.left"; }
1991                                 }
1992                         }
1993
1994                         part { name: "elm.padding.private.left";
1995                                 type: RECT;
1996                                 scale: 1;
1997                                 description { state: "default" 0.0;
1998                                         min: 16 0;
1999                                         fixed: 1 0;
2000                                         visible: 0;
2001                                         rel1 { relative: 1.0 0.0; to: "elm.swallow.private"; }
2002                                         rel2 { relative: 1.0 1.0; to: "elm.swallow.private"; }
2003                                         align: 0.0 0.5;
2004                                 }
2005                         }
2006
2007                         part { name: "elm.text";
2008                                 clip_to: "disclip";
2009                                 type: TEXT;
2010                                 mouse_events: 0;
2011                                 scale: 1;
2012                                 description { state: "default" 0.0;
2013                                         rel1 { relative: 1.0  0.0; offset: 0 0; to: "elm.padding.private.left"; }
2014                                         rel2 { relative: 0.0  1.0; to: "elm.padding.end.left"; }
2015                                         color: 255 255 255 255;
2016                                         text {
2017                                                 font: FONT_SLP_Roman;
2018                                                 text_class: TEXT_CLASS_SLP_ROMAN;
2019                                                 size: 44;
2020                                                 min: 0 1;
2021                                                 align: 0.0 0.5;
2022                                         }
2023                                 }
2024                                 description { state: "selected" 0.0;
2025                                         inherit: "default" 0.0;
2026                                         color: 255 255 255 255;
2027                                 }
2028                         }
2029                         
2030                         BEAT_GENLIST_PART_DISCLIP
2031                 }
2032                 
2033                 programs {
2034                         GENLIST_PROGRAMS
2035                 }
2036         }
2037
2038 ////////////// reject with msg-list genlist ///////////////////////////////////////////
2039 /////////////This style is for items in list to reject incoming call with msg ///////////
2040         group { name: "elm/genlist/item/call/reject_msg/default";
2041                 alias: "elm/genlist/item_odd/call/reject_msg/default";
2042                 alias: "elm/genlist/item_compress/call/reject_msg/default";
2043                 alias: "elm/genlist/item_compress_odd/call/reject_msg/default";
2044
2045                 data.item: "stacking" "above";
2046                 data.item: "selectraise" "on";
2047                 data.item: "texts" "elm.text";
2048                 data.item: "contents" "elm.swallow.end";
2049                 data.item: "treesize" "20";
2050                 
2051                 images {
2052                         image: BG_IMG_PATH"/vc_conf_call_list_bg.png" COMP;
2053                 }
2054                 
2055                 parts {
2056                         BEAT_GENLIST_PART_BASE(112)
2057                         BEAT_GENLIST_PART_BG
2058                         GENLIST_PART_BG_IMAGE
2059                         BEAT_GENLIST_PART_BOTTOM_LINE
2060                         BEAT_GENLIST_PART_PADDING_LEFT(32)
2061                         BEAT_GENLIST_PART_PADDING_RIGHT(32)
2062
2063                         part { name: "elm.swallow.end";
2064                                 clip_to: "disclip";
2065                                 type: SWALLOW;
2066                                 scale: 1;
2067                                 description { state: "defualt" 0.0;
2068                                         min: 190 0;
2069                                         fixed: 1 0;
2070                                         align: 1.0 0.5;
2071                                         aspect: 1.0 1.0;
2072                                         aspect_preference: VERTICAL;
2073                                         rel1 { relative: 0.0 0.5; to_x: "elm.padding.right"; to_y: "base"; }
2074                                         rel2 { relative: 0.0 0.5; to_x: "elm.padding.right"; to_y: "base"; }
2075                                 }
2076                         }
2077
2078                         part { name: "elm.text";
2079                                 clip_to: "disclip";
2080                                 type: TEXT;
2081                                 mouse_events: 0;
2082                                 scale: 1;
2083                                 description { state: "default" 0.0;
2084                                         rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; }
2085                                         rel2 { to_x: "elm.swallow.end"; relative: 0.0 1.0; }
2086                                         color: 255 255 255 255;
2087                                         text {
2088                                                 font: FONT_SLP_Roman;
2089                                                 text_class: TEXT_CLASS_SLP_ROMAN;
2090                                                 size: 44;
2091                                                 min: 0 1;
2092                                                 align: 0.0 0.5;
2093                                         }
2094                                 }
2095                                 description { state: "selected" 0.0;
2096                                         inherit: "default" 0.0;
2097                                         color: 255 255 255 255;
2098                                 }
2099                         }
2100
2101                         BEAT_GENLIST_PART_DISCLIP
2102                 }
2103                 programs {
2104                         GENLIST_PROGRAMS
2105                 }
2106         }
2107
2108 /* More ctxpopup*/
2109 ///////////////////////////////////////////////////////////////////////////////
2110         group {
2111                 name: "elm/ctxpopup/icon_text_style_item/more_ctxpopup";
2112                 parts {
2113                         part {
2114                                 name: "event_blocker";
2115                                 mouse_events: 1;
2116                                 description {
2117                                         state: "default" 0.0;
2118                                 }
2119                         }
2120                         part {
2121                                 name: "bg";
2122                                 mouse_events: 0;
2123                                 type: RECT;
2124                                 description {
2125                                         state: "default" 0.0;
2126                                         color: 0 0 0 0;
2127                                         visible: 1;
2128                                 }
2129                                 description {
2130                                         state: "clicked" 0.0;
2131                                         color: 0 140 210 255;
2132                                         visible: 1;
2133                                 }
2134                         }
2135                         part {
2136                                 name: "icon_left_padding";
2137                                 scale: 1;
2138                                 mouse_events: 0;
2139                                 description {
2140                                         state: "default" 0.0;
2141                                         min: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2142                                         max: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2143                                         align: 0 0;
2144                                         fixed: 1 1;
2145                                         visible: 0;
2146                                 }
2147                         }
2148                         part {
2149                                 name: "separator";
2150                                 mouse_events: 0;
2151                                 type: RECT;
2152                                 scale: 1;
2153                                 description {
2154                                         state: "default" 0.0;
2155                                         color: 255 255 255 102;
2156                                         align: 0.5 0;
2157                                         min: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2158                                         max: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2159                                         visible: 0;
2160                                 }
2161                                 description {
2162                                         state: "horizontal" 0.0;
2163                                         color: 255 255 255 102;
2164                                         align: 0 0.5;
2165                                         min: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2166                                         max: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2167                                         visible: 1;
2168                                 }
2169                                 description {
2170                                         state: "vertical" 0.0;
2171                                         color: 255 255 255 102;
2172                                         align: 0.5 0;
2173                                         min: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2174                                         max: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2175                                         visible: 1;
2176                                 }
2177                         }
2178                         part {
2179                                 name: "elm.swallow.icon";
2180                                 type: SWALLOW;
2181                                 scale: 1;
2182                                 description {
2183                                         state: "default" 0.0;
2184                                         min: MORE_MENU_CTXPOPUP_ROW_ICON_W MORE_MENU_CTXPOPUP_ROW_ICON_H;
2185                                         max: MORE_MENU_CTXPOPUP_ROW_ICON_W MORE_MENU_CTXPOPUP_ROW_ICON_H;
2186                                         align: 0 0.5;
2187                                         aspect: 1.0 1.0;
2188                                         rel1 { to:"icon_left_padding"; relative: 1 0; }
2189                                 }
2190                         }
2191                         part {
2192                                 name: "icon_right_padding";
2193                                 scale: 1;
2194                                 mouse_events: 0;
2195                                 description {
2196                                         state: "default" 0.0;
2197                                         min: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2198                                         max: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2199                                         align: 0 0.5;
2200                                         fixed: 1 1;
2201                                         visible: 0;
2202                                         rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2203                                 }
2204                         }
2205                         part {
2206                                 name: "elm.text";
2207                                 type:  TEXT;
2208                                 mouse_events:  0;
2209                                 scale: 1;
2210                                 description {
2211                                         state: "default" 0.0;
2212                                         min: MORE_MENU_CTXPOPUP_SEPARATOR_H MORE_MENU_CTXPOPUP_ROW_H;
2213                                         max: (MORE_MENU_CTXPOPUP_SEPARATOR_W - (3 * MORE_MENU_CTXPOPUP_ROW_ICON_PAD) - MORE_MENU_CTXPOPUP_ROW_ICON_W) MORE_MENU_CTXPOPUP_ROW_H;
2214                                         fixed: 0 1;
2215                                         align: 0.5 0.5;
2216                                         rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
2217                                         rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
2218                                         color: 253 253 253 255;
2219                                         text {
2220                                                 font: FONT_SLP_Roman;
2221                                                 text_class: TEXT_CLASS_SLP_ROMAN;
2222                                                 size: 33;
2223                                                 align: 0.0 0.5;
2224                                                 min: 1 1;
2225                                         }
2226                                 }
2227                                 description {
2228                                         state: "compress" 0.0;
2229                                         inherit: "default" 0.0;
2230                                         max: -1 -1;
2231                                         text {
2232                                                 min: 0 1;
2233                                         }
2234                                 }
2235                                 description {
2236                                         state: "clicked" 0.0;
2237                                         inherit: "default" 0.0;
2238                                         color: 249 249 249 255;
2239                                 }
2240                         }
2241                         part {
2242                                 name: "text_right_padding";
2243                                 type: RECT;
2244                                 scale: 1;
2245                                 mouse_events: 0;
2246                                 description {
2247                                         state: "default" 0.1100;
2248                                         visible: 0;
2249                                         min: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2250                                         max: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2251                                         fixed: 1 0;
2252                                         align: 1.0 0.5;
2253                                 }
2254                         }
2255                         part {
2256                                 name: "over1";
2257                                 mouse_events: 1;
2258                                 repeat_events: 1;
2259                                 ignore_flags: ON_HOLD;
2260                                 description {
2261                                         state: "default" 0.0;
2262                                 }
2263                         }
2264                         part {
2265                                 name: "over2";
2266                                 mouse_events: 1;
2267                                 repeat_events: 1;
2268                                 description {
2269                                         state: "default" 0.0;
2270                                 }
2271                         }
2272                         part {
2273                                 name: "disclip";
2274                                 type: RECT;
2275                                 description {
2276                                         state: "default" 0.0;
2277                                         visible: 0;
2278                                 }
2279                                 description {
2280                                         state: "disabled" 0.0;
2281                                         visible: 1;
2282                                         color: 200 200 200 102;
2283                                 }
2284                         }
2285                 }
2286                 programs {
2287                         program {
2288                                 name: "item_unclick";
2289                                 signal: "mouse,up,1";
2290                                 source: "over1";
2291                                 action: SIGNAL_EMIT "elm,action,click" "";
2292                         }
2293                         program {
2294                                 name: "disable";
2295                                 signal: "elm,state,disabled";
2296                                 source: "elm";
2297                                 action: STATE_SET "disabled" 0.0;
2298                                 target: "disclip";
2299                         }
2300                         program {
2301                                 name: "enable";
2302                                 signal: "elm,state,enabled";
2303                                 source: "elm";
2304                                 action: STATE_SET "default" 0.0;
2305                                 target: "disclip";
2306                         }
2307                         program {
2308                                 name: "default";
2309                                 signal: "elm,state,default";
2310                                 source: "elm";
2311                                 script {
2312                                         set_state(PART:"separator", "default", 0.0);
2313                                 }
2314                         }
2315                         program {
2316                                 name: "compress";
2317                                 signal: "elm,state,compress";
2318                                 source: "elm";
2319                                 action: STATE_SET "compress" 0.0;
2320                                 target: "elm.text";
2321                         }
2322                         program {
2323                                 name: "vertical";
2324                                 signal: "elm,state,vertical";
2325                                 source: "elm";
2326                                 script {
2327                                         set_state(PART:"separator", "vertical", 0.0);
2328                                 }
2329                         }
2330                         program {
2331                                 name: "horizontal";
2332                                 signal: "elm,state,horizontal";
2333                                 source: "elm";
2334                                 script {
2335                                         set_state(PART:"separator", "horizontal", 0.0);
2336                                 }
2337                         }
2338                         program {
2339                                 name: "item_click2";
2340                                 signal: "mouse,down,1";
2341                                 source: "over2";
2342                                 script {
2343                                         set_state(PART:"elm.text", "clicked", 0.0);
2344                                         set_state(PART:"bg", "clicked", 0.0);
2345                                 }
2346                         }
2347                         program {
2348                                 name: "item_unclick2";
2349                                 signal: "mouse,up,1";
2350                                 source: "over2";
2351                                 script {
2352                                         set_state(PART:"elm.text", "compress", 0.0);
2353                                         set_state(PART:"bg", "default", 0.0);
2354                                 }
2355                         }
2356                 }
2357         }
2358 ///////////////////////////////////////////////////////////////////////////////
2359         group {
2360                 images {
2361                         image: ICON_IMG_PATH"/vc_popup_arrow.png" COMP;
2362                 }
2363
2364                 name: "elm/ctxpopup/arrow/more_ctxpopup";
2365                 parts {
2366                         part {
2367                                 name: "ctxpopup_arrow";
2368                                 type: IMAGE;
2369                                 scale: 1;
2370                                 description {
2371                                         state: "default" 0.0;
2372                                         min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2373                                         max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2374                                         fixed: 1 1;
2375                                         visible: 0;
2376                                         align: 0.5 0.5;
2377                                 }
2378                                 description {
2379                                         state: "left" 0.0;
2380                                         min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2381                                         max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2382                                         fixed: 1 1;
2383                                         align: 1.0 0.5;
2384                                         image {
2385                                                 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2386                                         }
2387                                 }
2388                                 description {
2389                                         state: "right" 0.0;
2390                                         min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2391                                         max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2392                                         fixed: 1 1;
2393                                         align: 0.0 0.5;
2394                                         image {
2395                                                 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2396                                         }
2397                                 }
2398                                 description {
2399                                         state: "top" 0.0;
2400                                         min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2401                                         max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2402                                         fixed: 1 1;
2403                                         align: 0.5 1.0;
2404                                         image {
2405                                                 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2406                                         }
2407                                 }
2408                                 description {
2409                                         state: "bottom" 0.0;
2410                                         min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2411                                         max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2412                                         fixed: 1 1;
2413                                         align: 0.5 0.0;
2414                                         image {
2415                                                 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2416                                         }
2417                                 }
2418                         }
2419                 }
2420                 programs {
2421                         program {
2422                                 name: "enable_left_arrow";
2423                                 signal: "elm,state,left";
2424                                 source: "elm";
2425                                 action: STATE_SET "left" 0.0;
2426                                 target: "ctxpopup_arrow";
2427                         }
2428                         program {
2429                                 name: "enable_right_arrow";
2430                                 signal: "elm,state,right";
2431                                 source: "elm";
2432                                 action: STATE_SET "right" 0.0;
2433                                 target: "ctxpopup_arrow";
2434                         }
2435                         program {
2436                                 name: "enable_top_arrow";
2437                                 signal: "elm,state,top";
2438                                 source: "elm";
2439                                 action: STATE_SET "top" 0.0;
2440                                 target: "ctxpopup_arrow";
2441                         }
2442                         program {
2443                                 name: "enable_bottom_arrow";
2444                                 signal: "elm,state,bottom";
2445                                 source: "elm";
2446                                 action: STATE_SET "bottom" 0.0;
2447                                 target: "ctxpopup_arrow";
2448                         }
2449                 }
2450         }
2451
2452 ///////////////////////////////////////////////////////////////////////////////
2453         group {
2454                 images {
2455                         image: ICON_IMG_PATH"/vc_popup_bg.png" COMP;
2456                 }
2457
2458                 name: "elm/ctxpopup/base/more_ctxpopup";
2459                 parts {
2460                         part {
2461                                 name:"frame_shadow_left_top_padding";
2462                                 type:RECT;
2463                                 scale: 1;
2464                                 mouse_events: 0;
2465                                 description {
2466                                         min: 0 0;
2467                                         max: 0 0;
2468                                         rel2 { relative: 0 0; }
2469                                         align: 1 1;
2470                                         fixed: 1 1;
2471                                         visible: 0;
2472                                 }
2473                         }
2474                         part {
2475                                 name:"frame_shadow_right_bottom_padding";
2476                                 type:RECT;
2477                                 scale: 1;
2478                                 mouse_events: 0;
2479                                 description {
2480                                         min: 0 0;
2481                                         max: 0 0;
2482                                         rel1{relative: 1 1;}
2483                                         align: 0 0;
2484                                         fixed: 1 1;
2485                                         visible: 0;
2486                                 }
2487                         }
2488                         part {
2489                                 name: "frame_shadow";
2490                                 type: IMAGE;
2491                                 scale: 1;
2492                                 mouse_events: 0;
2493                                 clip_to: "ctxpopup_clip";
2494                                 description {
2495                                         state: "default" 0.0;
2496                                         rel1 {
2497                                         relative: 0.2 0.2;
2498                                                 to:"frame_shadow_left_top_padding";
2499                                         }
2500                                         rel2 {
2501                                                 relative: 0.8 0.8;
2502                                                 to:"frame_shadow_right_bottom_padding";
2503                                         }
2504                                         image {
2505                                                 normal: ICON_IMG_PATH"/vc_popup_bg.png";
2506                                                 border: 9 9 9 9;
2507                                                 border_scale: 1;
2508                                         }
2509                                         color: 255 255 255 127;
2510                                 }
2511                         }
2512                         part { name: "arrow_area_left";
2513                                 type: RECT;
2514                                 mouse_events: 0;
2515                                 scale: 1;
2516                                 clip_to: "ctxpopup_clip";
2517                                 description { state: "default" 0.0;
2518                                         visible: 0;
2519                                         min: 40 0;
2520                                         fixed: 1 1;
2521                                         align: 1 0.5;
2522                                         rel1 {
2523                                                 relative: 0 1;
2524                                                 to_y: "ctxpopup_frame_left_top";
2525                                         }
2526                                         rel2 {
2527                                                 relative:0 0;
2528                                                 to:"ctxpopup_frame_left_bottom";
2529                                         }
2530                                 }
2531                         }
2532                         part { name: "arrow_area_right";
2533                                 type: RECT;
2534                                 mouse_events: 0;
2535                                 scale: 1;
2536                                 clip_to: "ctxpopup_clip";
2537                                 description { state: "default" 0.0;
2538                                         visible: 0;
2539                                         min: 40 0;
2540                                         fixed: 1 1;
2541                                         align: 0 0.5;
2542                                         rel1 {
2543                                                 relative: 1 1;
2544                                                 to:"ctxpopup_frame_right_top";
2545                                         }
2546                                         rel2 {
2547                                                 relative: 1 0;
2548                                                 to_y: "ctxpopup_frame_right_bottom";
2549                                         }
2550                                 }
2551                         }
2552                         part { name: "arrow_area_up";
2553                                 type: RECT;
2554                                 mouse_events: 0;
2555                                 scale: 1;
2556                                 clip_to: "ctxpopup_clip";
2557                                 description { state: "default" 0.0;
2558                                         visible: 0;
2559                                         min: 0 40;
2560                                         fixed: 1 1;
2561                                         align: 0.5 1;
2562                                         rel1 {
2563                                                 relative: 1 0;
2564                                                 to_x: "ctxpopup_frame_left_top";
2565                                         }
2566                                         rel2 {
2567                                                 relative: 0 0;
2568                                                 to:"ctxpopup_frame_right_top";
2569                                         }
2570                                 }
2571                         }
2572                         part { name: "arrow_area_down";
2573                                 type: RECT;
2574                                 mouse_events: 0;
2575                                 scale: 1;
2576                                 clip_to: "ctxpopup_clip";
2577                                 description { state: "default" 0.0;
2578                                         visible: 0;
2579                                         min: 0 40;
2580                                         fixed: 1 1;
2581                                         align: 0.5 0;
2582                                         rel1 {
2583                                                 relative: 1 1;
2584                                                 to:"ctxpopup_frame_left_bottom";
2585                                         }
2586                                         rel2 {
2587                                                 relative: 0 1;
2588                                                 to_x: "ctxpopup_frame_right_bottom";
2589                                         }
2590                                 }
2591                         }
2592                         part { name: "elm.swallow.arrow_up";
2593                                 type: SWALLOW;
2594                                 mouse_events: 0;
2595                                 scale: 1;
2596                                 clip_to: "ctxpopup_clip";
2597                                 dragable {
2598                                         x: 1 1 0;
2599                                         y: 1 1 0;
2600                                         confine: "arrow_area_up";
2601                                 }
2602                                 description {
2603                                         state: "default" 0.0;
2604                                         min: 40 40;
2605                                         fixed: 1 1;
2606                                         visible: 1;
2607                                 }
2608                         }
2609                         part { name: "elm.swallow.arrow_down";
2610                                 type: SWALLOW;
2611                                 mouse_events: 0;
2612                                 scale: 1;
2613                                 clip_to: "ctxpopup_clip";
2614                                 dragable {
2615                                         x: 1 1 0;
2616                                         y: 1 1 0;
2617                                         confine: "arrow_area_down";
2618                                 }
2619                                 description {
2620                                         state: "default" 0.0;
2621                                         min: 40 40;
2622                                         fixed: 1 1;
2623                                         visible: 1;
2624                                 }
2625                         }
2626                         part { name: "elm.swallow.arrow_left";
2627                                 type: SWALLOW;
2628                                 mouse_events: 0;
2629                                 scale: 1;
2630                                 clip_to: "ctxpopup_clip";
2631                                 dragable {
2632                                         x: 1 1 0;
2633                                         y: 1 1 0;
2634                                         confine: "arrow_area_left";
2635                                 }
2636                                 description {
2637                                         state: "default" 0.0;
2638                                         min: 40 40;
2639                                         fixed: 1 1;
2640                                         visible: 1;
2641                                 }
2642                         }
2643                         part { name: "elm.swallow.arrow_right";
2644                                 type: SWALLOW;
2645                                 mouse_events: 0;
2646                                 scale: 1;
2647                                 clip_to: "ctxpopup_clip";
2648                                 dragable {
2649                                         x: 1 1 0;
2650                                         y: 1 1 0;
2651                                         confine: "arrow_area_right";
2652                                 }
2653                                 description {
2654                                         state: "default" 0.0;
2655                                         min: 40 40;
2656                                         fixed: 1 1;
2657                                         visible: 1;
2658                                 }
2659                         }
2660
2661                         part {
2662                                 name: "ctxpopup_frame_left_top";
2663                                 type: RECT;
2664                                 scale: 1;
2665                                 description {
2666                                         visible: 0;
2667                                         align: 0 0;
2668                                         min: 4 4;
2669                                         max: 4 4;
2670                                 }
2671                         }
2672
2673                         part {
2674                                 name: "ctxpopup_frame_right_top";
2675                                 type: RECT;
2676                                 scale: 1;
2677                                 description {
2678                                         visible: 0;
2679                                         align: 1 0;
2680                                         min: 4 4;
2681                                         max: 4 4;
2682                                 }
2683                         }
2684
2685                         part {
2686                                 name: "ctxpopup_frame_left_bottom";
2687                                 type: RECT;
2688                                 scale: 1;
2689                                 description {
2690                                         visible: 0;
2691                                         align: 0 1;
2692                                         min: 4 4;
2693                                         max: 4 4;
2694                                 }
2695                         }
2696
2697                         part {
2698                                 name: "ctxpopup_frame_right_bottom";
2699                                 type: RECT;
2700                                 scale: 1;
2701                                 description {
2702                                         visible: 0;
2703                                         align: 1 1;
2704                                         min: 4 4;
2705                                         max: 4 4;
2706                                 }
2707                         }
2708                         part {
2709                                 name:"list_shadow_right_bottom_padding";
2710                                 type:RECT;
2711                                 scale: 1;
2712                                 mouse_events: 0;
2713                                 description {
2714                                         min: MORE_MENU_CTXPOPUP_SHADOW_PADDING MORE_MENU_CTXPOPUP_SHADOW_PADDING;
2715                                         max: MORE_MENU_CTXPOPUP_SHADOW_PADDING MORE_MENU_CTXPOPUP_SHADOW_PADDING;
2716                                         align: 0 0;
2717                                         fixed: 1 1;
2718                                         visible: 0;
2719                                         rel1 {to:"elm.swallow.content";  relative: 1 1;}
2720                                 }
2721                         }
2722                         part {
2723                                 name:"content_left_top_padding";
2724                                 type:RECT;
2725                                 scale: 1;
2726                                 mouse_events: 0;
2727                                 description {
2728                                         state: "default" 0.0;
2729                                         min: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2730                                         max: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2731                                         align: 0 0;
2732                                         fixed: 1 1;
2733                                         visible: 0;
2734                                 }
2735                         }
2736                         part {
2737                                 name:"content_right_bottom_padding";
2738                                 type:RECT;
2739                                 scale: 1;
2740                                 mouse_events: 0;
2741                                 description {
2742                                         min: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2743                                         max: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2744                                         rel1 { relative: 1 1;}
2745                                         rel2 { relative: 1 1;}
2746                                         align: 1 1;
2747                                         fixed: 1 1;
2748                                         visible: 0;
2749                                 }
2750                         }
2751                         part {
2752                                 name: "frame_bg";
2753                                 type: IMAGE;
2754                                 scale: 1;
2755                                 mouse_events: 0;
2756                                 clip_to: "ctxpopup_clip";
2757                                 description {
2758                                         state: "default" 0.0;
2759                                         rel1 {to:"ctxpopup_frame_left_top";}
2760                                         rel2 {to:"ctxpopup_frame_right_bottom";}
2761                                         image {
2762                                                 normal: ICON_IMG_PATH"/vc_popup_bg.png";
2763                                                 border: 9 9 9 9;
2764                                                 border_scale: 1;
2765                                         }
2766                                         color: 255 255 255 127;
2767                                 }
2768                         }
2769                         part {
2770                                 name: "elm.swallow.content";
2771                                 type: SWALLOW;
2772                                 clip_to: "ctxpopup_clip";
2773                                 description {
2774                                         state: "default" 0.0;
2775                                         align: 0 0;
2776                                         rel1 {to:"ctxpopup_frame_left_top";  relative: 0.5 0.5;}
2777                                         rel2 {to:"ctxpopup_frame_right_bottom";  relative: 0.5 0.5;}
2778                                 }
2779                         }
2780                         part { name: "ctxpopup_clip";
2781                                 type: RECT;
2782                                 description { state: "default" 0.0;
2783                                         color: 255 255 255 0;
2784                                         rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
2785                                         rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
2786                                 }
2787                                 description { state: "show_up" 0.0;
2788                                         color: 255 255 255 0;
2789                                         rel1 { to:"arrow_area_down"; relative: 0 1; }
2790                                         rel2 { to:"arrow_area_down"; relative: 1 1; }
2791                                 }
2792                                 description { state: "show_left" 0.0;
2793                                         color: 255 255 255 0;
2794                                         rel1 { to:"arrow_area_right"; relative: 1 0; }
2795                                         rel2 { to:"arrow_area_right"; relative: 1 1; }
2796                                 }
2797                                 description { state: "show_right" 0.0;
2798                                         color: 255 255 255 0;
2799                                         rel1 { to:"arrow_area_left"; relative: 0 0; }
2800                                         rel2 { to:"arrow_area_left"; relative: 0 1; }
2801                                 }
2802                                 description { state: "show_down" 0.0;
2803                                         color: 255 255 255 0;
2804                                         rel1 { to:"arrow_area_up"; relative: 0 0; }
2805                                         rel2 { to:"arrow_area_up"; relative: 1 0; }
2806                                 }
2807                                 description { state: "hide_up" 0.0;
2808                                         color: 255 255 255 255;
2809                                         rel1 { to:"arrow_area_down"; relative: 0 1; }
2810                                         rel2 { to:"arrow_area_down"; relative: 1 1; }
2811                                 }
2812                                 description { state: "hide_left" 0.0;
2813                                         color: 255 255 255 255;
2814                                         rel1 { to:"arrow_area_right"; relative: 1 0; }
2815                                         rel2 { to:"arrow_area_right"; relative: 1 1; }
2816                                 }
2817                                 description { state: "hide_right" 0.0;
2818                                         color: 255 255 255 255;
2819                                         rel1 { to:"arrow_area_left"; relative: 0 0; }
2820                                         rel2 { to:"arrow_area_left"; relative: 0 1; }
2821                                 }
2822                                 description { state: "hide_down" 0.0;
2823                                         color: 255 255 255 255;
2824                                         rel1 { to:"arrow_area_up"; relative: 0 0; }
2825                                         rel2 { to:"arrow_area_up"; relative: 1 0; }
2826                                 }
2827                                 description { state: "visible" 0.0;
2828                                         color: 255 255 255 255;
2829                                         rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
2830                                         rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
2831                                 }
2832                         }
2833                 }
2834                 programs {
2835                         program { name: "show";
2836                                 signal: "elm,state,show";
2837                                 source: "elm";
2838                                 action: STATE_SET "visible" 0.0;
2839                                 transition: LINEAR 0.25;
2840                                 target: "ctxpopup_clip";
2841                         }
2842                         program { name: "show_up";
2843                                 signal: "elm,state,show,up";
2844                                 source: "elm";
2845                                 action: STATE_SET "show_up" 0.0;
2846                                 transition: LINEAR 0.25;
2847                                 target: "ctxpopup_clip";
2848                         }
2849                         program { name: "show_left";
2850                                 signal: "elm,state,show,left";
2851                                 source: "elm";
2852                                 action: STATE_SET "show_left" 0.0;
2853                                 transition: LINEAR 0.25;
2854                                 target: "ctxpopup_clip";
2855                         }
2856                         program { name: "show_right";
2857                                 signal: "elm,state,show,right";
2858                                 source: "elm";
2859                                 action: STATE_SET "show_right" 0.0;
2860                                 transition: LINEAR 0.25;
2861                                 target: "ctxpopup_clip";
2862                         }
2863                         program { name: "show_down";
2864                                 signal: "elm,state,show,down";
2865                                 source: "elm";
2866                                 action: STATE_SET "show_down" 0.0;
2867                                 transition: LINEAR 0.25;
2868                                 target: "ctxpopup_clip";
2869                         }
2870                         program { name: "hide_up";
2871                                 signal: "elm,state,hide,up";
2872                                 source: "elm";
2873                                 action: STATE_SET "hide_up" 0.0;
2874                                 transition: LINEAR 0.25;
2875                                 target: "ctxpopup_clip";
2876                                 after: "hide_finished";
2877                         }
2878                         program { name: "hide_left";
2879                                 signal: "elm,state,hide,left";
2880                                 source: "elm";
2881                                 action: STATE_SET "hide_left" 0.0;
2882                                 transition: LINEAR 0.25;
2883                                 target: "ctxpopup_clip";
2884                                 after: "hide_finished";
2885                         }
2886                         program { name: "hide_right";
2887                                 signal: "elm,state,hide,right";
2888                                 source: "elm";
2889                                 action: STATE_SET "hide_right" 0.0;
2890                                 transition: LINEAR 0.25;
2891                                 target: "ctxpopup_clip";
2892                                 after: "hide_finished";
2893                         }
2894                         program { name: "hide_down";
2895                                 signal: "elm,state,hide,down";
2896                                 source: "elm";
2897                                 action: STATE_SET "hide_down" 0.0;
2898                                 transition: LINEAR 0.25;
2899                                 target: "ctxpopup_clip";
2900                                 after: "hide_finished";
2901                         }
2902                         program { name: "hide_finished";
2903                                 action: SIGNAL_EMIT "elm,action,hide,finished" "";
2904                         }
2905                 }
2906         }
2907 /* End of More ctxpopup*/
2908
2909 }