[popup] Added alias for menu and liststyles.
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / popup.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19
20 #define POPUP_ITEM_STATE_ENABLED  0
21 #define POPUP_ITEM_STATE_DISABLED 1
22
23 sounds {
24    sample { name: "touch_sound" RAW;
25       source: "button-pressed.wav";
26    }
27 }
28
29 /*popup widget specific notify style style*/
30 group { name: "elm/notify/center/popup";
31    alias: "elm/notify/center/verticalbuttonstyle";
32    alias: "elm/notify/center/menustyle";
33    alias: "elm/notify/center/min_menustyle";
34    alias: "elm/notify/center/liststyle";
35    alias: "elm/notify/center/min_liststyle";
36    alias: "elm/notify/center/customstyle";
37    alias: "elm/notify/center/volumebarstyle";
38    alias: "elm/notify/center/volumebarstyle_text";
39    alias: "elm/notify/center/content_expand";
40    parts {
41       part { name: "base";
42          type: RECT;
43          scale: 1;
44          description { state: "default" 0.0;
45             color: 0 0 0 0;
46             rel1.relative: 0.0 0.0;
47             rel2.relative: 1.0 1.0;
48          }
49       }
50       part { name: "persp";
51         type: RECT;
52         description { state: "default" 0.0;
53            min: 32 32;
54            max: 32 32;
55            align: 0.5 0.5;
56            color: 0 0 0 0;
57            visible: 1;
58            perspective {
59               zplane: -200;
60               focal: 1000;
61            }
62         }
63      }
64      part { name: "persp1";
65         type: RECT;
66         description { state: "default" 0.0;
67            min: 32 32;
68            max: 32 32;
69            align: 0.5 0.5;
70            visible: 1;
71            color: 0 0 0 0;
72            perspective {
73               zplane: 0;
74               focal: 1000;
75            }
76         }
77      }
78      part { name: "elm.swallow.content";
79         type: SWALLOW;
80         scale: 1;
81         clip_to: "clipper";
82         description { state: "default" 0.0;
83            rel1.to: "base";
84            rel2.to: "base";
85            map {
86               on: 1;
87               backface_cull: 1;
88               perspective: "persp";
89               smooth: 0;
90            }
91         }
92         description { state: "visible" 0.0;
93            rel1.to: "base";
94            rel2.to: "base";
95            map {
96               on: 1;
97               backface_cull: 1;
98               perspective: "persp1";
99               smooth: 0;
100            }
101         }
102         description { state: "end" 0.0;
103            rel1.to: "base";
104            rel2.to: "base";
105            map {
106               on: 0;
107               smooth: 0;
108            }
109         }
110      }
111      part { name: "clipper";
112         type: RECT;
113         scale: 1;
114         description { state: "default" 0.0;
115            min: 1280 1280;
116            max: 1280 1280;
117            fixed: 1 1;
118            rel1.to: "base";
119            rel2.to: "base";
120            color: 255 255 255 0;
121         }
122         description { state: "visible" 0.0;
123            inherit: "default";
124            color: 255 255 255 255;
125         }
126         description { state: "end" 0.0;
127            inherit: "default";
128            color: 255 255 255 255;
129         }
130      }
131    }
132    programs {
133        program { name: "show";
134            signal: "elm,action,show";
135            source: "elm";
136            action: STATE_SET "default" 0.0;
137            target: "elm.swallow.content";
138        }
139        program { name: "show_1";
140             signal: "show";
141             action: STATE_SET "default" 0.0;
142             target: "elm.swallow.content";
143             target: "clipper";
144             after: "end";
145             after: "end1";
146        }
147        program { name: "end";
148            action: STATE_SET "visible" 0.0;
149            target: "elm.swallow.content";
150            transition: SIN_FAC 0.33 1.4;
151            after: "end2";
152        }
153        program { name: "end1";
154            action: STATE_SET "visible" 0.0;
155            target: "clipper";
156            transition: SIN_FAC 0.33 0.5;
157            after: "end3";
158        }
159        program { name: "end3";
160            action: STATE_SET "end" 0.0;
161            target: "clipper";
162        }
163        program { name: "end2";
164            action: STATE_SET "end" 0.0;
165            target: "elm.swallow.content";
166        }
167        program { name: "hide";
168            signal: "elm,action,hide";
169            source: "elm";
170            action: STATE_SET "default" 0.0;
171            target: "elm.swallow.content";
172        }
173    }
174 }
175
176 group { name: "elm/notify/center/transparent";
177    inherit: "elm/notify/center/popup";
178    alias: "elm/notify/center/verticalbuttonstyle_transparent";
179    alias: "elm/notify/center/menustyle_transparent";
180    alias: "elm/notify/center/min_menustyle_transparent";
181    alias: "elm/notify/center/liststyle_transparent";
182    alias: "elm/notify/center/min_liststyle_transparent";
183    alias: "elm/notify/center/customstyle_transparent";
184    alias: "elm/notify/center/volumebarstyle_transparent";
185    alias: "elm/notify/center/volumebarstyle_text_transparent";
186    alias: "elm/notify/center/content_expand_transparent";
187    parts {
188       part { name: "elm.swallow.content";
189          type: SWALLOW;
190          scale: 1;
191          description { state: "default" 0.0;
192             map.on: 0;
193          }
194          description { state: "visible" 0.0;
195             map.on: 0;
196          }
197          description { state: "end" 0.0;
198             map.on: 0;
199          }
200       }
201    }
202 }
203
204 group { name: "elm/notify/block_events/popup";
205    alias: "elm/notify/block_events/verticalbuttonstyle";
206    alias: "elm/notify/block_events/menustyle";
207    alias: "elm/notify/block_events/min_menustyle";
208    alias: "elm/notify/block_events/liststyle";
209    alias: "elm/notify/block_events/min_liststyle";
210    alias: "elm/notify/block_events/customstyle";
211    alias: "elm/notify/block_events/volumebarstyle";
212    alias: "elm/notify/block_events/volumebarstyle_text";
213    alias: "elm/notify/block_events/content_expand";
214    images {
215       image: "00_popup_dim_lighting.png" COMP;
216    }
217    parts {
218       part { name: "block_events";
219          type: IMAGE;
220          scale: 1;
221          description { state: "default" 0.0;
222             image.normal: "00_popup_dim_lighting.png";
223             fill.smooth: 0;
224          }
225          description { state: "show" 0.0;
226             inherit: "default" 0.0;
227          }
228          description { state: "clicked" 0.0;
229             inherit: "default" 0.0;
230          }
231       }
232       part { name: "block_events_color";
233          type: RECT;
234          scale: 1;
235          description { state: "default" 0.0;
236             color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
237          }
238          description { state: "show" 0.0;
239             inherit: "default" 0.0;
240             color: POPUP_DIM_BG_COLOR_INC;
241          }
242          description { state: "clicked" 0.0;
243             inherit: "default" 0.0;
244             color: POPUP_DIM_BG_COLOR_INC;
245          }
246       }
247    }
248    programs {
249        program { name: "show";
250            signal: "elm,action,show";
251            source: "elm";
252            action: STATE_SET "default" 0.0;
253            target: "block_events";
254            target: "block_events_color";
255        }
256       program { name: "show1";
257          signal: "show";
258          action: STATE_SET "show" 0.0;
259          transition: SIN_FAC 0.33 0.5;
260          target: "block_events";
261          target: "block_events_color";
262       }
263       program { name: "block_clicked";
264          signal: "mouse,clicked,1";
265          source: "block_events_color";
266          action: SIGNAL_EMIT "elm,action,click" "elm";
267          after: "deeper_block_color";
268       }
269       program {
270          name: "deeper_block_color";
271          action: STATE_SET "clicked" 0.0;
272          target: "block_events";
273          source: "block_events_color";
274          transition: LINEAR 0.2;
275          after: "default_block_color";
276       }
277       program {
278          name: "default_block_color";
279          action: STATE_SET "show" 0.0;
280          target: "block_events";
281          target: "block_events_color";
282          transition: LINEAR 0.2;
283       }
284    }
285 }
286
287 group { name: "elm/notify/block_events/transparent";
288    alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
289    alias: "elm/notify/block_events/menustyle_transparent";
290    alias: "elm/notify/block_events/min_menustyle_transparent";
291    alias: "elm/notify/block_events/liststyle_transparent";
292    alias: "elm/notify/block_events/min_liststyle_transparent";
293    alias: "elm/notify/block_events/customstyle_transparent";
294    alias: "elm/notify/block_events/volumebarstyle_transparent";
295    alias: "elm/notify/block_events/volumebarstyle_text_transparent";
296    alias: "elm/notify/block_events/content_expand_transparent";
297    parts {
298       part { name: "block_events";
299          type: RECT;
300          description { state: "default" 0.0;
301             color: POPUP_DIM_BG_TRANS_COLOR_INC;
302          }
303          description { state: "clicked" 0.0;
304             color: POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC;
305          }
306       }
307    }
308    programs {
309       program { name: "block_clicked";
310          signal: "mouse,clicked,1";
311          source: "block_events";
312          action: SIGNAL_EMIT "elm,action,click" "elm";
313          after: "deeper_block_color";
314       }
315       program {
316          name: "deeper_block_color";
317          action: STATE_SET "clicked" 0.0;
318          target: "block_events";
319          transition: LINEAR 0.2;
320          after: "default_block_color";
321       }
322       program {
323          name: "default_block_color";
324          action: STATE_SET "default" 0.0;
325          target: "block_events";
326          transition: LINEAR 0.2;
327       }
328    }
329 }
330
331 group { name: "elm/label/base/popup/default";
332    alias: "elm/label/base/popup/content_expand";
333    alias: "elm/label/base/popup/transparent";
334    styles {
335       style { name: "popup_desc_style";
336          base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" text_class=slp wrap=mixed ellipsis=1";
337          tag: "br" "\n";
338          tag: "ps" "ps";
339          tag: "whitecolor" "+ color=#ffffff";
340          tag: "tab" "\t";
341       }
342    }
343    parts {
344       part { name: "elm.text";
345          type: TEXTBLOCK;
346          mouse_events: 0;
347          scale: 1;
348          description { state: "default" 0.0;
349             min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
350             max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
351             text {
352                style: "popup_desc_style";
353                min: 0 0;
354             }
355          }
356       }
357    }
358 }
359
360 group { name: "elm/popup/base/default";
361    alias: "elm/popup/base/transparent";
362    alias: "elm/popup/base/verticalbuttonstyle";
363    alias: "elm/popup/base/verticalbuttonstyle_transparent";
364    alias: "elm/popup/base/customstyle";
365    alias: "elm/popup/base/customstyle_transparent";
366    alias: "elm/popup/base/liststyle";
367    alias: "elm/popup/base/menustyle";
368    images {
369       image: "00_popup_bg.png" COMP;
370    }
371    styles {
372       style { name: "popup_title_style";
373          base: "font=Tizen:style=Medium align=left font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" color="POPUP_DEFAULT_TITLE_TEXT_COLOR_INC" style="POPUP_DEFAULT_TITLE_TEXT_SHADOW_STYLE" shadow_color="POPUP_DEFAULT_TITLE_TEXT_SHADOW_COLOR" wrap=mixed ellipsis=1.0 text_class=tizen";
374          tag:  "br" "\n";
375          tag:  "tab" "\t";
376       }
377    }
378    parts {
379       part {
380          name:"shadow_left_top_padding";
381          type: SPACER;
382          scale: 1;
383          description { state: "default" 0.0;
384             min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
385             max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
386             align: 0 0;
387             fixed: 1 1;
388          }
389       }
390       part {
391          name:"shadow_right_bottom_padding";
392          type: SPACER;
393          scale: 1;
394          description { state: "default" 0.0;
395             min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
396             max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
397             align: 1 1;
398             fixed: 1 1;
399          }
400       }
401       part { name: "base";
402          type: IMAGE;
403          scale: 1;
404          description { state: "default" 0.0;
405             min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
406             max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
407             image {
408                normal: "00_popup_bg.png";
409                border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
410                border_scale: 1;
411             }
412             fill.smooth: 0;
413             align: 0.5 0.5;
414          }
415          description { state: "landscape" 0.0;
416             inherit: "default" 0.0;
417             min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
418             max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
419          }
420       }
421       part { name: "elm.bg.title";
422          type: SPACER;
423          scale: 1;
424          description { state: "default" 0.0;
425             min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
426             max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
427             fixed: 1 1;
428             align: 0.5 0.0;
429             rel1 {
430                relative: 0.5 1.0;
431                to_y: "shadow_left_top_padding";
432             }
433             rel2 {
434                relative: 0.5 1.0;
435                to_y: "shadow_left_top_padding";
436             }
437          }
438          description { state: "visible" 0.0;
439             inherit: "default" 0.0;
440          }
441          description { state: "landscape" 0.0;
442             inherit: "default" 0.0;
443             min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
444             max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
445          }
446          description { state: "landscape_visible" 0.0;
447             inherit: "landscape" 0.0;
448          }
449       }
450       part { name: "action_top_padding";
451          type: SPACER;
452          scale: 1;
453          description { state: "default" 0.0;
454             min: 0 POPUP_ACTION_DESC_TOP_PADDING;
455             max: 0 POPUP_ACTION_DESC_TOP_PADDING;
456             fixed: 1 1;
457             align: 0.5 0.0;
458             rel1 {
459                relative: 0.5 1.0;
460                to_y: "shadow_left_top_padding";
461             }
462             rel2 {
463                relative: 0.5 1.0;
464                to_y: "shadow_left_top_padding";
465             }
466          }
467       }
468       part { name: "label_top_padding";
469          type: SPACER;
470          scale: 1;
471          description { state: "default" 0.0;
472             min: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
473             max: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
474             fixed: 1 1;
475             align: 0.5 0.0;
476             rel1 {
477                relative: 0.5 1.0;
478                to_y: "shadow_left_top_padding";
479             }
480             rel2 {
481                relative: 0.5 1.0;
482                to_y: "shadow_left_top_padding";
483             }
484          }
485       }
486       part { name: "label_bottom_padding";
487          type: SPACER;
488          scale: 1;
489          description { state: "default" 0.0;
490             min: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
491             max: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
492             fixed: 1 1;
493             align: 0.5 1.0;
494             rel1 {
495                relative: 0.5 0.0;
496                to_y: "shadow_right_bottom_padding";
497             }
498             rel2 {
499                relative: 0.5 0.0;
500                to_y: "shadow_right_bottom_padding";
501             }
502          }
503       }
504       part { name: "title_left_top_padding";
505          type: SPACER;
506          scale: 1;
507          description { state: "default" 0.0;
508             align: 0.0 0.0;
509             rel1.to: "elm.bg.title";
510             fixed: 1 1;
511             min: 0 POPUP_TITLE_TOP_PADDING;
512             max: 0 POPUP_TITLE_TOP_PADDING;
513          }
514       }
515       part { name: "title_right_bottom_padding";
516          type: SPACER;
517          scale: 1;
518          description { state: "default" 0.0;
519             align: 1.0 1.0;
520             rel2.to: "elm.bg.title";
521             fixed: 1 1;
522             min: 0 POPUP_TITLE_BOTTOM_PADDING;
523             max: 0 POPUP_TITLE_BOTTOM_PADDING;
524          }
525       }
526       part { name: "icon_rect";
527          type: SPACER;
528          scale: 1;
529          description { state: "default" 0.0;
530             min: 0 0;
531             fixed: 1 1;
532             rel1 {
533                relative: 1.0 1.0;
534                to: "title_left_top_padding";
535             }
536             rel2 {
537                relative: 1.0 1.0;
538                to_x: "title_left_top_padding";
539                to_y: "elm.bg.title";
540             }
541             align: 0.0 0.5;
542          }
543          description { state: "visible" 0.0;
544             inherit: "default" 0.0;
545             min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
546             max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
547          }
548       }
549       part { name: "padding_after_icon";
550          type: SPACER;
551          scale: 1;
552          description { state: "default" 0.0;
553             min: 0 0;
554             fixed: 1 1;
555             rel1 {
556                relative: 1.0 0.0;
557                to: "icon_rect";
558             }
559             rel2 {
560                relative: 1.0 0.0;
561                to: "icon_rect";
562             }
563          }
564          description { state: "visible" 0.0;
565             inherit: "default" 0.0;
566             min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
567          }
568       }
569       part { name: "elm.swallow.title.icon";
570          type: SWALLOW;
571          scale: 1;
572          description { state: "default" 0.0;
573             rel1.to: "icon_rect";
574             rel2.to: "icon_rect";
575          }
576       }
577       part { name: "elm.text.title";
578          type: TEXTBLOCK;
579          scale:1;
580          description { state: "default" 0.0;
581             fixed: 1 1;
582             text {
583               style: "popup_title_style";
584               size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
585               size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
586               fit: 1 0;
587               min: 0 1;
588               align: 0.0 0.0;
589             }
590             rel1 {
591                relative: 1.0 0.0;
592                to: "padding_after_icon";
593             }
594             rel2 {
595                relative: 0.0 1.0;
596                to: "title_right_bottom_padding";
597             }
598             align: 0.0 0.5;
599          }
600       }
601       part { name: "access.title";
602          type: RECT;
603          repeat_events: 1;
604          description { state: "default" 0.0;
605             fixed: 1 1;
606             rel1.to: "elm.bg.title";
607             rel2.to:"elm.bg.title";
608             color: 0 0 0 0;
609          }
610       }
611       part { name: "elm.swallow.content";
612          type: SWALLOW;
613          scale: 1;
614          description { state: "default" 0.0;
615             min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
616             max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
617             fixed: 1 0;
618             rel1 {
619                relative: 0.0 1.0;
620                to_x: "base";
621                to_y: "label_top_padding";
622             }
623             rel2 {
624                relative: 1.0 0.0;
625                to_x: "base";
626                to_y: "label_bottom_padding";
627             }
628          }
629          description { state: "show_title_area" 0.0;
630             inherit: "default" 0.0;
631             rel1 {
632                relative: 0.0 1.0;
633                to_x: "base";
634                to_y: "elm.bg.title";
635             }
636             rel2 {
637                relative: 1.0 0.0;
638                to_x: "base";
639                to_y: "shadow_right_bottom_padding";
640             }
641          }
642          description { state: "show_action_area" 0.0;
643             inherit: "default" 0.0;
644             rel1 {
645                relative: 0.0 1.0;
646                to_x: "base";
647                to_y: "action_top_padding";
648             }
649             rel2 {
650                relative: 1.0 0.0;
651                to_x: "base";
652                to_y: "elm.swallow.action_area";
653             }
654          }
655          description { state: "show_action_title_area" 0.0;
656             inherit: "default" 0.0;
657             rel1 {
658                relative: 0.0 1.0;
659                to_x: "base";
660                to_y: "elm.bg.title";
661             }
662             rel2 {
663                relative: 1.0 0.0;
664                to_x: "base";
665                to_y: "elm.swallow.action_area";
666             }
667          }
668       }
669       part { name: "access.body";
670          type: RECT;
671          repeat_events: 1;
672          description { state: "default" 0.0;
673             fixed: 1 1;
674             rel1.to: "elm.swallow.content";
675             rel2.to: "elm.swallow.content";
676             color: 0 0 0 0;
677          }
678       }
679       part { name: "elm.swallow.action_area";
680          type: SWALLOW;;
681          scale: 1;
682          description { state: "default" 0.0;
683             min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
684             fixed: 1 1;
685             align: 0.5 1.0;
686             visible: 0;
687             rel1 {
688                relative: 0.0 0.0;
689                to_x: "base";
690                to_y: "shadow_right_bottom_padding";
691             }
692             rel2 {
693                relative: 1.0 0.0;
694                to_x: "base";
695                to_y: "shadow_right_bottom_padding";
696             }
697          }
698          description { state: "visible" 0.0;
699             inherit: "default" 0.0;
700             visible: 1;
701          }
702       }
703    }
704    programs {
705       program { name: show_title_icon;
706          signal: "elm,state,title,icon,visible";
707          source: "elm";
708          action: STATE_SET "visible" 0.0;
709          target: "icon_rect";
710          target: "padding_after_icon";
711       }
712       program { name: hide_title_icon;
713          signal: "elm,state,title,icon,hidden";
714          source: "elm";
715          action: STATE_SET "default" 0.0;
716          target: "padding_after_icon";
717          target: "icon_rect";
718       }
719       program { name: show_title_area;
720          signal: "elm,state,title_area,visible";
721          source: "elm";
722          script {
723             new st[31];
724             new Float:vl;
725             get_state(PART:"elm.swallow.action_area", st, 30, vl);
726             if (!strcmp(st, "visible"))
727               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
728             else
729               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
730             get_state(PART:"base", st, 30, vl);
731             if (!strcmp(st, "landscape"))
732               set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
733             else
734               set_state(PART:"elm.bg.title", "visible", 0.0);
735          }
736       }
737       program { name: hide_title_area;
738          signal: "elm,state,title_area,hidden";
739          source: "elm";
740          action: STATE_SET "default" 0.0;
741          script {
742             new st[31];
743             new Float:vl;
744             get_state(PART:"elm.swallow.action_area", st, 30, vl);
745             if (!strcmp(st, "visible"))
746               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
747             else
748               set_state(PART:"elm.swallow.content", "default", 0.0);
749             get_state(PART:"base", st, 30, vl);
750             if (!strcmp(st, "landscape"))
751               set_state(PART:"elm.bg.title", "landscape", 0.0);
752             else
753               set_state(PART:"elm.bg.title", "default", 0.0);
754          }
755       }
756       program { name: show_action_area;
757          signal: "elm,state,action_area,visible";
758          source: "elm";
759          script {
760             new st[31];
761             new Float:vl;
762             get_state(PART:"elm.bg.title", st, 30, vl);
763             if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
764               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
765             else
766               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
767             set_state(PART:"elm.swallow.action_area", "visible", 0.0);
768          }
769       }
770       program { name: hide_action_area;
771          signal: "elm,state,action_area,hidden";
772          source: "elm";
773          action: STATE_SET "default" 0.0;
774          script {
775             new st[31];
776             new Float:vl;
777             get_state(PART:"elm.bg.title", st, 30, vl);
778             if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
779               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
780             else
781               set_state(PART:"elm.swallow.content", "default", 0.0);
782             set_state(PART:"elm.swallow.action_area", "default", 0.0);
783          }
784       }
785       program { name: "change_to_landscape";
786          signal: "elm,state,landscape";
787          source: "elm";
788          action: STATE_SET "landscape" 0.0;
789          target: "base";
790          target: "elm.bg.title";
791          after: "orientation_change";
792       }
793       program { name: "orientation_change";
794          action: SIGNAL_EMIT "elm,state,orientation,changed" "";
795       }
796       program { name: "change_to_portrait";
797          signal: "elm,state,portrait";
798          source: "elm";
799          action: STATE_SET "default" 0.0;
800          target: "base";
801          target: "elm.bg.title";
802          after: "orientation_change";
803       }
804       program { name: "landscape_mode";
805          source: "elm";
806          signal: "elm,state,orient,90";
807          action: SIGNAL_EMIT "elm,state,landscape" "elm";
808       }
809       program { name: "landscape_mode2";
810          source: "elm";
811          signal: "elm,state,orient,270";
812          action: SIGNAL_EMIT "elm,state,landscape" "elm";
813       }
814       program { name: "portrait_mode";
815          source: "elm";
816          signal: "elm,state,orient,0";
817          action: SIGNAL_EMIT "elm,state,portrait" "elm";
818       }
819       program { name: "portrait_mode2";
820           source: "elm";
821           signal: "elm,state,orient,180";
822           action: SIGNAL_EMIT "elm,state,portrait" "elm";
823       }
824    } /* end of programs */
825 }
826
827 group { name: "elm/popup/base/content_no_vhpad";
828    inherit: "elm/popup/base/default";
829    alias: "elm/popup/base/min_menustyle";
830    parts {
831       part { name: "label_top_padding";
832          type: SPACER;
833          scale: 1;
834          description { state: "default" 0.0;
835             min: 0 0;
836             max: 0 0;
837             fixed: 1 1;
838             align: 0.5 0.0;
839             rel1 {
840                relative: 0.5 1.0;
841                to_y: "shadow_left_top_padding";
842             }
843             rel2 {
844                relative: 0.5 1.0;
845                to_y: "shadow_left_top_padding";
846             }
847          }
848       }
849       part { name: "label_bottom_padding";
850          type: SPACER;
851          scale: 1;
852          description { state: "default" 0.0;
853             min: 0 0;
854             max: 0 0;
855             fixed: 1 1;
856             align: 0.5 1.0;
857             rel1 {
858                relative: 0.5 0.0;
859                to_y: "shadow_right_bottom_padding";
860             }
861             rel2 {
862                relative: 0.5 0.0;
863                to_y: "shadow_right_bottom_padding";
864             }
865          }
866       }
867    }
868 }
869
870 group { name: "elm/popup/content/default";
871    alias: "elm/popup/content/transparent";
872    alias: "elm/popup/content/customstyle";
873    alias: "elm/popup/content/customstyle_transparent";
874    parts{
875       part { name: "pad_t";
876          type: SPACER;
877          scale: 1;
878          mouse_events: 0;
879          description { state: "default" 0.0;
880             align: 0.5 0.0;
881             min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
882             max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
883             fixed: 0 1;
884             rel1 {
885                relative: 1.0 0.0;
886                to_x: "pad_l";
887             }
888             rel2 {
889                relative: 0.0 0.0;
890                to_x: "pad_r";
891             }
892          }
893       }
894       part { name: "pad_l";
895          type: SPACER;
896          scale: 1;
897          description { state: "default" 0.0;
898             min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
899             max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
900             fixed: 1 0;
901             rel2.relative: 0.0 1.0;
902             align: 0.0 0.0;
903          }
904       }
905       part { name: "pad_r";
906          type: SPACER;
907          scale: 1;
908          description { state: "default" 0.0;
909             min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
910             max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
911             fixed: 1 0;
912             rel1.relative: 1.0 0.0;
913             align: 1.0 0.0;
914          }
915       }
916       part { name:"elm.swallow.content";
917          type: SWALLOW;
918          scale: 1;
919          description { state: "default" 0.0;
920             fixed: 1 0;
921             rel1 {
922                relative: 1.0 1.0;
923                to_x: "pad_l";
924                to_y: "pad_t";
925             }
926             rel2 {
927                relative: 0.0 0.0;
928                to_x: "pad_r";
929                to_y: "pad_b";
930             }
931          }
932       }
933       part { name: "pad_b";
934          type: SPACER;
935          scale: 1;
936          description { state: "default" 0.0;
937             align: 0.5 1.0;
938             min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
939             max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
940             fixed: 0 1;
941             rel1 {
942                relative: 0.0 1.0;
943                to_x: "pad_l";
944             }
945             rel2.to_x: "pad_r";
946          }
947       }
948    }
949 }
950
951 group { name: "elm/popup/content/content_no_vhpad";
952    parts {
953       part { name:"elm.swallow.content";
954          type: SWALLOW;
955          scale: 1;
956          description { state: "default" 0.0;
957             fixed: 1 0;
958          }
959       }
960    }
961 }
962
963 ///////////////////////////////////////////////////////////////////////////////
964
965 group { name: "elm/popup/item/default";
966    alias: "elm/popup/item/min_menustyle";
967    script {
968       public item_state = POPUP_ITEM_STATE_ENABLED;
969    }
970    parts {
971       part { name: "event_blocker";
972          type: RECT;
973          description { state: "default" 0.0;
974             color: 0 0 0 0;
975          }
976       }
977       part { name: "bg";
978          type: RECT;
979          mouse_events: 0;
980          scale: 1;
981          description { state: "default" 0.0;
982             color: GENLIST_LIST_BG_COLOR;
983             min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
984             align: 0.5 0.0;
985          }
986          description { state: "clicked" 0.0;
987             color: GENLIST_LIST_PRESS_COLOR;
988          }
989       }
990       part { name: "padding_left_top";
991          type: SPACER;
992          scale: 1;
993          description { state: "default" 0.0;
994             align: 0.0 0.0;
995             rel2.relative: 0.0 0.0;
996             min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
997             fixed: 1 1;
998          }
999       }
1000       part { name: "padding_right_bottom";
1001          type: SPACER;
1002          scale: 1;
1003          description { state: "default" 0.0;
1004             align: 1.0 1.0;
1005             rel1.relative: 1.0 1.0;
1006             min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1007             fixed: 1 1;
1008          }
1009       }
1010       part { name: "separator";
1011          mouse_events: 0;
1012          type: RECT;
1013          scale: 1;
1014          description { state: "dafault" 0.0;
1015             color: GENLIST_LIST_LINE1_COLOR;
1016             align: 0.5 1.0;
1017             min: 0 1;
1018             max: 999999 1;
1019          }
1020       }
1021       part { name: "padding_icon_text";
1022          type: SPACER;
1023          scale: 1;
1024          description { state: "default" 0.0; //when only icon or no icon is there
1025             align: 0.0 0.0;
1026             rel1 {
1027                relative: 1.0 0.0;
1028                to: "elm.swallow.content";
1029             }
1030             rel2.to: "elm.swallow.content";
1031             fixed: 1 0;
1032             min: 0 0;
1033          }
1034          description { state: "visible" 0.0; //when icon is visible
1035             inherit: "default" 0.0;
1036             min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1037          }
1038          description { state: "icononly" 0.0;
1039             inherit: "default" 0.0;
1040          }
1041       }
1042       part { name: "elm.swallow.content";
1043          type: SWALLOW;
1044          scale: 1;
1045          description { state: "default" 0.0;
1046             visible: 0;
1047             align: 0.0 0.5;
1048             rel1 {
1049                relative: 1.0 1.0;
1050                to: "padding_left_top";
1051             }
1052             rel2 {
1053                relative: 1.0 0.0;
1054                to_x: "padding_left_top";
1055                to_y: "padding_right_bottom";
1056             }
1057             fixed: 1 0;
1058          }
1059          description { state: "visible" 0.0;
1060             fixed: 1 0;
1061             min: 40 40;
1062             max: 40 40;
1063             align: 0.0 0.5;
1064             rel1 {
1065                relative: 1.0 1.0;
1066                to: "padding_left_top";
1067             }
1068             rel2 {
1069                relative: 1.0 0.0;
1070                to_x: "padding_left_top";
1071                to_y: "padding_right_bottom";
1072             }
1073             aspect: 1.0 1.0;
1074             aspect_preference: VERTICAL;
1075          }
1076          description { state: "icononly" 0.0;
1077             min: 40 40;
1078             max: 40 40;
1079             rel1 {
1080                relative: 1.0 1.0;
1081                to: "padding_left_top";
1082             }
1083             rel2 {
1084                relative: 0.0 0.0;
1085                to: "padding_right_bottom";
1086             }
1087             aspect: 1.0 1.0;
1088             aspect_preference: VERTICAL;
1089          }
1090       }
1091       part { name: "elm.text";
1092          type: TEXT;
1093          mouse_events: 0;
1094          scale: 1;
1095          description { state: "default" 0.0;
1096             visible: 0;
1097             rel1 {
1098                relative: 1.0 1.0;
1099                to_x: "padding_icon_text";
1100                to_y: "padding_left_top";
1101             }
1102             rel2 {
1103                relative: 0.0 0.0;
1104                to:"padding_right_bottom";
1105             }
1106             align: 0.0 0.5;
1107             color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1108             text {
1109                align: 0 0.5;
1110                min: 0 1;
1111                font: "Tizen:style=Regular";
1112                size: GENLIST_LIST_MAIN_TEXT_SIZE;
1113                text_class: "list_item";
1114             }
1115          }
1116          description { state: "visible" 0.0;
1117             inherit: "default" 0.0;
1118             visible: 1;
1119          }
1120          description { state: "clicked" 0.0;
1121             inherit: "default" 0.0;
1122             visible: 1;
1123             color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1124          }
1125          description { state: "disabled" 0.0;
1126             inherit: "default" 0.0;
1127             color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1128          }
1129          description { state: "disabled_visible" 0.0;
1130             inherit: "default" 0.0;
1131             color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1132             visible: 1;
1133          }
1134       }
1135       part { name: "over1";
1136          type: RECT;
1137          repeat_events: 1;
1138          ignore_flags: ON_HOLD;
1139          description { state: "default" 0.0;
1140             color: 0 0 0 0;
1141          }
1142       }
1143       part { name: "over2";
1144          type: RECT;
1145          repeat_events: 1;
1146          description { state: "default" 0.0;
1147             color: 0 0 0 0;
1148          }
1149       }
1150       part { name: "disclip";
1151          type: RECT;
1152          description { state: "default" 0.0;
1153             visible: 0;
1154          }
1155          description { state: "disabled" 0.0;
1156             color: 0 0 0 0;
1157          }
1158       }
1159    }
1160    programs {
1161       program { name: "item_unclick";
1162          signal: "mouse,clicked,1";
1163          source: "over1";
1164          action: SIGNAL_EMIT "elm,action,click" "";
1165          after: "touch_snd";
1166       }
1167       program { name: "touch_snd";
1168          action: PLAY_SAMPLE "touch_sound" 1.0;
1169       }
1170       program { name: "disable";
1171          signal: "elm,state,item,disabled";
1172          source: "elm";
1173          action: STATE_SET "disabled" 0.0;
1174          target: "disclip";
1175          after: "disable_text";
1176       }
1177       program { name: "enable";
1178          signal: "elm,state,item,enabled";
1179          source: "elm";
1180          action: STATE_SET "default" 0.0;
1181          target: "disclip";
1182          after: "enable_text";
1183       }
1184       program { name: "item_click2";
1185          signal: "mouse,down,1";
1186          source: "over2";
1187          script {
1188             new st[31];
1189             new Float:vl;
1190             get_state(PART:"elm.text", st, 30, vl);
1191             if (!strcmp(st, "visible"))
1192               set_state(PART:"elm.text", "clicked", 0.0);
1193             set_state(PART:"bg", "clicked", 0.0);
1194          }
1195       }
1196       program { name: "item_unclick2";
1197          signal: "mouse,up,1";
1198          source: "over2";
1199          script {
1200             new st[31];
1201             new Float:vl;
1202             get_state(PART:"elm.text", st, 30, vl);
1203             if (!strcmp(st, "clicked"))
1204               set_state(PART:"elm.text", "visible", 0.0);
1205             set_state(PART:"bg", "default", 0.0);
1206          }
1207       }
1208       program { name: "disable_text";
1209          script {
1210             new st[31];
1211             new Float:vl;
1212             get_state(PART:"elm.text", st, 30, vl);
1213             if (!strcmp(st, "visible"))
1214               set_state(PART:"elm.text", "disabled_visible", 0.0);
1215             else
1216               set_state(PART:"elm.text", "disabled", 0.0);
1217             set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1218          }
1219       }
1220       program { name: "enable_text";
1221          script {
1222             new st[31];
1223             new Float:vl;
1224             get_state(PART:"elm.text", st, 30, vl);
1225             if (!strcmp(st, "disabled_visible"))
1226               set_state(PART:"elm.text", "visible", 0.0);
1227             else
1228               set_state(PART:"elm.text", "default", 0.0);
1229             set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1230          }
1231       }
1232       program { name: "text_show";
1233          signal: "elm,state,item,text,visible";
1234          source: "elm";
1235          script {
1236             new st[31];
1237             new Float:vl;
1238             get_state(PART:"elm.swallow.content", st, 30, vl);
1239             if (!strcmp(st, "icononly")) {
1240                set_state(PART:"elm.swallow.content", "visible", 0.0);
1241                set_state(PART:"padding_icon_text", "visible", 0.0);
1242             }
1243             if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1244               set_state(PART:"elm.text", "visible", 0.0);
1245             else
1246               set_state(PART:"elm.text", "disabled_visible", 0.0);
1247          }
1248       }
1249       program { name: "text_hide";
1250          signal: "elm,state,item,text,hidden";
1251          source: "elm";
1252          script {
1253             new st[31];
1254             new Float:vl;
1255             get_state(PART:"elm.swallow.content", st, 30, vl);
1256             if (!strcmp(st, "visible")) {
1257                set_state(PART:"elm.swallow.content", "icononly", 0.0);
1258                set_state(PART:"padding_icon_text", "icononly", 0.0);
1259             }
1260             set_state(PART:"elm.text", "default", 0.0);
1261          }
1262       }
1263       program { name: "icon_show";
1264          signal: "elm,state,item,icon,visible";
1265          source: "elm";
1266          script {
1267             new st[31];
1268             new Float:vl;
1269             get_state(PART:"elm.text", st, 30, vl);
1270             if (!strcmp(st, "visible")) {
1271                set_state(PART:"elm.swallow.content", "visible", 0.0);
1272                set_state(PART:"padding_icon_text", "visible", 0.0);
1273             }
1274             else {
1275                set_state(PART:"elm.swallow.content", "icononly", 0.0);
1276                set_state(PART:"padding_icon_text", "icononly", 0.0);
1277             }
1278          }
1279       }
1280       program { name: "icon_hide";
1281          signal: "elm,state,item,icon,hidden";
1282          source: "elm";
1283          action:  STATE_SET "default" 0.0;
1284          target: "elm.swallow.content";
1285       }
1286    }
1287 }
1288
1289 /////////////////////////////////////////////////////////////////////////////////////////
1290 group { name: "elm/popup/item/landscape/default";
1291    inherit: "elm/popup/item/default";
1292    parts {
1293       part { name: "bg";
1294          type: RECT;
1295          mouse_events: 0;
1296          scale: 1;
1297          description { state: "default" 0.0;
1298             color: GENLIST_LIST_BG_COLOR;
1299             min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1300             align: 0.5 0.0;
1301          }
1302          description { state: "clicked" 0.0;
1303             color: GENLIST_LIST_PRESS_COLOR;
1304          }
1305       }
1306    }
1307 }
1308
1309 ////////////////////////////////////////////////////////////////////////////////////////
1310 group { name: "elm/label/base/popup/verticalbuttonstyle";
1311    styles
1312      {
1313         style { name: "popup_desc_style_center";
1314            base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=center color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" text_class=tizen";
1315            tag:  "br" "\n";
1316            tag:  "ps" "ps";
1317            tag:  "whitecolor" "+ color=#ffffff";
1318            tag:  "tab" "\t";
1319         }
1320      }
1321    parts {
1322       part { name: "elm.text";
1323          type: TEXTBLOCK;
1324          mouse_events: 0;
1325          scale: 1;
1326          description { state: "default" 0.0;
1327             text {
1328                style: "popup_desc_style_center";
1329                min: 0 1;
1330                max: 0 1;
1331             }
1332          }
1333       }
1334    }
1335 }
1336
1337
1338 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1339    alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1340    data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1341    parts {
1342       part { name: "bg";
1343          type: SPACER;
1344          scale: 1;
1345          description { state: "default" 0.0;
1346             min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1347             fixed: 1 0;
1348          }
1349       }
1350       part { name: "elm.rect.pad_btn_top";
1351          type: SPACER;
1352          scale: 1;
1353          description { state: "default" 0.0;
1354             min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1355             fixed: 0 1;
1356             align: 0.0 0.0;
1357             rel1 {
1358                relative: 0.0 0.0;
1359             }
1360             rel2 {
1361                relative: 1.0 0.0;
1362             }
1363          }
1364       }
1365       part { name:"actionbtn1";
1366          type: SWALLOW;
1367          scale: 1;
1368          description { state: "default" 0.0;
1369             min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1370             max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1371             fixed: 1 1;
1372             align: 0.5 0.0;
1373             rel1 {
1374                relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1375             }
1376          }
1377       }
1378       part { name: "elm.rect.pad_btn";
1379          type: SPACER;
1380          scale: 1;
1381          description { state: "default" 0.0;
1382             min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1383             max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1384             fixed: 1 1;
1385             align: 0.5 0.0;
1386             rel1 {
1387                relative: 0.0 1.0; to: "actionbtn1";
1388             }
1389             rel2 {
1390                relative: 1.0 1.0; to: "actionbtn1";
1391             }
1392          }
1393       }
1394       part { name:"actionbtn2";
1395          type: SWALLOW;
1396          scale: 1;
1397          description { state: "default" 0.0;
1398             min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1399             max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1400             fixed: 1 1;
1401             align: 0.5 0.0;
1402             rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1403          }
1404       }
1405       part { name: "elm.rect.pad_btn2";
1406          type: SPACER;
1407          scale: 1;
1408          description { state: "default" 0.0;
1409             min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1410             max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1411             fixed: 1 1;
1412             align: 0.5 0.0;
1413             rel1 {
1414                relative: 0.0 1.0; to: "actionbtn2";
1415             }
1416             rel2 {
1417                relative: 1.0 1.0; to: "actionbtn2";
1418             }
1419          }
1420       }
1421       part { name:"actionbtn3";
1422          type: SWALLOW;
1423          scale: 1;
1424          description { state: "default" 0.0;
1425             min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1426             max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1427             fixed: 1 1;
1428             align: 0.5 0.0;
1429             rel1 {
1430                relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1431             }
1432          }
1433       }
1434    }
1435 }
1436
1437 group { name: "elm/popup/content/menustyle";
1438    alias: "elm/popup/content/menustyle_transparent";
1439    parts{
1440       part { name: "left_padding";
1441          type: SPACER;
1442          scale: 1;
1443          description { state: "default" 0.0;
1444             fixed: 1 0;
1445             align: 0.0 0.5;
1446             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1447             rel1 {
1448                relative: 0.0 0.0;
1449             }
1450             rel2 {
1451                relative: 0.0 1.0;
1452             }
1453          }
1454       }
1455       part{ name:"elm.swallow.content";
1456          type: SWALLOW;
1457          scale: 1;
1458          description { state: "default" 0.0;
1459             min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1460             max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1461             align: 0.5 0.5;
1462             fixed: 1 0;
1463             rel1 {
1464                relative: 1.0 0.0;
1465                to:"left_padding";
1466             }
1467             rel2 {
1468                relative: 0.0 1.0;
1469                to:"right_padding";
1470             }
1471          }
1472       }
1473       part { name: "right_padding";
1474          type: SPACER;
1475          scale: 1;
1476          description { state: "default" 0.0;
1477             fixed: 1 0;
1478             align: 1.0 0.5;
1479             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1480             rel1 {
1481                relative: 1.0 0.0;
1482             }
1483             rel2 {
1484                relative: 1.0 1.0;
1485             }
1486          }
1487       }
1488    }
1489 }
1490
1491 group { name: "elm/popup/content/min_menustyle";
1492    alias: "elm/popup/content/min_menustyle_transparent";
1493    parts{
1494       part { name: "left_padding";
1495          type: SPACER;
1496          scale: 1;
1497          description { state: "default" 0.0;
1498             fixed: 1 0;
1499             align: 0.0 0.5;
1500             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1501             rel1 {
1502                relative: 0.0 0.0;
1503             }
1504             rel2 {
1505                relative: 0.0 1.0;
1506             }
1507          }
1508       }
1509       part{ name:"elm.swallow.content";
1510          type: SWALLOW;
1511          scale: 1;
1512          description { state: "default" 0.0;
1513             min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1514             align: 0.5 0.5;
1515             fixed: 1 0;
1516             rel1 {
1517                relative: 1.0 0.0;
1518                to:"left_padding";
1519             }
1520             rel2 {
1521                relative: 0.0 1.0;
1522                to:"right_padding";
1523             }
1524          }
1525       }
1526       part { name: "right_padding";
1527          type: SPACER;
1528          scale: 1;
1529          description { state: "default" 0.0;
1530             fixed: 1 0;
1531             align: 1.0 0.5;
1532             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1533             rel1 {
1534                relative: 1.0 0.0;
1535             }
1536             rel2 {
1537                relative: 1.0 1.0;
1538             }
1539          }
1540       }
1541    }
1542 }
1543
1544 group { name: "elm/popup/content/liststyle";
1545    alias: "elm/popup/content/liststyle_transparent";
1546    parts{
1547       part { name: "left_top_padding";
1548          type: SPACER;
1549          scale: 1;
1550          description { state: "default" 0.0;
1551             fixed: 1 1;
1552             align: 0.0 0.0;
1553             min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1554             max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1555          }
1556       }
1557       part{ name:"elm.swallow.content";
1558          type: SWALLOW;
1559          scale: 1;
1560          description { state: "default" 0.0;
1561             min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1562             max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1563             align: 0.5 0.5;
1564             fixed: 1 0;
1565             rel1 {
1566                relative: 1.0 1.0;
1567                to:"left_top_padding";
1568             }
1569             rel2 {
1570                relative: 0.0 1.0;
1571                to:"right_padding";
1572             }
1573          }
1574       }
1575       part { name: "right_padding";
1576          type: SPACER;
1577          scale: 1;
1578          description { state: "default" 0.0;
1579             fixed: 1 0;
1580             align: 1.0 0.5;
1581             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1582             rel1 {
1583                relative: 1.0 0.0;
1584             }
1585             rel2 {
1586                relative: 1.0 1.0;
1587             }
1588          }
1589       }
1590    }
1591 }
1592
1593 group { name: "elm/popup/content/min_liststyle";
1594    alias: "elm/popup/content/min_liststyle_transparent";
1595    parts{
1596       part { name: "left_top_padding";
1597          type: SPACER;
1598          scale: 1;
1599          description { state: "default" 0.0;
1600             fixed: 1 1;
1601             align: 0.0 0.0;
1602             min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1603             max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1604          }
1605       }
1606       part{ name:"elm.swallow.content";
1607          type: SWALLOW;
1608          scale: 1;
1609          description { state: "default" 0.0;
1610             min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1611             align: 0.5 0.5;
1612             fixed: 1 0;
1613             rel1 {
1614                relative: 1.0 1.0;
1615                to:"left_top_padding";
1616             }
1617             rel2 {
1618                relative: 0.0 1.0;
1619                to:"right_padding";
1620             }
1621          }
1622       }
1623       part { name: "right_padding";
1624          type: SPACER;
1625          scale: 1;
1626          description { state: "default" 0.0;
1627             fixed: 1 0;
1628             align: 1.0 0.5;
1629             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1630             rel1 {
1631                relative: 1.0 0.0;
1632             }
1633             rel2 {
1634                relative: 1.0 1.0;
1635             }
1636          }
1637       }
1638    }
1639 }
1640
1641
1642 group { name: "elm/popup/buttons1/default";
1643    alias: "elm/popup/buttons1/transparent";
1644    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1645    parts{
1646       part{ name:"actionbtn1";
1647          type: SWALLOW;
1648          scale: 1;
1649          description { state: "default" 0.0;
1650             min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1651             max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1652             fixed: 1 1;
1653             rel1.relative: 0.5 0.0;
1654             rel2.relative: 0.5 1.0;
1655          }
1656       }
1657    }
1658 }
1659
1660 group { name: "elm/popup/buttons2/default";
1661    alias: "elm/popup/buttons2/transparent";
1662    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1663    parts{
1664       part { name: "left_pad_btn";
1665          type: SPACER;
1666          scale: 1;
1667          description { state: "default" 0.0;
1668             min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1669             max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1670             fixed: 1 1;
1671             align: 0 0.5;
1672             rel1.relative: 0.0 0.0;
1673          }
1674       }
1675       part { name: "right_pad_btn";
1676          type: SPACER;
1677          scale: 1;
1678          description { state: "default" 0.0;
1679             min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1680             max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1681             fixed: 1 1;
1682             align: 1 0.5;
1683             rel2.relative: 1.0 1.0;
1684          }
1685       }
1686       part { name:"actionbtn1";
1687          type: SWALLOW;
1688          scale: 1;
1689          description { state: "default" 0.0;
1690             fixed: 1 1;
1691             align: 1.0 0.5;
1692             rel1 {
1693                relative: 1.0 0.0;
1694                to: "left_pad_btn";
1695             }
1696             rel2 {
1697                relative: 0.0 1.0;
1698                to: "elm.rect.pad_btn";
1699             }
1700          }
1701       }
1702       part { name: "elm.rect.pad_btn";
1703          type: SPACER;
1704          scale: 1;
1705          description { state: "default" 0.0;
1706             min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1707             max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1708             fixed: 1 1;
1709             rel1.relative: 0.5 0.0;
1710             rel2.relative: 0.5 1.0;
1711          }
1712       }
1713       part { name:"actionbtn2";
1714          type: SWALLOW;
1715          scale: 1;
1716          description { state: "default" 0.0;
1717             fixed: 1 1;
1718             align: 0.0 0.5;
1719             rel1 {
1720                relative: 1.0 0.0;
1721                to: "elm.rect.pad_btn";
1722             }
1723             rel2 {
1724                relative: 0.0 1.0;
1725                to: "right_pad_btn";
1726             }
1727          }
1728       }
1729    }
1730 }
1731
1732 group { name: "elm/popup/buttons3/default";
1733    alias: "elm/popup/buttons3/menustyle";
1734    alias: "elm/popup/buttons3/transparent";
1735    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1736    parts{
1737       part { name: "left_pad_btn";
1738          type: SPACER;
1739          scale: 1;
1740          description { state: "default" 0.0;
1741             min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1742             max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1743             fixed: 1 1;
1744             align: 0 0.5;
1745             rel1.relative: 0.0 0.0;
1746          }
1747       }
1748       part { name: "right_pad_btn";
1749          type: SPACER;
1750          scale: 1;
1751          description { state: "default" 0.0;
1752             min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1753             max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1754             fixed: 1 1;
1755             align: 1 0.5;
1756             rel2.relative: 1.0 1.0;
1757          }
1758       }
1759       part { name: "btn_area";
1760          type: SPACER;
1761          scale: 1;
1762          description { state: "default" 0.0;
1763             fixed: 1 1;
1764             rel1 {
1765                relative: 1.0 0.0;
1766                to: "left_pad_btn";
1767             }
1768             rel2 {
1769                relative: 0.0 1.0;
1770                to: "right_pad_btn";
1771             }
1772          }
1773       }
1774       part{ name:"actionbtn1";
1775          type: SWALLOW;
1776          scale: 1;
1777          description { state: "default" 0.0;
1778             fixed: 1 1;
1779             align: 1.0 0.5;
1780             rel1 {
1781                relative: 1.0 0.0;
1782                to: "left_pad_btn";
1783             }
1784             rel2 {
1785                relative: 0.0 1.0;
1786                to: "elm.rect.pad_btn";
1787             }
1788          }
1789       }
1790       part { name: "elm.rect.pad_btn";
1791          type: SPACER;
1792          scale: 1;
1793          description { state: "default" 0.0;
1794             min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1795             max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1796             fixed: 1 1;
1797             rel1.relative: 0.33 0.0;
1798             rel1.to: "btn_area";
1799             rel2.relative: 0.33 1.0;
1800             rel2.to: "btn_area";
1801          }
1802       }
1803       part{ name:"actionbtn2";
1804          type: SWALLOW;
1805          scale: 1;
1806          description { state: "default" 0.0;
1807             fixed: 1 1;
1808             rel1 {
1809                relative: 1.0 0.0;
1810                to: "elm.rect.pad_btn";
1811             }
1812             rel2 {
1813                relative: 0.0 1.0;
1814                to: "elm.rect.pad_btn2";
1815             }
1816          }
1817       }
1818       part { name: "elm.rect.pad_btn2";
1819          type: SPACER;
1820          scale: 1;
1821          description { state: "default" 0.0;
1822             min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1823             max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1824             fixed: 1 1;
1825             rel1.relative: 0.67 0.0;
1826             rel1.to: "btn_area";
1827             rel2.relative: 0.67 1.0;
1828             rel2.to: "btn_area";
1829          }
1830       }
1831       part{ name:"actionbtn3";
1832          type: SWALLOW;
1833          scale: 1;
1834          description { state: "default" 0.0;
1835             fixed: 1 1;
1836             align: 0.0 0.5;
1837             rel1 {
1838                relative: 1.0 0.0;
1839                to: "elm.rect.pad_btn2";
1840             }
1841             rel2 {
1842                relative: 0.0 1.0;
1843                to: "right_pad_btn";
1844             }
1845          }
1846       }
1847    }
1848 }
1849
1850 group { name: "elm/popup/base/volumebarstyle";
1851    inherit: "elm/popup/base/default";
1852    alias: "elm/popup/base/volumebarstyle_transparent";
1853    images {
1854       image: "00_popup_bg.png" COMP;
1855    }
1856    parts {
1857       part { name: "elm.swallow.content";
1858          type: SWALLOW;
1859          scale: 1;
1860          description { state: "default" 0.0;
1861             min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1862             fixed: 1 0;
1863             rel1 {
1864                relative: 0.0 1.0;
1865                to_x: "base";
1866                to_y: "shadow_left_top_padding";
1867             }
1868             rel2 {
1869                relative: 1.0 0.0;
1870                to_x: "base";
1871                to_y: "shadow_right_bottom_padding";
1872             }
1873          }
1874          description { state: "show_title_area" 0.0;
1875             inherit: "default" 0.0;
1876             rel1 {
1877                relative: 0.0 1.0;
1878                to_x: "base";
1879                to_y: "elm.bg.title";
1880             }
1881             rel2 {
1882                relative: 1.0 0.0;
1883                to_x: "base";
1884                to_y: "shadow_right_bottom_padding";
1885             }
1886          }
1887          description { state: "show_action_area" 0.0;
1888             inherit: "default" 0.0;
1889             rel1 {
1890                relative: 0.0 1.0;
1891                to_x: "base";
1892                to_y: "shadow_left_top_padding";
1893             }
1894             rel2 {
1895                relative: 1.0 0.0;
1896                to_x: "base";
1897                to_y: "elm.swallow.action_area";
1898             }
1899          }
1900          description { state: "show_action_title_area" 0.0;
1901             inherit: "default" 0.0;
1902             rel1 {
1903                relative: 0.0 1.0;
1904                to_x: "base";
1905                to_y: "elm.bg.title";
1906             }
1907             rel2 {
1908                relative: 1.0 0.0;
1909                to_x: "base";
1910                to_y: "elm.swallow.action_area";
1911             }
1912          }
1913       }
1914    }
1915 }
1916
1917 group { name: "elm/popup/base/volumebarstyle_text";
1918    alias: "elm/popup/base/volumebarstyle_text_transparent";
1919    inherit: "elm/popup/base/volumebarstyle";
1920    parts {
1921       part { name: "elm.swallow.content";
1922          type: SWALLOW;
1923          scale: 1;
1924          description { state: "default" 0.0;
1925             min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
1926             fixed: 1 0;
1927             rel1 {
1928                relative: 0.0 1.0;
1929                to_x: "base";
1930                to_y: "shadow_left_top_padding";
1931             }
1932             rel2 {
1933                relative: 1.0 0.0;
1934                to_x: "base";
1935                to_y: "shadow_right_bottom_padding";
1936             }
1937          }
1938          description { state: "show_title_area" 0.0;
1939             inherit: "default" 0.0;
1940             rel1 {
1941                relative: 0.0 1.0;
1942                to_x: "base";
1943                to_y: "elm.bg.title";
1944             }
1945             rel2 {
1946                relative: 1.0 0.0;
1947                to_x: "base";
1948                to_y: "shadow_right_bottom_padding";
1949             }
1950          }
1951          description { state: "show_action_area" 0.0;
1952             inherit: "default" 0.0;
1953             rel1 {
1954                relative: 0.0 1.0;
1955                to_x: "base";
1956                to_y: "shadow_left_top_padding";
1957             }
1958             rel2 {
1959                relative: 1.0 0.0;
1960                to_x: "base";
1961                to_y: "elm.swallow.action_area";
1962             }
1963          }
1964          description { state: "show_action_title_area" 0.0;
1965             inherit: "default" 0.0;
1966             rel1 {
1967                relative: 0.0 1.0;
1968                to_x: "base";
1969                to_y: "elm.bg.title";
1970             }
1971             rel2 {
1972                relative: 1.0 0.0;
1973                to_x: "base";
1974                to_y: "elm.swallow.action_area";
1975             }
1976          }
1977       }
1978    }
1979 }
1980
1981 group { name: "elm/popup/base/content_expand";
1982    alias: "elm/popup/base/content_expand_transparent";
1983    images {
1984       image: "00_popup_bg.png" COMP;
1985    }
1986    parts {
1987       part {
1988          name: "shadow_right_bottom_padding";
1989          type: SPACER;
1990          scale: 1;
1991          description { state: "default" 0.0;
1992             min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
1993             max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
1994             align: 1.0 1.0;
1995             fixed: 1 1;
1996          }
1997       }
1998       part { name: "base";
1999          type: IMAGE;
2000          scale: 1;
2001          description { state: "default" 0.0;
2002             rel1.to_x: "elm.swallow.content";
2003             rel2.to_x: "elm.bg.action_area";
2004             image {
2005                normal: "00_popup_bg.png";
2006                border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2007                border_scale: 1;
2008             }
2009             fill.smooth: 0;
2010             align: 0.0 0.0;
2011          }
2012       }
2013       part { name: "elm.bg.title";
2014          type: RECT;
2015          scale: 1;
2016          description { state: "default" 0.0;
2017             min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2018             fixed: 0 1;
2019             align: 0.5 0.0;
2020             visible: 0;
2021             color: 0 0 0 0;
2022             rel1.to_x: "base";
2023             rel2 {
2024                relative: 1.0 0.0;
2025                to_x: "base";
2026             }
2027          }
2028          description { state: "visible" 0.0;
2029             inherit: "default" 0.0;
2030             visible: 1;
2031          }
2032       }
2033       part { name: "left_pad";
2034          type: SPACER;
2035          scale: 1;
2036          description { state: "default" 0.0;
2037             min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2038             max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2039             fixed: 1 1;
2040             align: 0.0 0.0;
2041             rel1.to: "elm.bg.title";
2042          }
2043       }
2044       part { name: "right_pad";
2045          type: SPACER;
2046          scale: 1;
2047          description { state: "default" 0.0;
2048             min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2049             max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2050             fixed: 1 1;
2051             align: 1.0 1.0;
2052             rel2.to: "elm.bg.title";
2053          }
2054       }
2055       part { name: "elm.swallow.title.icon";
2056          type: SWALLOW;
2057          scale: 1;
2058          description { state: "default" 0.0;
2059             min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2060             max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2061             fixed: 1 1;
2062             align: 0.0 0.5;
2063             rel1 {
2064                to: "left_pad";
2065                relative: 1.0 0.0;
2066             }
2067             rel2 {
2068                to: "right_pad";
2069                relative: 0.0 1.0;
2070             }
2071             visible: 0;
2072          }
2073          description { state: "visible" 0.0;
2074             inherit: "default" 0.0;
2075             visible: 1;
2076          }
2077       }
2078       part { name: "elm.text.title";
2079          type: TEXTBLOCK;
2080          scale:1;
2081          description { state: "default" 0.0;
2082             text {
2083               style: "popup_title_style";
2084               size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2085               size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2086               fit: 1 0;
2087               min: 0 1;
2088               align: 0.0 0.0;
2089             }
2090             visible: 0;
2091             rel1 {
2092                relative: 1.0 1.0;
2093                to: "left_pad";
2094             }
2095             rel2 {
2096                relative: 0.0 1.0;
2097                to: "right_pad";
2098             }
2099          }
2100          description { state: "visible" 0.0;
2101             inherit: "default" 0.0;
2102             visible: 1;
2103          }
2104       }
2105       part { name: "elm.swallow.content";
2106          type: SWALLOW;
2107          scale: 1;
2108          description { state: "default" 0.0;
2109             min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2110             max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2111             rel1.relative: 0.5 0.0;
2112             rel2.relative: 0.5 1.0;
2113          }
2114          description { state: "show_title_area" 0.0;
2115             inherit: "default" 0.0;
2116             rel1 {
2117                relative: 0.5 1.0;
2118                to_y: "elm.bg.title";
2119             }
2120          }
2121          description { state: "show_action_area" 0.0;
2122             inherit: "default" 0.0;
2123             rel2 {
2124                relative: 0.5 0.0;
2125                to_y: "elm.bg.action_area";
2126             }
2127          }
2128          description { state: "show_action_title_area" 0.0;
2129             inherit: "default" 0.0;
2130             rel1 {
2131                relative: 0.5 1.0;
2132                to_y: "elm.bg.title";
2133             }
2134             rel2 {
2135                relative: 0.5 0.0;
2136                to_y: "elm.bg.action_area";
2137             }
2138          }
2139       }
2140       part { name: "elm.bg.action_area";
2141          type: RECT;
2142          scale: 1;
2143          description { state: "default" 0.0;
2144             min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2145             fixed: 0 1;
2146             align: 0.5 1.0;
2147             visible: 0;
2148             rel1 {
2149                relative: 0.0 0.0;
2150                to_y: "shadow_right_bottom_padding";
2151             }
2152             rel2 {
2153                relative: 1.0 0.0;
2154                to_y: "shadow_right_bottom_padding";
2155             }
2156             color: 0 0 0 0;
2157          }
2158          description { state: "visible" 0.0;
2159             inherit: "default" 0.0;
2160             visible: 1;
2161          }
2162       }
2163       part { name: "elm.swallow.action_area";
2164          type: SWALLOW;
2165          scale: 1;
2166          description { state: "default" 0.0;
2167             rel1.to: "elm.bg.action_area";
2168             rel2.to: "elm.bg.action_area";
2169          }
2170       }
2171    }
2172    programs {
2173       program { name: show_title_icon;
2174          signal: "elm,state,title,icon,visible";
2175          source: "elm";
2176          action: STATE_SET "visible" 0.0;
2177          target: "elm.swallow.title.icon";
2178       }
2179       program { name: hide_title_icon;
2180          signal: "elm,state,title,icon,hidden";
2181          source: "elm";
2182          action: STATE_SET "default" 0.0;
2183          target: "elm.swallow.title.icon";
2184       }
2185       program { name: show_title_text;
2186          signal: "elm,state,title,text,visible";
2187          source: "elm";
2188          action: STATE_SET "visible" 0.0;
2189          target: "elm.text.title";
2190       }
2191       program { name: hide_title_text;
2192          signal: "elm,state,title,text,hidden";
2193          source: "elm";
2194          action: STATE_SET "default" 0.0;
2195          target: "elm.text.title";
2196       }
2197       program { name: show_title_area;
2198          signal: "elm,state,title_area,visible";
2199          source: "elm";
2200          script {
2201             new st[31];
2202             new Float:vl;
2203             get_state(PART:"elm.swallow.action_area", st, 30, vl);
2204             if (!strcmp(st, "visible"))
2205               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2206             else
2207               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2208             set_state(PART:"elm.bg.title", "visible", 0.0);
2209          }
2210       }
2211       program { name: hide_title_area;
2212          signal: "elm,state,title_area,hidden";
2213          source: "elm";
2214          action: STATE_SET "default" 0.0;
2215          script {
2216             new st[31];
2217             new Float:vl;
2218             get_state(PART:"elm.swallow.action_area", st, 30, vl);
2219             if (!strcmp(st, "visible"))
2220               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2221             else
2222               set_state(PART:"elm.swallow.content", "default", 0.0);
2223             set_state(PART:"elm.bg.title", "default", 0.0);
2224          }
2225       }
2226       program { name: show_action_area;
2227          signal: "elm,state,action_area,visible";
2228          source: "elm";
2229          script {
2230             new st[31];
2231             new Float:vl;
2232             get_state(PART:"elm.bg.title", st, 30, vl);
2233             if (!strcmp(st, "visible"))
2234               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2235             else
2236               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2237             set_state(PART:"elm.bg.action_area", "visible", 0.0);
2238          }
2239       }
2240       program { name: hide_action_area;
2241          signal: "elm,state,action_area,hidden";
2242          source: "elm";
2243          action: STATE_SET "default" 0.0;
2244          script {
2245             new st[31];
2246             new Float:vl;
2247             get_state(PART:"elm.bg.title", st, 30, vl);
2248             if (!strcmp(st, "visible"))
2249               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2250             else
2251               set_state(PART:"elm.swallow.content", "default", 0.0);
2252             set_state(PART:"elm.bg.action_area", "default", 0.0);
2253          }
2254       }
2255    }
2256 }
2257
2258 group { name: "elm/popup/buttons1/content_expand";
2259    alias: "elm/popup/buttons1/content_expand_transparent";
2260    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2261    parts{
2262       part{ name:"actionbtn1";
2263          type: SWALLOW;
2264          scale: 1;
2265          description { state: "default" 0.0;
2266             rel1.relative: 0.2 0.1;
2267             rel2.relative: 0.8 0.9;
2268          }
2269       }
2270    }
2271 }
2272
2273 group { name: "elm/popup/buttons2/content_expand";
2274    alias: "elm/popup/buttons2/content_expand_transparent";
2275    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2276    parts{
2277       part{ name:"actionbtn1";
2278          type: SWALLOW;
2279          scale: 1;
2280          description { state: "default" 0.0;
2281             align: 0.0 0.5;
2282             rel1.relative: 0.1 0.1;
2283             rel2.relative: 0.45 0.9;
2284          }
2285       }
2286       part{ name:"actionbtn2";
2287          type: SWALLOW;
2288          scale: 1;
2289          description { state: "default" 0.0;
2290             align: 0.0 0.5;
2291             rel1.relative: 0.55 0.1;
2292             rel2.relative: 0.9 0.9;
2293          }
2294       }
2295    }
2296 }
2297
2298 group { name: "elm/popup/buttons3/content_expand";
2299    alias: "elm/popup/buttons3/content_expand_transparent";
2300    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2301    parts{
2302       part{ name:"actionbtn1";
2303          type: SWALLOW;
2304          scale: 1;
2305          description { state: "default" 0.0;
2306             align: 0.0 0.5;
2307             rel1.relative: 0.05 0.1;
2308             rel2.relative: 0.3 0.9;
2309          }
2310       }
2311       part{ name:"actionbtn2";
2312          type: SWALLOW;
2313          scale: 1;
2314          description { state: "default" 0.0;
2315             align: 0.0 0.5;
2316             rel1.relative: 0.375 0.1;
2317             rel2.relative: 0.625 0.9;
2318          }
2319       }
2320       part{ name:"actionbtn3";
2321          type: SWALLOW;
2322          scale: 1;
2323          description { state: "default" 0.0;
2324             align: 0.0 0.5;
2325             rel1.relative: 0.7 0.1;
2326             rel2.relative: 0.95 0.9;
2327          }
2328       }
2329    }
2330 }
2331
2332 group { name: "elm/popup/item/content_expand";
2333    alias: "elm/popup/item/content_expand_transparent";
2334    inherit: "elm/popup/item/default";
2335    parts {
2336       part { name: "bg";
2337          mouse_events: 0;
2338          type: RECT;
2339          description { state: "default" 0.0;
2340             color: 240 240 240 255;
2341             min: 620 112;
2342             align: 0.5 0.0;
2343          }
2344          description { state: "clicked" 0.0;
2345             color: 190 170 150 255;
2346          }
2347       }
2348    }
2349 }
2350
2351 group { name: "elm/popup/content/content_expand";
2352    alias: "elm/popup/content/content_expand_transparent";
2353    parts{
2354       part{ name:"elm.swallow.content";
2355          type: SWALLOW;
2356          scale: 1;
2357          description { state: "default" 0.0;
2358          }
2359       }
2360    }
2361 }
2362
2363 #undef POPUP_ITEM_STATE_ENABLED
2364 #undef POPUP_ITEM_STATE_DISABLED