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