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