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