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