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