Initialize Tizen 2.3
[framework/uifw/elementary.git] / data / themes / widgets / popup.edc
1 #define POPUP_ITEM_STATE_ENABLED  0
2 #define POPUP_ITEM_STATE_DISABLED 1
3
4 /*popup widget specific notify style style*/
5 group { name: "elm/notify/block_events/popup";
6    parts {
7       part { name: "block_events";
8          type: RECT;
9          description { state: "default" 0.0;
10             color: 61 59 56 180;
11          }
12       }
13    }
14    programs {
15       program { name: "block_clicked";
16          signal: "mouse,clicked,1";
17          source: "block_events";
18          action: SIGNAL_EMIT "elm,action,click" "elm";
19       }
20    }
21 }
22
23 group { name: "elm/notify/block_events/transparent";
24    parts {
25       part { name: "block_events";
26          type: RECT;
27          description { state: "default" 0.0;
28             color: 0 0 0 0;
29          }
30          description { state: "clicked" 0.0;
31             color: 0 0 0 50;
32          }
33       }
34    }
35    programs {
36       program { name: "block_clicked";
37          signal: "mouse,clicked,1";
38          source: "block_events";
39          action: SIGNAL_EMIT "elm,action,click" "elm";
40          after: "deeper_block_color";
41       }
42       program {
43          name: "deeper_block_color";
44          action: STATE_SET "clicked" 0.0;
45          target: "block_events";
46          transition: LINEAR 0.2;
47          after: "default_block_color";
48       }
49       program {
50          name: "default_block_color";
51          action: STATE_SET "default" 0.0;
52          target: "block_events";
53          transition: LINEAR 0.2;
54       }
55    }
56 }
57
58 group { name: "elm/label/base/popup/default";
59    styles
60      {
61         style { name: "popup_desc_style";
62            base: "font=Sans font_size=10 align=center color=#000000 text_class=label";
63            tag:  "br" "\n";
64            tag:  "ps" "ps";
65            tag:  "whitecolor" "+ color=#ffffff";
66            tag:  "tab" "\t";
67         }
68      }
69    parts {
70       part { name: "left_top_padding";
71          type: RECT;
72          scale: 1;
73          description { state: "default" 0.0;
74             fixed: 1 1;
75             visible: 0;
76             align: 0.0 0.0;
77             min: 10 0;
78             rel2.relative: 0 0;
79          }
80       }
81       part { name: "right_bottom_padding";
82          type: RECT;
83          scale: 1;
84          description { state: "default" 0.0;
85             fixed: 1 1;
86             visible: 0;
87             align: 1.0 1.0;
88             min: 10 0;
89             rel1.relative: 1 1;
90          }
91       }
92       part { name: "elm.text";
93          type: TEXTBLOCK;
94          mouse_events: 0;
95          scale: 1;
96          description { state: "default" 0.0;
97             min: 380 0;
98             text {
99                style: "popup_desc_style";
100                min: 0 1;
101                max: 0 1;
102             }
103             rel1 {
104                relative: 1.0 1.0;
105                to: left_top_padding;
106             }
107             rel2 {
108                relative: 0.0 0.0;
109                to: right_bottom_padding;
110             }
111          }
112       }
113    }
114 }
115
116 group { name: "elm/popup/base/default";
117    styles {
118       style { name: "popup_title_style";
119          base: "font=Sans font_size=15 align=center color=#ffffff wrap=mixed ellipsis=1.0";
120          tag:  "br" "\n";
121          tag:  "tab" "\t";
122       }
123    }
124    parts {
125       part { name: "base";
126          type: RECT;
127          scale : 1;
128          description { state: "default" 0.0;
129             min: 400 0;
130             color: 237 237 237 255;
131             align: 0.0 0.0;
132          }
133       }
134       part { name: "elm.bg.title";
135          type: RECT;
136          scale : 1;
137          description { state: "default" 0.0;
138             min: 400 50;
139             fixed : 1 1;
140             align: 0.5 0.0;
141             visible: 0;
142             color: 172 172 172 255;
143             rel1 {
144                relative: 0.5 0.0;
145                to: "base";
146             }
147             rel2 {
148                relative: 0.5 0.0;
149                to: "base";
150             }
151          }
152          description { state: "visible" 0.0;
153             inherit: "default" 0.0;
154             visible: 1;
155          }
156       }
157       part { name: "left_pad";
158          type: RECT;
159          scale: 1;
160          description { state: "default" 0.0;
161             min: 10 0;
162             max: 10 0;
163             fixed: 1 1;
164             align: 0.0 0.0;
165             visible: 0;
166             rel1.to: "elm.bg.title";
167          }
168       }
169       part { name: "right_pad";
170          type: RECT;
171          scale: 1;
172          description { state: "default" 0.0;
173             min: 10 0;
174             max: 10 0;
175             fixed: 1 1;
176             align: 1.0 1.0;
177             visible: 0;
178             rel2.to: "elm.bg.title";
179          }
180       }
181       part { name: "elm.swallow.title.icon";
182          type: SWALLOW;
183          scale: 1;
184          description { state: "default" 0.0;
185             min: 48 48;
186             max: 48 48;
187             fixed: 1 1;
188             align: 0.0 0.5;
189             rel1 {
190                to: "left_pad";
191                relative: 1.0 0.0;
192             }
193             rel2 {
194                to: "right_pad";
195                relative: 0.0 1.0;
196             }
197             visible: 0;
198          }
199          description { state: "visible" 0.0;
200             inherit: "default" 0.0;
201             visible: 1;
202          }
203       }
204       part { name: "elm.text.title";
205          type: TEXTBLOCK;
206          scale:1;
207          description { state: "default" 0.0;
208             fixed: 1 1;
209             text {
210               style: "popup_title_style";
211               min: 0 0;
212               max: 0 1;
213             }
214             color: 255 255 255 255;
215             visible:0;
216             rel1 {
217                relative: 1.0 0.0;
218                to: "left_pad";
219             }
220             rel2 {
221                relative: 0.0 1.0;
222                to: "right_pad";
223             }
224          }
225          description { state: "visible" 0.0;
226             inherit: "default" 0.0;
227             visible: 1;
228          }
229       }
230       part { name: "elm.swallow.content";
231          type: SWALLOW;
232          scale : 1;
233          description { state: "default" 0.0;
234             min: 400 0;
235             fixed: 1 0;
236             rel1 {
237                relative: 0.5 0.0;
238                to: "base";
239             }
240             rel2 {
241                relative: 0.5 1.0;
242                to: "base";
243             }
244          }
245          description { state: "show_title_area" 0.0;
246             inherit: "default" 0.0;
247             rel1 {
248                relative: 0.5 1.0;
249                to: "elm.bg.title";
250             }
251          }
252          description { state: "show_action_area" 0.0;
253             inherit: "default" 0.0;
254             rel2 {
255                relative: 0.5 0.0;
256                to: "elm.bg.action_area";
257             }
258          }
259          description { state: "show_action_title_area" 0.0;
260             inherit: "default" 0.0;
261             rel1 {
262                relative: 0.5 1.0;
263                to: "elm.bg.title";
264             }
265             rel2 {
266                relative: 0.5 0.0;
267                to: "elm.bg.action_area";
268             }
269          }
270       }
271       part { name: "elm.bg.action_area";
272          type: RECT;
273          scale : 1;
274          description { state: "default" 0.0;
275             min: 400 60;
276             fixed : 1 1;
277             align: 0.5 1.0;
278             visible: 0;
279             color: 183 183 183 255;
280             rel1 {
281                relative: 0.0 1.0;
282                to: "base";
283             }
284             rel2.to: "base";
285          }
286          description { state: "visible" 0.0;
287             inherit: "default" 0.0;
288             visible: 1;
289          }
290       }
291       part { name: "elm.swallow.action_area";
292          type: SWALLOW;
293          scale : 1;
294          description { state: "default" 0.0;
295             align: 0.0 0.0;
296             rel1.to: "elm.bg.action_area";
297             rel2.to: "elm.bg.action_area";
298          }
299       }
300    }
301    programs {
302       program { name: show_title_icon;
303          signal: "elm,state,title,icon,visible";
304          source: "elm";
305          action: STATE_SET "visible" 0.0;
306          target: "elm.swallow.title.icon";
307       }
308       program { name: hide_title_icon;
309          signal: "elm,state,title,icon,hidden";
310          source: "elm";
311          action: STATE_SET "default" 0.0;
312          target: "elm.swallow.title.icon";
313       }
314       program { name: show_title_text;
315          signal: "elm,state,title,text,visible";
316          source: "elm";
317          action: STATE_SET "visible" 0.0;
318          target: "elm.text.title";
319       }
320       program { name: hide_title_text;
321          signal: "elm,state,title,text,hidden";
322          source: "elm";
323          action: STATE_SET "default" 0.0;
324          target: "elm.text.title";
325       }
326       program { name: show_title_area;
327          signal: "elm,state,title_area,visible";
328          source: "elm";
329          script {
330             new st[31];
331             new Float:vl;
332             get_state(PART:"elm.swallow.action_area", st, 30, vl);
333             if (!strcmp(st, "visible"))
334               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
335             else
336               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
337             set_state(PART:"elm.bg.title", "visible", 0.0);
338          }
339       }
340       program { name: hide_title_area;
341          signal: "elm,state,title_area,hidden";
342          source: "elm";
343          action: STATE_SET "default" 0.0;
344          script {
345             new st[31];
346             new Float:vl;
347             get_state(PART:"elm.swallow.action_area", st, 30, vl);
348             if (!strcmp(st, "visible"))
349               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
350             else
351               set_state(PART:"elm.swallow.content", "default", 0.0);
352             set_state(PART:"elm.bg.title", "default", 0.0);
353          }
354       }
355       program { name: show_action_area;
356          signal: "elm,state,action_area,visible";
357          source: "elm";
358          script {
359             new st[31];
360             new Float:vl;
361             get_state(PART:"elm.bg.title", st, 30, vl);
362             if (!strcmp(st, "visible"))
363               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
364             else
365               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
366             set_state(PART:"elm.bg.action_area", "visible", 0.0);
367          }
368       }
369       program { name: hide_action_area;
370          signal: "elm,state,action_area,hidden";
371          source: "elm";
372          action: STATE_SET "default" 0.0;
373          script {
374             new st[31];
375             new Float:vl;
376             get_state(PART:"elm.bg.title", st, 30, vl);
377             if (!strcmp(st, "visible"))
378               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
379             else
380               set_state(PART:"elm.swallow.content", "default", 0.0);
381             set_state(PART:"elm.bg.action_area", "default", 0.0);
382          }
383       }
384    } /* end of programs */
385 }
386
387 group { name: "elm/popup/content/default";
388    parts{
389       part { name: "pad_t";
390          type: RECT;
391          scale : 1;
392          mouse_events: 0;
393          description { state: "default" 0.0;
394             align: 0.5 0.0;
395             min: 0 14;
396             fixed: 0 1;
397             visible: 0;
398             rel1 {
399                relative: 1.0 0.0;
400                to_x: "pad_l";
401             }
402             rel2 {
403                relative: 0.0 0.0;
404                to_x: "pad_r";
405             }
406          }
407       }
408       part { name: "pad_l";
409          type: RECT;
410          scale: 1;
411          description { state: "default" 0.0;
412             min : 10 0;
413             fixed: 1 0;
414             rel2.relative: 0.0 1.0;
415             visible: 0;
416             align: 0.0 0.0;
417          }
418       }
419       part { name: "pad_r";
420          type: RECT;
421          scale: 1;
422          description { state: "default" 0.0;
423             min : 10 0;
424             fixed: 1 0;
425             rel1.relative: 1.0 0.0;
426             visible: 0;
427             align: 1.0 0.0;
428          }
429       }
430       part{ name:"elm.swallow.content";
431          type: SWALLOW;
432          scale : 1;
433          description { state: "default" 0.0;
434             min: 380 0;
435             fixed: 1 0;
436             rel1 {
437                relative: 0.5 1.0;
438                to: "pad_t";
439             }
440             rel2 {
441                relative: 0.5 0.0;
442                to: "pad_b";
443             }
444          }
445       }
446       part { name: "pad_b";
447          type: RECT;
448          scale : 1;
449          mouse_events: 0;
450          description { state: "default" 0.0;
451             align: 0.5 1.0;
452             min: 0 14;
453             fixed: 0 1;
454             visible: 0;
455             rel1 {
456                relative: 0.0 1.0;
457                to_x: "pad_l";
458             }
459             rel2.to_x: "pad_r";
460          }
461       }
462    }
463 }
464
465    group { name: "elm/popup/item/default";
466       script {
467          public item_state = POPUP_ITEM_STATE_ENABLED;
468       }
469       parts {
470          part { name: "event_blocker";
471             type: RECT;
472             description { state: "default" 0.0;
473                min: 380 0;
474             }
475          }
476          part { name: "bg";
477             mouse_events: 0;
478             type: RECT;
479             description { state: "default" 0.0;
480                color: 240 240 240 255;
481                min: 0 71;
482                align: 0.5 0.0;
483             }
484             description { state: "clicked" 0.0;
485                color: 190 170 150 255;
486             }
487          }
488          part { name: "padding_left_top";
489             type: RECT;
490             scale: 1;
491             mouse_events: 0;
492             description { state: "default" 0.0;
493                align: 0.0 0.0;
494                rel2.relative: 0.0 0.0;
495                min: 10 10;
496                fixed: 1 1;
497                visible: 0;
498             }
499          }
500          part { name: "padding_right_bottom";
501             type: RECT;
502             scale: 1;
503             mouse_events: 0;
504             description { state: "default" 0.0;
505                align: 1.0 1.0;
506                rel1.relative: 1.0 1.0;
507                min: 10 10;
508                fixed: 1 1;
509                visible: 0;
510             }
511          }
512          part { name: "separator";
513             mouse_events: 0;
514             type: RECT;
515             scale: 1;
516             description { state: "dafault" 0.0;
517                color: 180 180 180 255;
518                align: 0.5 1.0;
519                min: 0 1;
520                max: 999999 1;
521             }
522          }
523          part { name: "padding_icon_text";
524             type: RECT;
525             scale: 1;
526             mouse_events: 0;
527             description { state: "default" 0.0; //when only icon or no icon is there
528                align: 0.0 0.0;
529                rel1 {
530                   relative: 1.0 0.0;
531                   to: "elm.swallow.content";
532                }
533                rel2.to: "elm.swallow.content";
534                fixed: 1 0;
535                min: 0 0;
536                visible: 0;
537             }
538             description { state: "visible" 0.0; //when icon is visible
539                inherit: "default" 0.0;
540                min: 10 0;
541             }
542             description { state: "icononly" 0.0;
543                inherit: "default" 0.0;
544             }
545          }
546          part { name: "elm.swallow.content";
547             type: SWALLOW;
548             scale: 1;
549             description { state: "default" 0.0;
550                visible: 0;
551                align: 0.0 0.5;
552                rel1 {
553                   relative: 1.0 1.0;
554                   to: "padding_left_top";
555                }
556                rel2 {
557                   relative: 1.0 0.0;
558                   to_x: "padding_left_top";
559                   to_y: "padding_right_bottom";
560                }
561                fixed: 1 0;
562             }
563             description { state: "visible" 0.0;
564                fixed: 1 0;
565                min: 40 40;
566                max: 40 40;
567                align: 0.0 0.5;
568                rel1 {
569                   relative: 1.0 1.0;
570                   to: "padding_left_top";
571                }
572                rel2 {
573                   relative: 1.0 0.0;
574                   to_x: "padding_left_top";
575                   to_y: "padding_right_bottom";
576                }
577                aspect: 1.0 1.0;
578                aspect_preference: VERTICAL;
579             }
580             description { state: "icononly" 0.0;
581                min: 40 40;
582                max: 40 40;
583                rel1 {
584                   relative: 1.0 1.0;
585                   to: "padding_left_top";
586                }
587                rel2 {
588                   relative: 0.0 0.0;
589                   to: "padding_right_bottom";
590                }
591                aspect: 1.0 1.0;
592                aspect_preference: VERTICAL;
593             }
594          }
595          part { name: "elm.text";
596             type: TEXT;
597             mouse_events: 0;
598             scale: 1;
599             description { state: "default" 0.0;
600                visible: 0;
601                rel1 {
602                   relative: 1.0 1.0;
603                   to_x: "padding_icon_text";
604                   to_y: "padding_left_top";
605                }
606                rel2 {
607                   relative: 0.0 0.0;
608                   to:"padding_right_bottom";
609                }
610                align: 0.0 0.5;
611                color: 0 0 0 255;
612                text {
613                   font: "Sans:style=Bold";
614                   size: 20;
615                   min:  0 0;
616                   align: 0.0 0.5;
617                }
618             }
619             description { state: "visible" 0.0;
620                inherit: "default" 0.0;
621                visible: 1;
622                min: 90 40;
623             }
624             description { state: "clicked" 0.0;
625                inherit: "default" 0.0;
626                visible: 1;
627                min: 0 0;
628                color: 255 255 255 255;
629             }
630             description { state: "disabled" 0.0;
631                inherit: "default" 0.0;
632                color: 128 128 128 255;
633             }
634             description { state: "disabled_visible" 0.0;
635                inherit: "default" 0.0;
636                color: 128 128 128 255;
637                visible: 1;
638                min: 90 40;
639             }
640          }
641          part { name: "over1";
642             type: RECT;
643             repeat_events: 1;
644             ignore_flags: ON_HOLD;
645             description { state: "default" 0.0;
646                color: 0 0 0 0;
647             }
648          }
649          part { name: "over2";
650             type: RECT;
651             repeat_events: 1;
652             description { state: "default" 0.0;
653                color: 0 0 0 0;
654             }
655          }
656          part { name: "disclip";
657             type: RECT;
658             description { state: "default" 0.0;
659                visible: 0;
660             }
661             description { state: "disabled" 0.0;
662                color: 87 87 87 128;
663             }
664          }
665       }
666       programs {
667          program { name: "item_unclick";
668             signal: "mouse,up,1";
669             source: "over1";
670             action: SIGNAL_EMIT "elm,action,click" "";
671          }
672          program { name: "disable";
673             signal: "elm,state,item,disabled";
674             source: "elm";
675             action: STATE_SET "disabled" 0.0;
676             target: "disclip";
677             after: "disable_text";
678          }
679          program { name: "enable";
680             signal: "elm,state,item,enabled";
681             source: "elm";
682             action: STATE_SET "default" 0.0;
683             target: "disclip";
684             after: "enable_text";
685          }
686          program { name: "item_click2";
687             signal: "mouse,down,1";
688             source: "over2";
689             script {
690                new st[31];
691                new Float:vl;
692                get_state(PART:"elm.text", st, 30, vl);
693                if (!strcmp(st, "visible"))
694                  set_state(PART:"elm.text", "clicked", 0.0);
695                set_state(PART:"bg", "clicked", 0.0);
696             }
697          }
698          program { name: "item_unclick2";
699             signal: "mouse,up,1";
700             source: "over2";
701             script {
702                new st[31];
703                new Float:vl;
704                get_state(PART:"elm.text", st, 30, vl);
705                if (!strcmp(st, "clicked"))
706                  set_state(PART:"elm.text", "visible", 0.0);
707                set_state(PART:"bg", "default", 0.0);
708             }
709          }
710          program { name: "disable_text";
711             script {
712                new st[31];
713                new Float:vl;
714                get_state(PART:"elm.text", st, 30, vl);
715                if (!strcmp(st, "visible"))
716                  set_state(PART:"elm.text", "disabled_visible", 0.0);
717                else
718                  set_state(PART:"elm.text", "disabled", 0.0);
719                set_int(item_state, POPUP_ITEM_STATE_DISABLED);
720             }
721          }
722          program { name: "enable_text";
723             script {
724                new st[31];
725                new Float:vl;
726                get_state(PART:"elm.text", st, 30, vl);
727                if (!strcmp(st, "disabled_visible"))
728                  set_state(PART:"elm.text", "visible", 0.0);
729                else
730                  set_state(PART:"elm.text", "default", 0.0);
731                set_int(item_state, POPUP_ITEM_STATE_ENABLED);
732             }
733          }
734          program { name: "text_show";
735             signal: "elm,state,item,text,visible";
736             source: "elm";
737             script {
738                new st[31];
739                new Float:vl;
740                get_state(PART:"elm.swallow.content", st, 30, vl);
741                if (!strcmp(st, "icononly")) {
742                   set_state(PART:"elm.swallow.content", "visible", 0.0);
743                   set_state(PART:"padding_icon_text", "visible", 0.0);
744                }
745                if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
746                  set_state(PART:"elm.text", "visible", 0.0);
747                else
748                  set_state(PART:"elm.text", "disabled_visible", 0.0);
749             }
750          }
751          program { name: "text_hide";
752             signal: "elm,state,item,text,hidden";
753             source: "elm";
754             script {
755                new st[31];
756                new Float:vl;
757                get_state(PART:"elm.swallow.content", st, 30, vl);
758                if (!strcmp(st, "visible")) {
759                   set_state(PART:"elm.swallow.content", "icononly", 0.0);
760                   set_state(PART:"padding_icon_text", "icononly", 0.0);
761                }
762                set_state(PART:"elm.text", "default", 0.0);
763             }
764          }
765          program { name: "icon_show";
766             signal: "elm,state,item,icon,visible";
767             source: "elm";
768             script {
769                new st[31];
770                new Float:vl;
771                get_state(PART:"elm.text", st, 30, vl);
772                if (!strcmp(st, "visible")) {
773                   set_state(PART:"elm.swallow.content", "visible", 0.0);
774                   set_state(PART:"padding_icon_text", "visible", 0.0);
775                }
776                else {
777                   set_state(PART:"elm.swallow.content", "icononly", 0.0);
778                   set_state(PART:"padding_icon_text", "icononly", 0.0);
779                }
780             }
781          }
782          program { name: "icon_hide";
783             signal: "elm,state,item,icon,hidden";
784             source: "elm";
785             action:  STATE_SET "default" 0.0;
786             target: "elm.swallow.content";
787          }
788       }
789    }
790
791 group { name: "elm/popup/buttons1/default";
792    data.item: "action_area_height" "140";
793    parts{
794       part{ name:"actionbtn1";
795          type: SWALLOW;
796          scale : 1;
797          description { state: "default" 0.0;
798             min: 252 46;
799             max: 252 46;
800             fixed : 1 1;
801             rel1.relative: 0.5 0.0;
802             rel2.relative: 0.5 1.0;
803          }
804       }
805    }
806 }
807
808 group { name: "elm/popup/buttons2/default";
809    data.item: "action_area_height" "140";
810    parts{
811       part{ name:"actionbtn1";
812          type: SWALLOW;
813          scale : 1;
814          description { state: "default" 0.0;
815             min: 172 46;
816             max: 172 46;
817             fixed : 1 1;
818             align: 1.0 0.5;
819             rel1.to: "elm.rect.pad_btn";
820             rel2 {
821                relative: 0.0 1.0;
822                to: "elm.rect.pad_btn";
823             }
824          }
825       }
826       part { name: "elm.rect.pad_btn";
827          type: RECT;
828          scale : 1;
829          description { state: "default" 0.0;
830             min: 6 46;
831             max: 6 46;
832             fixed : 1 1;
833             visible: 0;
834             rel1.relative: 0.5 0.0;
835             rel2.relative: 0.5 1.0;
836          }
837       }
838       part{ name:"actionbtn2";
839          type: SWALLOW;
840          scale : 1;
841          description { state: "default" 0.0;
842             min: 172 46;
843             max: 172 46;
844             fixed : 1 1;
845             align: 0.0 0.5;
846             rel1 {
847                relative: 1.0 0.0;
848                to: "elm.rect.pad_btn";
849             }
850             rel2.to: "elm.rect.pad_btn";
851          }
852       }
853    }
854 }
855
856 group { name: "elm/popup/buttons3/default";
857    data.item: "action_area_height" "140";
858    parts{
859       part{ name:"actionbtn1";
860          type: SWALLOW;
861          scale : 1;
862          description { state: "default" 0.0;
863             min: 120 46;
864             max: 120 46;
865             fixed : 1 1;
866             align: 1.0 0.5;
867             rel1.to: "elm.rect.pad_btn";
868             rel2 {
869                relative: 0.0 1.0;
870                to: "elm.rect.pad_btn";
871             }
872          }
873       }
874       part { name: "elm.rect.pad_btn";
875          type: RECT;
876          scale : 1;
877          description { state: "default" 0.0;
878             min: 6 46;
879             max: 6 46;
880             fixed : 1 1;
881             visible: 0;
882             rel1.to: "actionbtn2";
883             rel2 {
884                relative: 0.0 1.0;
885                to: "actionbtn2";
886             }
887          }
888       }
889       part{ name:"actionbtn2";
890          type: SWALLOW;
891          scale : 1;
892          description { state: "default" 0.0;
893             min: 120 46;
894             max: 120 46;
895             fixed : 1 1;
896             rel1.relative: 0.5 0.0;
897             rel2.relative: 0.5 1.0;
898          }
899       }
900       part { name: "elm.rect.pad_btn2";
901          type: RECT;
902          scale : 1;
903          description { state: "default" 0.0;
904             min: 6 46;
905             max: 6 46;
906             fixed : 1 1;
907             visible: 0;
908             rel1 {
909                relative: 1.0 0.0;
910                to: "actionbtn2";
911             }
912             rel2.to: "actionbtn2";
913          }
914       }
915       part{ name:"actionbtn3";
916          type: SWALLOW;
917          scale : 1;
918          description { state: "default" 0.0;
919             min: 120 46;
920             max: 120 46;
921             fixed : 1 1;
922             align: 0.0 0.5;
923             rel1 {
924                relative: 1.0 0.0;
925                to: "elm.rect.pad_btn2";
926             }
927             rel2.to: "elm.rect.pad_btn2";
928          }
929       }
930    }
931 }
932
933 #undef POPUP_ITEM_STATE_ENABLED
934 #undef POPUP_ITEM_STATE_DISABLED