[access][popup] add access for \'vertical volume\'
[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: "access.base";
680          type: RECT;
681          repeat_events: 1;
682          description { state: "default" 0.0;
683             fixed: 1 1;
684             rel1.to: "base";
685             rel2.to: "base";
686             color: 0 0 0 0;
687          }
688       }
689       part { name: "elm.swallow.action_area";
690          type: SWALLOW;;
691          scale: 1;
692          description { state: "default" 0.0;
693             min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
694             fixed: 1 1;
695             align: 0.5 1.0;
696             visible: 0;
697             rel1 {
698                relative: 0.0 0.0;
699                to_x: "base";
700                to_y: "shadow_right_bottom_padding";
701             }
702             rel2 {
703                relative: 1.0 0.0;
704                to_x: "base";
705                to_y: "shadow_right_bottom_padding";
706             }
707          }
708          description { state: "visible" 0.0;
709             inherit: "default" 0.0;
710             visible: 1;
711          }
712       }
713    }
714    programs {
715       program { name: show_title_icon;
716          signal: "elm,state,title,icon,visible";
717          source: "elm";
718          action: STATE_SET "visible" 0.0;
719          target: "icon_rect";
720          target: "padding_after_icon";
721       }
722       program { name: hide_title_icon;
723          signal: "elm,state,title,icon,hidden";
724          source: "elm";
725          action: STATE_SET "default" 0.0;
726          target: "padding_after_icon";
727          target: "icon_rect";
728       }
729       program { name: show_title_area;
730          signal: "elm,state,title_area,visible";
731          source: "elm";
732          script {
733             new st[31];
734             new Float:vl;
735             get_state(PART:"elm.swallow.action_area", st, 30, vl);
736             if (!strcmp(st, "visible"))
737               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
738             else
739               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
740             get_state(PART:"base", st, 30, vl);
741             if (!strcmp(st, "landscape"))
742               set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
743             else
744               set_state(PART:"elm.bg.title", "visible", 0.0);
745          }
746       }
747       program { name: hide_title_area;
748          signal: "elm,state,title_area,hidden";
749          source: "elm";
750          action: STATE_SET "default" 0.0;
751          script {
752             new st[31];
753             new Float:vl;
754             get_state(PART:"elm.swallow.action_area", st, 30, vl);
755             if (!strcmp(st, "visible"))
756               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
757             else
758               set_state(PART:"elm.swallow.content", "default", 0.0);
759             get_state(PART:"base", st, 30, vl);
760             if (!strcmp(st, "landscape"))
761               set_state(PART:"elm.bg.title", "landscape", 0.0);
762             else
763               set_state(PART:"elm.bg.title", "default", 0.0);
764          }
765       }
766       program { name: show_action_area;
767          signal: "elm,state,action_area,visible";
768          source: "elm";
769          script {
770             new st[31];
771             new Float:vl;
772             get_state(PART:"elm.bg.title", st, 30, vl);
773             if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
774               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
775             else
776               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
777             set_state(PART:"elm.swallow.action_area", "visible", 0.0);
778          }
779       }
780       program { name: hide_action_area;
781          signal: "elm,state,action_area,hidden";
782          source: "elm";
783          action: STATE_SET "default" 0.0;
784          script {
785             new st[31];
786             new Float:vl;
787             get_state(PART:"elm.bg.title", st, 30, vl);
788             if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
789               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
790             else
791               set_state(PART:"elm.swallow.content", "default", 0.0);
792             set_state(PART:"elm.swallow.action_area", "default", 0.0);
793          }
794       }
795       program { name: "change_to_landscape";
796          signal: "elm,state,landscape";
797          source: "elm";
798          action: STATE_SET "landscape" 0.0;
799          target: "base";
800          target: "elm.bg.title";
801          after: "orientation_change";
802       }
803       program { name: "orientation_change";
804          action: SIGNAL_EMIT "elm,state,orientation,changed" "";
805       }
806       program { name: "change_to_portrait";
807          signal: "elm,state,portrait";
808          source: "elm";
809          action: STATE_SET "default" 0.0;
810          target: "base";
811          target: "elm.bg.title";
812          after: "orientation_change";
813       }
814       program { name: "landscape_mode";
815          source: "elm";
816          signal: "elm,state,orient,90";
817          action: SIGNAL_EMIT "elm,state,landscape" "elm";
818       }
819       program { name: "landscape_mode2";
820          source: "elm";
821          signal: "elm,state,orient,270";
822          action: SIGNAL_EMIT "elm,state,landscape" "elm";
823       }
824       program { name: "portrait_mode";
825          source: "elm";
826          signal: "elm,state,orient,0";
827          action: SIGNAL_EMIT "elm,state,portrait" "elm";
828       }
829       program { name: "portrait_mode2";
830           source: "elm";
831           signal: "elm,state,orient,180";
832           action: SIGNAL_EMIT "elm,state,portrait" "elm";
833       }
834    } /* end of programs */
835 }
836
837 group { name: "elm/popup/base/content_no_vhpad";
838    inherit: "elm/popup/base/default";
839    alias: "elm/popup/base/min_menustyle";
840    parts {
841       part { name: "label_top_padding";
842          type: SPACER;
843          scale: 1;
844          description { state: "default" 0.0;
845             min: 0 0;
846             max: 0 0;
847             fixed: 1 1;
848             align: 0.5 0.0;
849             rel1 {
850                relative: 0.5 1.0;
851                to_y: "shadow_left_top_padding";
852             }
853             rel2 {
854                relative: 0.5 1.0;
855                to_y: "shadow_left_top_padding";
856             }
857          }
858       }
859       part { name: "label_bottom_padding";
860          type: SPACER;
861          scale: 1;
862          description { state: "default" 0.0;
863             min: 0 0;
864             max: 0 0;
865             fixed: 1 1;
866             align: 0.5 1.0;
867             rel1 {
868                relative: 0.5 0.0;
869                to_y: "shadow_right_bottom_padding";
870             }
871             rel2 {
872                relative: 0.5 0.0;
873                to_y: "shadow_right_bottom_padding";
874             }
875          }
876       }
877    }
878 }
879
880 group { name: "elm/popup/content/default";
881    alias: "elm/popup/content/transparent";
882    alias: "elm/popup/content/customstyle";
883    alias: "elm/popup/content/customstyle_transparent";
884    parts{
885       part { name: "pad_t";
886          type: SPACER;
887          scale: 1;
888          mouse_events: 0;
889          description { state: "default" 0.0;
890             align: 0.5 0.0;
891             min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
892             max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
893             fixed: 0 1;
894             rel1 {
895                relative: 1.0 0.0;
896                to_x: "pad_l";
897             }
898             rel2 {
899                relative: 0.0 0.0;
900                to_x: "pad_r";
901             }
902          }
903       }
904       part { name: "pad_l";
905          type: SPACER;
906          scale: 1;
907          description { state: "default" 0.0;
908             min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
909             max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
910             fixed: 1 0;
911             rel2.relative: 0.0 1.0;
912             align: 0.0 0.0;
913          }
914       }
915       part { name: "pad_r";
916          type: SPACER;
917          scale: 1;
918          description { state: "default" 0.0;
919             min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
920             max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
921             fixed: 1 0;
922             rel1.relative: 1.0 0.0;
923             align: 1.0 0.0;
924          }
925       }
926       part { name:"elm.swallow.content";
927          type: SWALLOW;
928          scale: 1;
929          description { state: "default" 0.0;
930             fixed: 1 0;
931             rel1 {
932                relative: 1.0 1.0;
933                to_x: "pad_l";
934                to_y: "pad_t";
935             }
936             rel2 {
937                relative: 0.0 0.0;
938                to_x: "pad_r";
939                to_y: "pad_b";
940             }
941          }
942       }
943       part { name: "pad_b";
944          type: SPACER;
945          scale: 1;
946          description { state: "default" 0.0;
947             align: 0.5 1.0;
948             min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
949             max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
950             fixed: 0 1;
951             rel1 {
952                relative: 0.0 1.0;
953                to_x: "pad_l";
954             }
955             rel2.to_x: "pad_r";
956          }
957       }
958    }
959 }
960
961 group { name: "elm/popup/content/content_no_vhpad";
962    parts {
963       part { name:"elm.swallow.content";
964          type: SWALLOW;
965          scale: 1;
966          description { state: "default" 0.0;
967             fixed: 1 0;
968          }
969       }
970    }
971 }
972
973 ///////////////////////////////////////////////////////////////////////////////
974
975 group { name: "elm/popup/item/default";
976    alias: "elm/popup/item/min_menustyle";
977    script {
978       public item_state = POPUP_ITEM_STATE_ENABLED;
979    }
980    parts {
981       part { name: "event_blocker";
982          type: RECT;
983          description { state: "default" 0.0;
984             color: 0 0 0 0;
985          }
986       }
987       part { name: "bg";
988          type: RECT;
989          mouse_events: 0;
990          scale: 1;
991          description { state: "default" 0.0;
992             color: GENLIST_LIST_BG_COLOR;
993             min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
994             align: 0.5 0.0;
995          }
996          description { state: "clicked" 0.0;
997             color: GENLIST_LIST_PRESS_COLOR;
998          }
999       }
1000       part { name: "padding_left_top";
1001          type: SPACER;
1002          scale: 1;
1003          description { state: "default" 0.0;
1004             align: 0.0 0.0;
1005             rel2.relative: 0.0 0.0;
1006             min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1007             fixed: 1 1;
1008          }
1009       }
1010       part { name: "padding_right_bottom";
1011          type: SPACER;
1012          scale: 1;
1013          description { state: "default" 0.0;
1014             align: 1.0 1.0;
1015             rel1.relative: 1.0 1.0;
1016             min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1017             fixed: 1 1;
1018          }
1019       }
1020       part { name: "separator";
1021          mouse_events: 0;
1022          type: RECT;
1023          scale: 1;
1024          description { state: "dafault" 0.0;
1025             color: GENLIST_LIST_LINE1_COLOR;
1026             align: 0.5 1.0;
1027             min: 0 1;
1028             max: 999999 1;
1029          }
1030       }
1031       part { name: "padding_icon_text";
1032          type: SPACER;
1033          scale: 1;
1034          description { state: "default" 0.0; //when only icon or no icon is there
1035             align: 0.0 0.0;
1036             rel1 {
1037                relative: 1.0 0.0;
1038                to: "elm.swallow.content";
1039             }
1040             rel2.to: "elm.swallow.content";
1041             fixed: 1 0;
1042             min: 0 0;
1043          }
1044          description { state: "visible" 0.0; //when icon is visible
1045             inherit: "default" 0.0;
1046             min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1047          }
1048          description { state: "icononly" 0.0;
1049             inherit: "default" 0.0;
1050          }
1051       }
1052       part { name: "elm.swallow.content";
1053          type: SWALLOW;
1054          scale: 1;
1055          description { state: "default" 0.0;
1056             visible: 0;
1057             align: 0.0 0.5;
1058             rel1 {
1059                relative: 1.0 1.0;
1060                to: "padding_left_top";
1061             }
1062             rel2 {
1063                relative: 1.0 0.0;
1064                to_x: "padding_left_top";
1065                to_y: "padding_right_bottom";
1066             }
1067             fixed: 1 0;
1068          }
1069          description { state: "visible" 0.0;
1070             fixed: 1 0;
1071             min: 40 40;
1072             max: 40 40;
1073             align: 0.0 0.5;
1074             rel1 {
1075                relative: 1.0 1.0;
1076                to: "padding_left_top";
1077             }
1078             rel2 {
1079                relative: 1.0 0.0;
1080                to_x: "padding_left_top";
1081                to_y: "padding_right_bottom";
1082             }
1083             aspect: 1.0 1.0;
1084             aspect_preference: VERTICAL;
1085          }
1086          description { state: "icononly" 0.0;
1087             min: 40 40;
1088             max: 40 40;
1089             rel1 {
1090                relative: 1.0 1.0;
1091                to: "padding_left_top";
1092             }
1093             rel2 {
1094                relative: 0.0 0.0;
1095                to: "padding_right_bottom";
1096             }
1097             aspect: 1.0 1.0;
1098             aspect_preference: VERTICAL;
1099          }
1100       }
1101       part { name: "elm.text";
1102          type: TEXT;
1103          mouse_events: 0;
1104          scale: 1;
1105          description { state: "default" 0.0;
1106             visible: 0;
1107             rel1 {
1108                relative: 1.0 1.0;
1109                to_x: "padding_icon_text";
1110                to_y: "padding_left_top";
1111             }
1112             rel2 {
1113                relative: 0.0 0.0;
1114                to:"padding_right_bottom";
1115             }
1116             align: 0.0 0.5;
1117             color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1118             text {
1119                align: 0 0.5;
1120                min: 0 1;
1121                font: "Tizen:style=Regular";
1122                size: GENLIST_LIST_MAIN_TEXT_SIZE;
1123                text_class: "list_item";
1124             }
1125          }
1126          description { state: "visible" 0.0;
1127             inherit: "default" 0.0;
1128             visible: 1;
1129          }
1130          description { state: "clicked" 0.0;
1131             inherit: "default" 0.0;
1132             visible: 1;
1133             color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1134          }
1135          description { state: "disabled" 0.0;
1136             inherit: "default" 0.0;
1137             color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1138          }
1139          description { state: "disabled_visible" 0.0;
1140             inherit: "default" 0.0;
1141             color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1142             visible: 1;
1143          }
1144       }
1145       part { name: "over1";
1146          type: RECT;
1147          repeat_events: 1;
1148          ignore_flags: ON_HOLD;
1149          description { state: "default" 0.0;
1150             color: 0 0 0 0;
1151          }
1152       }
1153       part { name: "over2";
1154          type: RECT;
1155          repeat_events: 1;
1156          description { state: "default" 0.0;
1157             color: 0 0 0 0;
1158          }
1159       }
1160       part { name: "disclip";
1161          type: RECT;
1162          description { state: "default" 0.0;
1163             visible: 0;
1164          }
1165          description { state: "disabled" 0.0;
1166             color: 0 0 0 0;
1167          }
1168       }
1169    }
1170    programs {
1171       program { name: "item_unclick";
1172          signal: "mouse,clicked,1";
1173          source: "over1";
1174          action: SIGNAL_EMIT "elm,action,click" "";
1175          after: "touch_snd";
1176       }
1177       program { name: "touch_snd";
1178          action: PLAY_SAMPLE "touch_sound" 1.0;
1179       }
1180       program { name: "disable";
1181          signal: "elm,state,item,disabled";
1182          source: "elm";
1183          action: STATE_SET "disabled" 0.0;
1184          target: "disclip";
1185          after: "disable_text";
1186       }
1187       program { name: "enable";
1188          signal: "elm,state,item,enabled";
1189          source: "elm";
1190          action: STATE_SET "default" 0.0;
1191          target: "disclip";
1192          after: "enable_text";
1193       }
1194       program { name: "item_click2";
1195          signal: "mouse,down,1";
1196          source: "over2";
1197          script {
1198             new st[31];
1199             new Float:vl;
1200             get_state(PART:"elm.text", st, 30, vl);
1201             if (!strcmp(st, "visible"))
1202               set_state(PART:"elm.text", "clicked", 0.0);
1203             set_state(PART:"bg", "clicked", 0.0);
1204          }
1205       }
1206       program { name: "item_unclick2";
1207          signal: "mouse,up,1";
1208          source: "over2";
1209          script {
1210             new st[31];
1211             new Float:vl;
1212             get_state(PART:"elm.text", st, 30, vl);
1213             if (!strcmp(st, "clicked"))
1214               set_state(PART:"elm.text", "visible", 0.0);
1215             set_state(PART:"bg", "default", 0.0);
1216          }
1217       }
1218       program { name: "disable_text";
1219          script {
1220             new st[31];
1221             new Float:vl;
1222             get_state(PART:"elm.text", st, 30, vl);
1223             if (!strcmp(st, "visible"))
1224               set_state(PART:"elm.text", "disabled_visible", 0.0);
1225             else
1226               set_state(PART:"elm.text", "disabled", 0.0);
1227             set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1228          }
1229       }
1230       program { name: "enable_text";
1231          script {
1232             new st[31];
1233             new Float:vl;
1234             get_state(PART:"elm.text", st, 30, vl);
1235             if (!strcmp(st, "disabled_visible"))
1236               set_state(PART:"elm.text", "visible", 0.0);
1237             else
1238               set_state(PART:"elm.text", "default", 0.0);
1239             set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1240          }
1241       }
1242       program { name: "text_show";
1243          signal: "elm,state,item,text,visible";
1244          source: "elm";
1245          script {
1246             new st[31];
1247             new Float:vl;
1248             get_state(PART:"elm.swallow.content", st, 30, vl);
1249             if (!strcmp(st, "icononly")) {
1250                set_state(PART:"elm.swallow.content", "visible", 0.0);
1251                set_state(PART:"padding_icon_text", "visible", 0.0);
1252             }
1253             if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1254               set_state(PART:"elm.text", "visible", 0.0);
1255             else
1256               set_state(PART:"elm.text", "disabled_visible", 0.0);
1257          }
1258       }
1259       program { name: "text_hide";
1260          signal: "elm,state,item,text,hidden";
1261          source: "elm";
1262          script {
1263             new st[31];
1264             new Float:vl;
1265             get_state(PART:"elm.swallow.content", st, 30, vl);
1266             if (!strcmp(st, "visible")) {
1267                set_state(PART:"elm.swallow.content", "icononly", 0.0);
1268                set_state(PART:"padding_icon_text", "icononly", 0.0);
1269             }
1270             set_state(PART:"elm.text", "default", 0.0);
1271          }
1272       }
1273       program { name: "icon_show";
1274          signal: "elm,state,item,icon,visible";
1275          source: "elm";
1276          script {
1277             new st[31];
1278             new Float:vl;
1279             get_state(PART:"elm.text", st, 30, vl);
1280             if (!strcmp(st, "visible")) {
1281                set_state(PART:"elm.swallow.content", "visible", 0.0);
1282                set_state(PART:"padding_icon_text", "visible", 0.0);
1283             }
1284             else {
1285                set_state(PART:"elm.swallow.content", "icononly", 0.0);
1286                set_state(PART:"padding_icon_text", "icononly", 0.0);
1287             }
1288          }
1289       }
1290       program { name: "icon_hide";
1291          signal: "elm,state,item,icon,hidden";
1292          source: "elm";
1293          action:  STATE_SET "default" 0.0;
1294          target: "elm.swallow.content";
1295       }
1296    }
1297 }
1298
1299 /////////////////////////////////////////////////////////////////////////////////////////
1300 group { name: "elm/popup/item/landscape/default";
1301    inherit: "elm/popup/item/default";
1302    parts {
1303       part { name: "bg";
1304          type: RECT;
1305          mouse_events: 0;
1306          scale: 1;
1307          description { state: "default" 0.0;
1308             color: GENLIST_LIST_BG_COLOR;
1309             min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1310             align: 0.5 0.0;
1311          }
1312          description { state: "clicked" 0.0;
1313             color: GENLIST_LIST_PRESS_COLOR;
1314          }
1315       }
1316    }
1317 }
1318
1319 ////////////////////////////////////////////////////////////////////////////////////////
1320 group { name: "elm/label/base/popup/verticalbuttonstyle";
1321    styles
1322      {
1323         style { name: "popup_desc_style_center";
1324            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";
1325            tag:  "br" "\n";
1326            tag:  "ps" "ps";
1327            tag:  "whitecolor" "+ color=#ffffff";
1328            tag:  "tab" "\t";
1329         }
1330      }
1331    parts {
1332       part { name: "elm.text";
1333          type: TEXTBLOCK;
1334          mouse_events: 0;
1335          scale: 1;
1336          description { state: "default" 0.0;
1337             text {
1338                style: "popup_desc_style_center";
1339                min: 0 1;
1340                max: 0 1;
1341             }
1342          }
1343       }
1344    }
1345 }
1346
1347
1348 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1349    alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1350    data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1351    parts {
1352       part { name: "bg";
1353          type: SPACER;
1354          scale: 1;
1355          description { state: "default" 0.0;
1356             min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1357             fixed: 1 0;
1358          }
1359       }
1360       part { name: "elm.rect.pad_btn_top";
1361          type: SPACER;
1362          scale: 1;
1363          description { state: "default" 0.0;
1364             min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1365             fixed: 0 1;
1366             align: 0.0 0.0;
1367             rel1 {
1368                relative: 0.0 0.0;
1369             }
1370             rel2 {
1371                relative: 1.0 0.0;
1372             }
1373          }
1374       }
1375       part { name:"actionbtn1";
1376          type: SWALLOW;
1377          scale: 1;
1378          description { state: "default" 0.0;
1379             min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1380             max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1381             fixed: 1 1;
1382             align: 0.5 0.0;
1383             rel1 {
1384                relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1385             }
1386          }
1387       }
1388       part { name: "elm.rect.pad_btn";
1389          type: SPACER;
1390          scale: 1;
1391          description { state: "default" 0.0;
1392             min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1393             max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1394             fixed: 1 1;
1395             align: 0.5 0.0;
1396             rel1 {
1397                relative: 0.0 1.0; to: "actionbtn1";
1398             }
1399             rel2 {
1400                relative: 1.0 1.0; to: "actionbtn1";
1401             }
1402          }
1403       }
1404       part { name:"actionbtn2";
1405          type: SWALLOW;
1406          scale: 1;
1407          description { state: "default" 0.0;
1408             min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1409             max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1410             fixed: 1 1;
1411             align: 0.5 0.0;
1412             rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1413          }
1414       }
1415       part { name: "elm.rect.pad_btn2";
1416          type: SPACER;
1417          scale: 1;
1418          description { state: "default" 0.0;
1419             min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1420             max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1421             fixed: 1 1;
1422             align: 0.5 0.0;
1423             rel1 {
1424                relative: 0.0 1.0; to: "actionbtn2";
1425             }
1426             rel2 {
1427                relative: 1.0 1.0; to: "actionbtn2";
1428             }
1429          }
1430       }
1431       part { name:"actionbtn3";
1432          type: SWALLOW;
1433          scale: 1;
1434          description { state: "default" 0.0;
1435             min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1436             max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1437             fixed: 1 1;
1438             align: 0.5 0.0;
1439             rel1 {
1440                relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1441             }
1442          }
1443       }
1444    }
1445 }
1446
1447 group { name: "elm/popup/content/menustyle";
1448    alias: "elm/popup/content/menustyle_transparent";
1449    parts{
1450       part { name: "left_padding";
1451          type: SPACER;
1452          scale: 1;
1453          description { state: "default" 0.0;
1454             fixed: 1 0;
1455             align: 0.0 0.5;
1456             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1457             rel1 {
1458                relative: 0.0 0.0;
1459             }
1460             rel2 {
1461                relative: 0.0 1.0;
1462             }
1463          }
1464       }
1465       part{ name:"elm.swallow.content";
1466          type: SWALLOW;
1467          scale: 1;
1468          description { state: "default" 0.0;
1469             min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1470             max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1471             align: 0.5 0.5;
1472             fixed: 1 0;
1473             rel1 {
1474                relative: 1.0 0.0;
1475                to:"left_padding";
1476             }
1477             rel2 {
1478                relative: 0.0 1.0;
1479                to:"right_padding";
1480             }
1481          }
1482       }
1483       part { name: "right_padding";
1484          type: SPACER;
1485          scale: 1;
1486          description { state: "default" 0.0;
1487             fixed: 1 0;
1488             align: 1.0 0.5;
1489             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1490             rel1 {
1491                relative: 1.0 0.0;
1492             }
1493             rel2 {
1494                relative: 1.0 1.0;
1495             }
1496          }
1497       }
1498    }
1499 }
1500
1501 group { name: "elm/popup/content/min_menustyle";
1502    alias: "elm/popup/content/min_menustyle_transparent";
1503    parts{
1504       part { name: "left_padding";
1505          type: SPACER;
1506          scale: 1;
1507          description { state: "default" 0.0;
1508             fixed: 1 0;
1509             align: 0.0 0.5;
1510             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1511             rel1 {
1512                relative: 0.0 0.0;
1513             }
1514             rel2 {
1515                relative: 0.0 1.0;
1516             }
1517          }
1518       }
1519       part{ name:"elm.swallow.content";
1520          type: SWALLOW;
1521          scale: 1;
1522          description { state: "default" 0.0;
1523             min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1524             align: 0.5 0.5;
1525             fixed: 1 0;
1526             rel1 {
1527                relative: 1.0 0.0;
1528                to:"left_padding";
1529             }
1530             rel2 {
1531                relative: 0.0 1.0;
1532                to:"right_padding";
1533             }
1534          }
1535       }
1536       part { name: "right_padding";
1537          type: SPACER;
1538          scale: 1;
1539          description { state: "default" 0.0;
1540             fixed: 1 0;
1541             align: 1.0 0.5;
1542             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1543             rel1 {
1544                relative: 1.0 0.0;
1545             }
1546             rel2 {
1547                relative: 1.0 1.0;
1548             }
1549          }
1550       }
1551    }
1552 }
1553
1554 group { name: "elm/popup/content/liststyle";
1555    alias: "elm/popup/content/liststyle_transparent";
1556    parts{
1557       part { name: "left_top_padding";
1558          type: SPACER;
1559          scale: 1;
1560          description { state: "default" 0.0;
1561             fixed: 1 1;
1562             align: 0.0 0.0;
1563             min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1564             max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1565          }
1566       }
1567       part{ name:"elm.swallow.content";
1568          type: SWALLOW;
1569          scale: 1;
1570          description { state: "default" 0.0;
1571             min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1572             max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1573             align: 0.5 0.5;
1574             fixed: 1 0;
1575             rel1 {
1576                relative: 1.0 1.0;
1577                to:"left_top_padding";
1578             }
1579             rel2 {
1580                relative: 0.0 1.0;
1581                to:"right_padding";
1582             }
1583          }
1584       }
1585       part { name: "right_padding";
1586          type: SPACER;
1587          scale: 1;
1588          description { state: "default" 0.0;
1589             fixed: 1 0;
1590             align: 1.0 0.5;
1591             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1592             rel1 {
1593                relative: 1.0 0.0;
1594             }
1595             rel2 {
1596                relative: 1.0 1.0;
1597             }
1598          }
1599       }
1600    }
1601 }
1602
1603 group { name: "elm/popup/content/min_liststyle";
1604    alias: "elm/popup/content/min_liststyle_transparent";
1605    parts{
1606       part { name: "left_top_padding";
1607          type: SPACER;
1608          scale: 1;
1609          description { state: "default" 0.0;
1610             fixed: 1 1;
1611             align: 0.0 0.0;
1612             min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1613             max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1614          }
1615       }
1616       part{ name:"elm.swallow.content";
1617          type: SWALLOW;
1618          scale: 1;
1619          description { state: "default" 0.0;
1620             min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1621             align: 0.5 0.5;
1622             fixed: 1 0;
1623             rel1 {
1624                relative: 1.0 1.0;
1625                to:"left_top_padding";
1626             }
1627             rel2 {
1628                relative: 0.0 1.0;
1629                to:"right_padding";
1630             }
1631          }
1632       }
1633       part { name: "right_padding";
1634          type: SPACER;
1635          scale: 1;
1636          description { state: "default" 0.0;
1637             fixed: 1 0;
1638             align: 1.0 0.5;
1639             min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1640             rel1 {
1641                relative: 1.0 0.0;
1642             }
1643             rel2 {
1644                relative: 1.0 1.0;
1645             }
1646          }
1647       }
1648    }
1649 }
1650
1651
1652 group { name: "elm/popup/buttons1/default";
1653    alias: "elm/popup/buttons1/transparent";
1654    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1655    parts{
1656       part{ name:"actionbtn1";
1657          type: SWALLOW;
1658          scale: 1;
1659          description { state: "default" 0.0;
1660             min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1661             max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1662             fixed: 1 1;
1663             rel1.relative: 0.5 0.0;
1664             rel2.relative: 0.5 1.0;
1665          }
1666       }
1667    }
1668 }
1669
1670 group { name: "elm/popup/buttons2/default";
1671    alias: "elm/popup/buttons2/transparent";
1672    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1673    parts{
1674       part { name: "left_pad_btn";
1675          type: SPACER;
1676          scale: 1;
1677          description { state: "default" 0.0;
1678             min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1679             max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1680             fixed: 1 1;
1681             align: 0 0.5;
1682             rel1.relative: 0.0 0.0;
1683          }
1684       }
1685       part { name: "right_pad_btn";
1686          type: SPACER;
1687          scale: 1;
1688          description { state: "default" 0.0;
1689             min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1690             max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1691             fixed: 1 1;
1692             align: 1 0.5;
1693             rel2.relative: 1.0 1.0;
1694          }
1695       }
1696       part { name:"actionbtn1";
1697          type: SWALLOW;
1698          scale: 1;
1699          description { state: "default" 0.0;
1700             fixed: 1 1;
1701             align: 1.0 0.5;
1702             rel1 {
1703                relative: 1.0 0.0;
1704                to: "left_pad_btn";
1705             }
1706             rel2 {
1707                relative: 0.0 1.0;
1708                to: "elm.rect.pad_btn";
1709             }
1710          }
1711       }
1712       part { name: "elm.rect.pad_btn";
1713          type: SPACER;
1714          scale: 1;
1715          description { state: "default" 0.0;
1716             min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1717             max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1718             fixed: 1 1;
1719             rel1.relative: 0.5 0.0;
1720             rel2.relative: 0.5 1.0;
1721          }
1722       }
1723       part { name:"actionbtn2";
1724          type: SWALLOW;
1725          scale: 1;
1726          description { state: "default" 0.0;
1727             fixed: 1 1;
1728             align: 0.0 0.5;
1729             rel1 {
1730                relative: 1.0 0.0;
1731                to: "elm.rect.pad_btn";
1732             }
1733             rel2 {
1734                relative: 0.0 1.0;
1735                to: "right_pad_btn";
1736             }
1737          }
1738       }
1739    }
1740 }
1741
1742 group { name: "elm/popup/buttons3/default";
1743    alias: "elm/popup/buttons3/menustyle";
1744    alias: "elm/popup/buttons3/transparent";
1745    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1746    parts{
1747       part { name: "left_pad_btn";
1748          type: SPACER;
1749          scale: 1;
1750          description { state: "default" 0.0;
1751             min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1752             max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1753             fixed: 1 1;
1754             align: 0 0.5;
1755             rel1.relative: 0.0 0.0;
1756          }
1757       }
1758       part { name: "right_pad_btn";
1759          type: SPACER;
1760          scale: 1;
1761          description { state: "default" 0.0;
1762             min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1763             max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1764             fixed: 1 1;
1765             align: 1 0.5;
1766             rel2.relative: 1.0 1.0;
1767          }
1768       }
1769       part { name: "btn_area";
1770          type: SPACER;
1771          scale: 1;
1772          description { state: "default" 0.0;
1773             fixed: 1 1;
1774             rel1 {
1775                relative: 1.0 0.0;
1776                to: "left_pad_btn";
1777             }
1778             rel2 {
1779                relative: 0.0 1.0;
1780                to: "right_pad_btn";
1781             }
1782          }
1783       }
1784       part{ name:"actionbtn1";
1785          type: SWALLOW;
1786          scale: 1;
1787          description { state: "default" 0.0;
1788             fixed: 1 1;
1789             align: 1.0 0.5;
1790             rel1 {
1791                relative: 1.0 0.0;
1792                to: "left_pad_btn";
1793             }
1794             rel2 {
1795                relative: 0.0 1.0;
1796                to: "elm.rect.pad_btn";
1797             }
1798          }
1799       }
1800       part { name: "elm.rect.pad_btn";
1801          type: SPACER;
1802          scale: 1;
1803          description { state: "default" 0.0;
1804             min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1805             max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1806             fixed: 1 1;
1807             rel1.relative: 0.33 0.0;
1808             rel1.to: "btn_area";
1809             rel2.relative: 0.33 1.0;
1810             rel2.to: "btn_area";
1811          }
1812       }
1813       part{ name:"actionbtn2";
1814          type: SWALLOW;
1815          scale: 1;
1816          description { state: "default" 0.0;
1817             fixed: 1 1;
1818             rel1 {
1819                relative: 1.0 0.0;
1820                to: "elm.rect.pad_btn";
1821             }
1822             rel2 {
1823                relative: 0.0 1.0;
1824                to: "elm.rect.pad_btn2";
1825             }
1826          }
1827       }
1828       part { name: "elm.rect.pad_btn2";
1829          type: SPACER;
1830          scale: 1;
1831          description { state: "default" 0.0;
1832             min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1833             max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1834             fixed: 1 1;
1835             rel1.relative: 0.67 0.0;
1836             rel1.to: "btn_area";
1837             rel2.relative: 0.67 1.0;
1838             rel2.to: "btn_area";
1839          }
1840       }
1841       part{ name:"actionbtn3";
1842          type: SWALLOW;
1843          scale: 1;
1844          description { state: "default" 0.0;
1845             fixed: 1 1;
1846             align: 0.0 0.5;
1847             rel1 {
1848                relative: 1.0 0.0;
1849                to: "elm.rect.pad_btn2";
1850             }
1851             rel2 {
1852                relative: 0.0 1.0;
1853                to: "right_pad_btn";
1854             }
1855          }
1856       }
1857    }
1858 }
1859
1860 group { name: "elm/popup/base/volumebarstyle";
1861    inherit: "elm/popup/base/default";
1862    alias: "elm/popup/base/volumebarstyle_transparent";
1863    images {
1864       image: "00_popup_bg.png" COMP;
1865    }
1866    parts {
1867       part { name: "elm.swallow.content";
1868          type: SWALLOW;
1869          scale: 1;
1870          description { state: "default" 0.0;
1871             min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1872             fixed: 1 0;
1873             rel1 {
1874                relative: 0.0 1.0;
1875                to_x: "base";
1876                to_y: "shadow_left_top_padding";
1877             }
1878             rel2 {
1879                relative: 1.0 0.0;
1880                to_x: "base";
1881                to_y: "shadow_right_bottom_padding";
1882             }
1883          }
1884          description { state: "show_title_area" 0.0;
1885             inherit: "default" 0.0;
1886             rel1 {
1887                relative: 0.0 1.0;
1888                to_x: "base";
1889                to_y: "elm.bg.title";
1890             }
1891             rel2 {
1892                relative: 1.0 0.0;
1893                to_x: "base";
1894                to_y: "shadow_right_bottom_padding";
1895             }
1896          }
1897          description { state: "show_action_area" 0.0;
1898             inherit: "default" 0.0;
1899             rel1 {
1900                relative: 0.0 1.0;
1901                to_x: "base";
1902                to_y: "shadow_left_top_padding";
1903             }
1904             rel2 {
1905                relative: 1.0 0.0;
1906                to_x: "base";
1907                to_y: "elm.swallow.action_area";
1908             }
1909          }
1910          description { state: "show_action_title_area" 0.0;
1911             inherit: "default" 0.0;
1912             rel1 {
1913                relative: 0.0 1.0;
1914                to_x: "base";
1915                to_y: "elm.bg.title";
1916             }
1917             rel2 {
1918                relative: 1.0 0.0;
1919                to_x: "base";
1920                to_y: "elm.swallow.action_area";
1921             }
1922          }
1923       }
1924    }
1925 }
1926
1927 group { name: "elm/popup/base/volumebarstyle_text";
1928    alias: "elm/popup/base/volumebarstyle_text_transparent";
1929    inherit: "elm/popup/base/volumebarstyle";
1930    parts {
1931       part { name: "elm.swallow.content";
1932          type: SWALLOW;
1933          scale: 1;
1934          description { state: "default" 0.0;
1935             min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
1936             fixed: 1 0;
1937             rel1 {
1938                relative: 0.0 1.0;
1939                to_x: "base";
1940                to_y: "shadow_left_top_padding";
1941             }
1942             rel2 {
1943                relative: 1.0 0.0;
1944                to_x: "base";
1945                to_y: "shadow_right_bottom_padding";
1946             }
1947          }
1948          description { state: "show_title_area" 0.0;
1949             inherit: "default" 0.0;
1950             rel1 {
1951                relative: 0.0 1.0;
1952                to_x: "base";
1953                to_y: "elm.bg.title";
1954             }
1955             rel2 {
1956                relative: 1.0 0.0;
1957                to_x: "base";
1958                to_y: "shadow_right_bottom_padding";
1959             }
1960          }
1961          description { state: "show_action_area" 0.0;
1962             inherit: "default" 0.0;
1963             rel1 {
1964                relative: 0.0 1.0;
1965                to_x: "base";
1966                to_y: "shadow_left_top_padding";
1967             }
1968             rel2 {
1969                relative: 1.0 0.0;
1970                to_x: "base";
1971                to_y: "elm.swallow.action_area";
1972             }
1973          }
1974          description { state: "show_action_title_area" 0.0;
1975             inherit: "default" 0.0;
1976             rel1 {
1977                relative: 0.0 1.0;
1978                to_x: "base";
1979                to_y: "elm.bg.title";
1980             }
1981             rel2 {
1982                relative: 1.0 0.0;
1983                to_x: "base";
1984                to_y: "elm.swallow.action_area";
1985             }
1986          }
1987       }
1988    }
1989 }
1990
1991 group { name: "elm/popup/base/content_expand";
1992    alias: "elm/popup/base/content_expand_transparent";
1993    images {
1994       image: "00_popup_bg.png" COMP;
1995    }
1996    parts {
1997       part {
1998          name: "shadow_right_bottom_padding";
1999          type: SPACER;
2000          scale: 1;
2001          description { state: "default" 0.0;
2002             min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2003             max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2004             align: 1.0 1.0;
2005             fixed: 1 1;
2006          }
2007       }
2008       part { name: "base";
2009          type: IMAGE;
2010          scale: 1;
2011          description { state: "default" 0.0;
2012             rel1.to_x: "elm.swallow.content";
2013             rel2.to_x: "elm.bg.action_area";
2014             image {
2015                normal: "00_popup_bg.png";
2016                border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2017                border_scale: 1;
2018             }
2019             fill.smooth: 0;
2020             align: 0.0 0.0;
2021          }
2022       }
2023       part { name: "access.base";
2024          type: RECT;
2025          description { state: "default" 0.0;
2026             fixed: 1 1;
2027             rel1.to: "base";
2028             rel2.to: "base";
2029             color: 0 0 0 0;
2030          }
2031       }
2032       part { name: "elm.bg.title";
2033          type: RECT;
2034          scale: 1;
2035          description { state: "default" 0.0;
2036             min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2037             fixed: 0 1;
2038             align: 0.5 0.0;
2039             visible: 0;
2040             color: 0 0 0 0;
2041             rel1.to_x: "base";
2042             rel2 {
2043                relative: 1.0 0.0;
2044                to_x: "base";
2045             }
2046          }
2047          description { state: "visible" 0.0;
2048             inherit: "default" 0.0;
2049             visible: 1;
2050          }
2051       }
2052       part { name: "left_pad";
2053          type: SPACER;
2054          scale: 1;
2055          description { state: "default" 0.0;
2056             min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2057             max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2058             fixed: 1 1;
2059             align: 0.0 0.0;
2060             rel1.to: "elm.bg.title";
2061          }
2062       }
2063       part { name: "right_pad";
2064          type: SPACER;
2065          scale: 1;
2066          description { state: "default" 0.0;
2067             min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2068             max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2069             fixed: 1 1;
2070             align: 1.0 1.0;
2071             rel2.to: "elm.bg.title";
2072          }
2073       }
2074       part { name: "elm.swallow.title.icon";
2075          type: SWALLOW;
2076          scale: 1;
2077          description { state: "default" 0.0;
2078             min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2079             max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2080             fixed: 1 1;
2081             align: 0.0 0.5;
2082             rel1 {
2083                to: "left_pad";
2084                relative: 1.0 0.0;
2085             }
2086             rel2 {
2087                to: "right_pad";
2088                relative: 0.0 1.0;
2089             }
2090             visible: 0;
2091          }
2092          description { state: "visible" 0.0;
2093             inherit: "default" 0.0;
2094             visible: 1;
2095          }
2096       }
2097       part { name: "elm.text.title";
2098          type: TEXTBLOCK;
2099          scale:1;
2100          description { state: "default" 0.0;
2101             text {
2102               style: "popup_title_style";
2103               size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2104               size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2105               fit: 1 0;
2106               min: 0 1;
2107               align: 0.0 0.0;
2108             }
2109             visible: 0;
2110             rel1 {
2111                relative: 1.0 1.0;
2112                to: "left_pad";
2113             }
2114             rel2 {
2115                relative: 0.0 1.0;
2116                to: "right_pad";
2117             }
2118          }
2119          description { state: "visible" 0.0;
2120             inherit: "default" 0.0;
2121             visible: 1;
2122          }
2123       }
2124       part { name: "elm.swallow.content";
2125          type: SWALLOW;
2126          scale: 1;
2127          description { state: "default" 0.0;
2128             min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2129             max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2130             rel1.relative: 0.5 0.0;
2131             rel2.relative: 0.5 1.0;
2132          }
2133          description { state: "show_title_area" 0.0;
2134             inherit: "default" 0.0;
2135             rel1 {
2136                relative: 0.5 1.0;
2137                to_y: "elm.bg.title";
2138             }
2139          }
2140          description { state: "show_action_area" 0.0;
2141             inherit: "default" 0.0;
2142             rel2 {
2143                relative: 0.5 0.0;
2144                to_y: "elm.bg.action_area";
2145             }
2146          }
2147          description { state: "show_action_title_area" 0.0;
2148             inherit: "default" 0.0;
2149             rel1 {
2150                relative: 0.5 1.0;
2151                to_y: "elm.bg.title";
2152             }
2153             rel2 {
2154                relative: 0.5 0.0;
2155                to_y: "elm.bg.action_area";
2156             }
2157          }
2158       }
2159       part { name: "elm.bg.action_area";
2160          type: RECT;
2161          scale: 1;
2162          description { state: "default" 0.0;
2163             min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2164             fixed: 0 1;
2165             align: 0.5 1.0;
2166             visible: 0;
2167             rel1 {
2168                relative: 0.0 0.0;
2169                to_y: "shadow_right_bottom_padding";
2170             }
2171             rel2 {
2172                relative: 1.0 0.0;
2173                to_y: "shadow_right_bottom_padding";
2174             }
2175             color: 0 0 0 0;
2176          }
2177          description { state: "visible" 0.0;
2178             inherit: "default" 0.0;
2179             visible: 1;
2180          }
2181       }
2182       part { name: "elm.swallow.action_area";
2183          type: SWALLOW;
2184          scale: 1;
2185          description { state: "default" 0.0;
2186             rel1.to: "elm.bg.action_area";
2187             rel2.to: "elm.bg.action_area";
2188          }
2189       }
2190    }
2191    programs {
2192       program { name: show_title_icon;
2193          signal: "elm,state,title,icon,visible";
2194          source: "elm";
2195          action: STATE_SET "visible" 0.0;
2196          target: "elm.swallow.title.icon";
2197       }
2198       program { name: hide_title_icon;
2199          signal: "elm,state,title,icon,hidden";
2200          source: "elm";
2201          action: STATE_SET "default" 0.0;
2202          target: "elm.swallow.title.icon";
2203       }
2204       program { name: show_title_text;
2205          signal: "elm,state,title,text,visible";
2206          source: "elm";
2207          action: STATE_SET "visible" 0.0;
2208          target: "elm.text.title";
2209       }
2210       program { name: hide_title_text;
2211          signal: "elm,state,title,text,hidden";
2212          source: "elm";
2213          action: STATE_SET "default" 0.0;
2214          target: "elm.text.title";
2215       }
2216       program { name: show_title_area;
2217          signal: "elm,state,title_area,visible";
2218          source: "elm";
2219          script {
2220             new st[31];
2221             new Float:vl;
2222             get_state(PART:"elm.swallow.action_area", st, 30, vl);
2223             if (!strcmp(st, "visible"))
2224               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2225             else
2226               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2227             set_state(PART:"elm.bg.title", "visible", 0.0);
2228          }
2229       }
2230       program { name: hide_title_area;
2231          signal: "elm,state,title_area,hidden";
2232          source: "elm";
2233          action: STATE_SET "default" 0.0;
2234          script {
2235             new st[31];
2236             new Float:vl;
2237             get_state(PART:"elm.swallow.action_area", st, 30, vl);
2238             if (!strcmp(st, "visible"))
2239               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2240             else
2241               set_state(PART:"elm.swallow.content", "default", 0.0);
2242             set_state(PART:"elm.bg.title", "default", 0.0);
2243          }
2244       }
2245       program { name: show_action_area;
2246          signal: "elm,state,action_area,visible";
2247          source: "elm";
2248          script {
2249             new st[31];
2250             new Float:vl;
2251             get_state(PART:"elm.bg.title", st, 30, vl);
2252             if (!strcmp(st, "visible"))
2253               set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2254             else
2255               set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2256             set_state(PART:"elm.bg.action_area", "visible", 0.0);
2257          }
2258       }
2259       program { name: hide_action_area;
2260          signal: "elm,state,action_area,hidden";
2261          source: "elm";
2262          action: STATE_SET "default" 0.0;
2263          script {
2264             new st[31];
2265             new Float:vl;
2266             get_state(PART:"elm.bg.title", st, 30, vl);
2267             if (!strcmp(st, "visible"))
2268               set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2269             else
2270               set_state(PART:"elm.swallow.content", "default", 0.0);
2271             set_state(PART:"elm.bg.action_area", "default", 0.0);
2272          }
2273       }
2274    }
2275 }
2276
2277 group { name: "elm/popup/buttons1/content_expand";
2278    alias: "elm/popup/buttons1/content_expand_transparent";
2279    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2280    parts{
2281       part{ name:"actionbtn1";
2282          type: SWALLOW;
2283          scale: 1;
2284          description { state: "default" 0.0;
2285             rel1.relative: 0.2 0.1;
2286             rel2.relative: 0.8 0.9;
2287          }
2288       }
2289    }
2290 }
2291
2292 group { name: "elm/popup/buttons2/content_expand";
2293    alias: "elm/popup/buttons2/content_expand_transparent";
2294    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2295    parts{
2296       part{ name:"actionbtn1";
2297          type: SWALLOW;
2298          scale: 1;
2299          description { state: "default" 0.0;
2300             align: 0.0 0.5;
2301             rel1.relative: 0.1 0.1;
2302             rel2.relative: 0.45 0.9;
2303          }
2304       }
2305       part{ name:"actionbtn2";
2306          type: SWALLOW;
2307          scale: 1;
2308          description { state: "default" 0.0;
2309             align: 0.0 0.5;
2310             rel1.relative: 0.55 0.1;
2311             rel2.relative: 0.9 0.9;
2312          }
2313       }
2314    }
2315 }
2316
2317 group { name: "elm/popup/buttons3/content_expand";
2318    alias: "elm/popup/buttons3/content_expand_transparent";
2319    data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2320    parts{
2321       part{ name:"actionbtn1";
2322          type: SWALLOW;
2323          scale: 1;
2324          description { state: "default" 0.0;
2325             align: 0.0 0.5;
2326             rel1.relative: 0.05 0.1;
2327             rel2.relative: 0.3 0.9;
2328          }
2329       }
2330       part{ name:"actionbtn2";
2331          type: SWALLOW;
2332          scale: 1;
2333          description { state: "default" 0.0;
2334             align: 0.0 0.5;
2335             rel1.relative: 0.375 0.1;
2336             rel2.relative: 0.625 0.9;
2337          }
2338       }
2339       part{ name:"actionbtn3";
2340          type: SWALLOW;
2341          scale: 1;
2342          description { state: "default" 0.0;
2343             align: 0.0 0.5;
2344             rel1.relative: 0.7 0.1;
2345             rel2.relative: 0.95 0.9;
2346          }
2347       }
2348    }
2349 }
2350
2351 group { name: "elm/popup/item/content_expand";
2352    alias: "elm/popup/item/content_expand_transparent";
2353    inherit: "elm/popup/item/default";
2354    parts {
2355       part { name: "bg";
2356          mouse_events: 0;
2357          type: RECT;
2358          description { state: "default" 0.0;
2359             color: 240 240 240 255;
2360             min: 620 112;
2361             align: 0.5 0.0;
2362          }
2363          description { state: "clicked" 0.0;
2364             color: 190 170 150 255;
2365          }
2366       }
2367    }
2368 }
2369
2370 group { name: "elm/popup/content/content_expand";
2371    alias: "elm/popup/content/content_expand_transparent";
2372    parts{
2373       part{ name:"elm.swallow.content";
2374          type: SWALLOW;
2375          scale: 1;
2376          description { state: "default" 0.0;
2377          }
2378       }
2379    }
2380 }
2381
2382 #undef POPUP_ITEM_STATE_ENABLED
2383 #undef POPUP_ITEM_STATE_DISABLED