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