3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 #define POPUP_ITEM_STATE_ENABLED 0
21 #define POPUP_ITEM_STATE_DISABLED 1
23 /*popup widget specific notify style style*/
24 group { name: "elm/notify/center/popup";
25 alias: "elm/notify/center/verticalbuttonstyle";
26 alias: "elm/notify/center/menustyle";
27 alias: "elm/notify/center/min_menustyle";
28 alias: "elm/notify/center/liststyle";
29 alias: "elm/notify/center/min_liststyle";
30 alias: "elm/notify/center/customstyle";
31 alias: "elm/notify/center/volumebarstyle";
32 alias: "elm/notify/center/volumebarstyle_text";
33 alias: "elm/notify/center/content_expand";
34 alias: "elm/notify/center/content_no_vhpad";
35 alias: "elm/notify/center/dimrect";
36 alias: "elm/notify/center/indicator_norepeatevent";
41 description { state: "default" 0.0;
43 rel1.relative: 0.0 0.0;
44 rel2.relative: 1.0 1.0;
49 description { state: "default" 0.0;
61 part { name: "persp1";
63 description { state: "default" 0.0;
75 part { name: "elm.swallow.content";
79 description { state: "default" 0.0;
86 color[0]: 248 246 239 0;
87 color[1]: 248 246 239 0;
88 color[2]: 248 246 239 0;
89 color[3]: 248 246 239 0;
92 description { state: "visible" 0.0;
97 perspective: "persp1";
101 description { state: "end" 0.0;
110 part { name: "clipper";
113 description { state: "default" 0.0;
123 program { name: "show";
124 signal: "elm,action,show";
126 action: STATE_SET "default" 0.0;
127 target: "elm.swallow.content";
129 program { name: "show_1";
131 action: STATE_SET "default" 0.0;
132 target: "elm.swallow.content";
136 program { name: "end";
137 action: STATE_SET "visible" 0.0;
138 target: "elm.swallow.content";
139 transition: SIN_FAC 0.33 1.4;
142 program { name: "end2";
143 action: STATE_SET "end" 0.0;
144 target: "elm.swallow.content";
146 program { name: "hide";
147 signal: "elm,action,hide";
149 action: STATE_SET "default" 0.0;
150 target: "elm.swallow.content";
155 group { name: "elm/notify/center/transparent";
156 inherit: "elm/notify/center/popup";
157 alias: "elm/notify/center/verticalbuttonstyle_transparent";
158 alias: "elm/notify/center/menustyle_transparent";
159 alias: "elm/notify/center/min_menustyle_transparent";
160 alias: "elm/notify/center/liststyle_transparent";
161 alias: "elm/notify/center/min_liststyle_transparent";
162 alias: "elm/notify/center/customstyle_transparent";
163 alias: "elm/notify/center/volumebarstyle_transparent";
164 alias: "elm/notify/center/volumebarstyle_text_transparent";
165 alias: "elm/notify/center/content_expand_transparent";
166 alias: "elm/notify/center/content_no_vhpad_transparent";
168 part { name: "elm.swallow.content";
171 description { state: "default" 0.0;
174 description { state: "visible" 0.0;
177 description { state: "end" 0.0;
184 group { name: "elm/notify/block_events/popup";
185 alias: "elm/notify/block_events/verticalbuttonstyle";
186 alias: "elm/notify/block_events/menustyle";
187 alias: "elm/notify/block_events/min_menustyle";
188 alias: "elm/notify/block_events/liststyle";
189 alias: "elm/notify/block_events/min_liststyle";
190 alias: "elm/notify/block_events/customstyle";
191 alias: "elm/notify/block_events/volumebarstyle";
192 alias: "elm/notify/block_events/volumebarstyle_text";
193 alias: "elm/notify/block_events/content_expand";
194 alias: "elm/notify/block_events/content_no_vhpad";
196 part {name: "popup_indicator";
200 description { state: "default" 0.0;
203 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
204 rel2.relative: 1.0 0.0;
205 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
207 description { state: "show" 0.0;
208 inherit: "default" 0.0;
209 color: POPUP_DIM_BG_COLOR_INC;
211 description { state: "clicked" 0.0;
212 inherit: "default" 0.0;
213 color: POPUP_DIM_BG_CLICKED_COLOR_INC;
216 part { name: "block_events_color";
219 description { state: "default" 0.0;
222 to: "popup_indicator";
224 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
226 description { state: "show" 0.0;
227 inherit: "default" 0.0;
228 color: POPUP_DIM_BG_COLOR_INC;
230 description { state: "clicked" 0.0;
231 inherit: "default" 0.0;
232 color: POPUP_DIM_BG_CLICKED_COLOR_INC;
237 program { name: "show";
238 signal: "elm,action,show";
240 action: STATE_SET "default" 0.0;
241 target: "block_events_color";
242 target: "popup_indicator";
244 program { name: "show1";
246 action: STATE_SET "show" 0.0;
247 transition: SIN_FAC 0.33 0.5;
248 target: "block_events_color";
249 target: "popup_indicator";
251 program { name: "block_clicked";
252 signal: "mouse,clicked,1";
253 source: "block_events_color";
254 action: SIGNAL_EMIT "elm,action,click" "elm";
255 after: "deeper_block_color";
257 program { name: "indicator_clicked";
258 signal: "mouse,clicked,1";
259 source: "popup_indicator";
260 action: SIGNAL_EMIT "elm,action,click" "elm";
261 after: "deeper_block_color";
264 name: "deeper_block_color";
265 action: STATE_SET "clicked" 0.0;
266 target: "block_events_color";
267 target: "popup_indicator";
268 transition: LINEAR 0.2;
269 after: "default_block_color";
272 name: "default_block_color";
273 action: STATE_SET "show" 0.0;
274 target: "block_events_color";
275 target: "popup_indicator";
276 transition: LINEAR 0.2;
281 group { name: "elm/notify/block_events/indicator_norepeatevent";
282 inherit: "elm/notify/block_events/popup";
284 part { name: "popup_indicator";
288 description { state: "default" 0.0;
291 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
292 rel2.relative: 1.0 0.0;
293 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
295 description { state: "show" 0.0;
296 inherit: "default" 0.0;
297 color: POPUP_DIM_BG_COLOR_INC;
299 description { state: "clicked" 0.0;
300 inherit: "default" 0.0;
301 color: POPUP_DIM_BG_CLICKED_COLOR_INC;
307 group { name: "elm/notify/block_events/transparent";
308 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
309 alias: "elm/notify/block_events/menustyle_transparent";
310 alias: "elm/notify/block_events/min_menustyle_transparent";
311 alias: "elm/notify/block_events/liststyle_transparent";
312 alias: "elm/notify/block_events/min_liststyle_transparent";
313 alias: "elm/notify/block_events/customstyle_transparent";
314 alias: "elm/notify/block_events/volumebarstyle_transparent";
315 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
316 alias: "elm/notify/block_events/content_expand_transparent";
317 alias: "elm/notify/block_events/content_no_vhpad_transparent";
319 part {name: "popup_indicator";
323 description { state: "default" 0.0;
326 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
327 rel2.relative: 1.0 0.0;
328 color: POPUP_DIM_BG_TRANS_COLOR_INC;
331 part { name: "block_events";
333 description { state: "default" 0.0;
336 to: "popup_indicator";
338 color: POPUP_DIM_BG_TRANS_COLOR_INC;
344 group { name: "elm/notify/block_events/indicator_norepeatevent_transparent";
345 inherit: "elm/notify/block_events/transparent";
347 part {name: "popup_indicator";
351 description { state: "default" 0.0;
354 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
355 rel2.relative: 1.0 0.0;
356 color: POPUP_DIM_BG_TRANS_COLOR_INC;
362 group { name: "elm/notify/block_events/dimrect";
363 inherit: "elm/notify/block_events/transparent";
365 part {name: "popup_indicator";
369 description { state: "default" 0.0;
372 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
373 rel2.relative: 1.0 0.0;
374 color: POPUP_DIM_BG_COLOR_INC;
376 description { state: "clicked" 0.0;
377 inherit: "default" 0.0;
378 color: POPUP_DIM_BG_CLICKED_COLOR_INC;
381 part { name: "block_events";
383 description { state: "default" 0.0;
386 to: "popup_indicator";
388 color: POPUP_DIM_BG_COLOR_INC;
390 description { state: "clicked" 0.0;
391 inherit: "default" 0.0;
392 color: POPUP_DIM_BG_CLICKED_COLOR_INC;
398 group { name: "elm/label/base/popup/default";
399 alias: "elm/label/base/popup/content_expand";
400 alias: "elm/label/base/popup/transparent";
402 style { name: "popup_desc_style";
403 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";
406 tag: "whitecolor" "+ color=#ffffff";
411 part { name: "elm.text";
415 description { state: "default" 0.0;
416 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_W POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_H;
417 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_W POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_H;
419 style: "popup_desc_style";
427 group { name: "elm/popup/base/default";
428 alias: "elm/popup/base/transparent";
429 alias: "elm/popup/base/customstyle";
430 alias: "elm/popup/base/customstyle_transparent";
431 alias: "elm/popup/base/liststyle";
432 alias: "elm/popup/base/menustyle";
433 alias: "elm/popup/base/indicator_norepeatevent";
435 image: "00_popup_bg.png" COMP;
436 image: "00_popup_button_bg.png" COMP;
437 image: "00_popup_title_bg.png" COMP;
440 style { name: "popup_title_style";
441 base: "font=Tizen:style=Bold 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";
448 name:"shadow_left_top_padding";
451 description { state: "default" 0.0;
452 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
453 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
459 name:"shadow_right_bottom_padding";
462 description { state: "default" 0.0;
463 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
464 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
471 description { state: "default" 0.0;
472 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
473 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
475 normal: "00_popup_bg.png";
476 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
481 description { state: "landscape" 0.0;
482 inherit: "default" 0.0;
483 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
484 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
487 part { name: "elm.bg.title";
489 description { state: "default" 0.0;
490 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
491 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
496 normal: "00_popup_title_bg.png";
497 border: POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC;
502 to: "shadow_left_top_padding";
506 to_x: "shadow_right_bottom_padding";
507 to_y: "shadow_left_top_padding";
511 description { state: "visible" 0.0;
512 inherit: "default" 0.0;
515 description { state: "landscape" 0.0;
516 inherit: "default" 0.0;
517 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
518 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
520 description { state: "landscape_visible" 0.0;
521 inherit: "landscape" 0.0;
525 part { name: "action_top_padding";
528 description { state: "default" 0.0;
529 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
530 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
535 to_y: "shadow_left_top_padding";
539 to_y: "shadow_left_top_padding";
543 part { name: "label_top_padding";
546 description { state: "default" 0.0;
553 to_y: "shadow_left_top_padding";
557 to_y: "shadow_left_top_padding";
561 part { name: "label_bottom_padding";
564 description { state: "default" 0.0;
571 to_y: "shadow_right_bottom_padding";
575 to_y: "shadow_right_bottom_padding";
579 part { name: "title_left_top_padding";
582 description { state: "default" 0.0;
584 rel1.to: "elm.bg.title";
586 min: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
587 max: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
590 part { name: "title_right_bottom_padding";
593 description { state: "default" 0.0;
595 rel2.to: "elm.bg.title";
597 min: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
598 max: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
601 part { name: "icon_rect";
604 description { state: "default" 0.0;
609 to: "title_left_top_padding";
613 to_x: "title_left_top_padding";
614 to_y: "elm.bg.title";
618 description { state: "visible" 0.0;
619 inherit: "default" 0.0;
620 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
621 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
624 part { name: "padding_after_icon";
627 description { state: "default" 0.0;
639 description { state: "visible" 0.0;
640 inherit: "default" 0.0;
641 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
644 part { name: "elm.swallow.title.icon";
647 description { state: "default" 0.0;
648 rel1.to: "icon_rect";
649 rel2.to: "icon_rect";
652 part { name: "elm.text.title";
655 description { state: "default" 0.0;
658 style: "popup_title_style";
659 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
660 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
667 to: "padding_after_icon";
671 to: "title_right_bottom_padding";
676 part { name: "access.title";
679 description { state: "default" 0.0;
680 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
681 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
685 to_x: "shadow_left_top_padding";
686 to_y: "elm.bg.title";
690 to_x: "shadow_right_bottom_padding";
691 to_y: "elm.bg.title";
695 description { state: "landscape" 0.0;
697 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
698 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
701 part { name: "elm.swallow.content";
704 description { state: "default" 0.0;
705 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
706 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
711 to_y: "label_top_padding";
716 to_y: "label_bottom_padding";
719 description { state: "show_title_area" 0.0;
720 inherit: "default" 0.0;
724 to_y: "elm.bg.title";
729 to_y: "shadow_right_bottom_padding";
732 description { state: "show_action_area" 0.0;
733 inherit: "default" 0.0;
737 to_y: "action_top_padding";
742 to_y: "elm.swallow.action_area";
745 description { state: "show_action_title_area" 0.0;
746 inherit: "default" 0.0;
750 to_y: "elm.bg.title";
755 to_y: "elm.swallow.action_area";
759 part { name: "access.body";
762 description { state: "default" 0.0;
766 to_x: "shadow_left_top_padding";
767 to_y: "elm.swallow.content";
771 to_x: "shadow_right_bottom_padding";
772 to_y: "elm.swallow.content";
777 part { name: "access.base";
780 description { state: "default" 0.0;
787 part { name: "left_part";
790 description { state: "default" 0.0;
791 min: POPUP_DESC_LEFT_PADDING 0;
801 part { name: "right_part";
804 description { state: "default" 0.0;
805 min: POPUP_DESC_RIGHT_PADDING 0;
815 part { name: "elm.bg.action_area";
817 description { state: "default" 0.0;
818 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
823 normal: "00_popup_button_bg.png";
824 border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC;
836 description { state: "visible" 0.0;
837 inherit: "default" 0.0;
841 part { name: "elm.swallow.action_area";
844 description { state: "default" 0.0;
847 rel1.to: "elm.bg.action_area";
848 rel2.to: "elm.bg.action_area";
853 program { name: show_title_icon;
854 signal: "elm,state,title,icon,visible";
856 action: STATE_SET "visible" 0.0;
858 target: "padding_after_icon";
860 program { name: hide_title_icon;
861 signal: "elm,state,title,icon,hidden";
863 action: STATE_SET "default" 0.0;
864 target: "padding_after_icon";
867 program { name: show_title_area;
868 signal: "elm,state,title_area,visible";
873 get_state(PART:"elm.swallow.action_area", st, 30, vl);
874 if (!strcmp(st, "visible"))
875 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
877 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
878 get_state(PART:"base", st, 30, vl);
879 if (!strcmp(st, "landscape"))
880 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
882 set_state(PART:"elm.bg.title", "visible", 0.0);
885 program { name: hide_title_area;
886 signal: "elm,state,title_area,hidden";
888 action: STATE_SET "default" 0.0;
892 get_state(PART:"elm.swallow.action_area", st, 30, vl);
893 if (!strcmp(st, "visible"))
894 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
896 set_state(PART:"elm.swallow.content", "default", 0.0);
897 get_state(PART:"base", st, 30, vl);
898 if (!strcmp(st, "landscape"))
899 set_state(PART:"elm.bg.title", "landscape", 0.0);
901 set_state(PART:"elm.bg.title", "default", 0.0);
904 program { name: show_action_area;
905 signal: "elm,state,action_area,visible";
910 get_state(PART:"elm.bg.title", st, 30, vl);
911 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
912 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
914 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
915 set_state(PART:"elm.bg.action_area", "visible", 0.0);
918 program { name: hide_action_area;
919 signal: "elm,state,action_area,hidden";
921 action: STATE_SET "default" 0.0;
925 get_state(PART:"elm.bg.title", st, 30, vl);
926 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
927 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
929 set_state(PART:"elm.swallow.content", "default", 0.0);
930 set_state(PART:"elm.bg.action_area", "default", 0.0);
933 program { name: "change_to_landscape";
934 signal: "elm,state,landscape";
939 set_state(PART:"base", "landscape", 0.0);
940 get_state(PART:"elm.bg.title", st, 30, vl);
941 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
942 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
944 set_state(PART:"elm.bg.title", "landscape", 0.0);
946 after: "orientation_change";
948 program { name: "orientation_change";
949 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
951 program { name: "change_to_portrait";
952 signal: "elm,state,portrait";
957 set_state(PART:"base", "default", 0.0);
958 get_state(PART:"elm.bg.title", st, 30, vl);
959 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
960 set_state(PART:"elm.bg.title", "visible", 0.0);
962 set_state(PART:"elm.bg.title", "default", 0.0);
964 after: "orientation_change";
966 program { name: "landscape_mode";
968 signal: "elm,state,orient,90";
969 action: SIGNAL_EMIT "elm,state,landscape" "elm";
971 program { name: "landscape_mode2";
973 signal: "elm,state,orient,270";
974 action: SIGNAL_EMIT "elm,state,landscape" "elm";
976 program { name: "portrait_mode";
978 signal: "elm,state,orient,0";
979 action: SIGNAL_EMIT "elm,state,portrait" "elm";
981 program { name: "portrait_mode2";
983 signal: "elm,state,orient,180";
984 action: SIGNAL_EMIT "elm,state,portrait" "elm";
986 } /* end of programs */
989 group { name: "elm/popup/base/verticalbuttonstyle";
990 alias: "elm/popup/base/verticalbuttonstyle_transparent";
991 inherit: "elm/popup/base/default";
993 part { name: "elm.swallow.action_area";
996 description { state: "default" 0.0;
999 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1003 to_y: "shadow_right_bottom_padding";
1008 to_y: "shadow_right_bottom_padding";
1016 group { name: "elm/popup/base/content_no_vhpad";
1017 inherit: "elm/popup/base/default";
1018 alias: "elm/popup/base/min_menustyle";
1019 alias: "elm/popup/base/content_no_vhpad_transparent";
1021 part { name: "label_top_padding";
1024 description { state: "default" 0.0;
1031 to_y: "shadow_left_top_padding";
1035 to_y: "shadow_left_top_padding";
1039 part { name: "label_bottom_padding";
1042 description { state: "default" 0.0;
1049 to_y: "shadow_right_bottom_padding";
1053 to_y: "shadow_right_bottom_padding";
1060 group { name: "elm/popup/content/default";
1061 alias: "elm/popup/content/transparent";
1062 alias: "elm/popup/content/customstyle";
1063 alias: "elm/popup/content/customstyle_transparent";
1064 alias: "elm/popup/content/indicator_norepeatevent";
1066 part { name: "pad_t";
1070 description { state: "default" 0.0;
1072 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1073 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1085 part { name: "pad_l";
1088 description { state: "default" 0.0;
1089 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1090 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1092 rel2.relative: 0.0 1.0;
1096 part { name: "pad_r";
1099 description { state: "default" 0.0;
1100 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1101 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1103 rel1.relative: 1.0 0.0;
1107 part { name:"elm.swallow.content";
1110 description { state: "default" 0.0;
1124 part { name: "pad_b";
1127 description { state: "default" 0.0;
1129 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1130 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1142 group { name: "elm/popup/content/content_no_vhpad";
1143 inherit: "elm/popup/content/default";
1144 alias: "elm/popup/content/min_menustyle";
1145 alias: "elm/popup/content/content_no_vhpad_transparent";
1147 part { name: "pad_t";
1151 description { state: "default" 0.0;
1166 part { name: "pad_l";
1169 description { state: "default" 0.0;
1170 min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1171 max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1173 rel2.relative: 0.0 1.0;
1177 part { name: "pad_r";
1180 description { state: "default" 0.0;
1181 min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1182 max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1184 rel1.relative: 1.0 0.0;
1188 part { name: "pad_b";
1191 description { state: "default" 0.0;
1203 part { name:"elm.swallow.content";
1206 description { state: "default" 0.0;
1223 ///////////////////////////////////////////////////////////////////////////////
1225 group { name: "elm/popup/item/default";
1226 alias: "elm/popup/item/min_menustyle";
1228 public item_state = POPUP_ITEM_STATE_ENABLED;
1231 part { name: "event_blocker";
1233 description { state: "default" 0.0;
1241 description { state: "default" 0.0;
1242 color: GENLIST_LIST_BG_COLOR;
1243 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1246 description { state: "clicked" 0.0;
1247 color: GENLIST_LIST_PRESS_COLOR;
1250 part { name: "padding_left_top";
1253 description { state: "default" 0.0;
1255 rel2.relative: 0.0 0.0;
1256 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1260 part { name: "padding_right_bottom";
1263 description { state: "default" 0.0;
1265 rel1.relative: 1.0 1.0;
1266 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1270 part { name: "separator";
1274 description { state: "dafault" 0.0;
1275 color: GENLIST_LIST_LINE1_COLOR;
1281 part { name: "padding_icon_text";
1284 description { state: "default" 0.0; //when only icon or no icon is there
1288 to: "elm.swallow.content";
1290 rel2.to: "elm.swallow.content";
1294 description { state: "visible" 0.0; //when icon is visible
1295 inherit: "default" 0.0;
1296 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1298 description { state: "icononly" 0.0;
1299 inherit: "default" 0.0;
1302 part { name: "elm.swallow.content";
1305 description { state: "default" 0.0;
1310 to: "padding_left_top";
1314 to_x: "padding_left_top";
1315 to_y: "padding_right_bottom";
1319 description { state: "visible" 0.0;
1326 to: "padding_left_top";
1330 to_x: "padding_left_top";
1331 to_y: "padding_right_bottom";
1334 aspect_preference: VERTICAL;
1336 description { state: "icononly" 0.0;
1341 to: "padding_left_top";
1345 to: "padding_right_bottom";
1348 aspect_preference: VERTICAL;
1351 part { name: "elm.text";
1355 description { state: "default" 0.0;
1359 to_x: "padding_icon_text";
1360 to_y: "padding_left_top";
1364 to:"padding_right_bottom";
1367 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1371 font: "Tizen:style=Regular";
1372 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1373 text_class: "list_item";
1376 description { state: "visible" 0.0;
1377 inherit: "default" 0.0;
1380 description { state: "clicked" 0.0;
1381 inherit: "default" 0.0;
1383 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1385 description { state: "disabled" 0.0;
1386 inherit: "default" 0.0;
1387 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1389 description { state: "disabled_visible" 0.0;
1390 inherit: "default" 0.0;
1391 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1395 part { name: "over1";
1398 ignore_flags: ON_HOLD;
1399 description { state: "default" 0.0;
1403 part { name: "over2";
1406 description { state: "default" 0.0;
1410 part { name: "disclip";
1412 description { state: "default" 0.0;
1415 description { state: "disabled" 0.0;
1421 program { name: "item_unclick";
1422 signal: "mouse,clicked,1";
1424 action: SIGNAL_EMIT "elm,action,click" "";
1427 program { name: "touch_snd";
1428 action: PLAY_SAMPLE "touch_sound" 1.0;
1430 program { name: "disable";
1431 signal: "elm,state,item,disabled";
1433 action: STATE_SET "disabled" 0.0;
1435 after: "disable_text";
1437 program { name: "enable";
1438 signal: "elm,state,item,enabled";
1440 action: STATE_SET "default" 0.0;
1442 after: "enable_text";
1444 program { name: "item_click2";
1445 signal: "mouse,down,1";
1450 get_state(PART:"elm.text", st, 30, vl);
1451 if (!strcmp(st, "visible"))
1452 set_state(PART:"elm.text", "clicked", 0.0);
1453 set_state(PART:"bg", "clicked", 0.0);
1456 program { name: "item_unclick2";
1457 signal: "mouse,up,1";
1462 get_state(PART:"elm.text", st, 30, vl);
1463 if (!strcmp(st, "clicked"))
1464 set_state(PART:"elm.text", "visible", 0.0);
1465 set_state(PART:"bg", "default", 0.0);
1468 program { name: "disable_text";
1472 get_state(PART:"elm.text", st, 30, vl);
1473 if (!strcmp(st, "visible"))
1474 set_state(PART:"elm.text", "disabled_visible", 0.0);
1476 set_state(PART:"elm.text", "disabled", 0.0);
1477 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1480 program { name: "enable_text";
1484 get_state(PART:"elm.text", st, 30, vl);
1485 if (!strcmp(st, "disabled_visible"))
1486 set_state(PART:"elm.text", "visible", 0.0);
1488 set_state(PART:"elm.text", "default", 0.0);
1489 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1492 program { name: "text_show";
1493 signal: "elm,state,item,text,visible";
1498 get_state(PART:"elm.swallow.content", st, 30, vl);
1499 if (!strcmp(st, "icononly")) {
1500 set_state(PART:"elm.swallow.content", "visible", 0.0);
1501 set_state(PART:"padding_icon_text", "visible", 0.0);
1503 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1504 set_state(PART:"elm.text", "visible", 0.0);
1506 set_state(PART:"elm.text", "disabled_visible", 0.0);
1509 program { name: "text_hide";
1510 signal: "elm,state,item,text,hidden";
1515 get_state(PART:"elm.swallow.content", st, 30, vl);
1516 if (!strcmp(st, "visible")) {
1517 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1518 set_state(PART:"padding_icon_text", "icononly", 0.0);
1520 set_state(PART:"elm.text", "default", 0.0);
1523 program { name: "icon_show";
1524 signal: "elm,state,item,icon,visible";
1529 get_state(PART:"elm.text", st, 30, vl);
1530 if (!strcmp(st, "visible")) {
1531 set_state(PART:"elm.swallow.content", "visible", 0.0);
1532 set_state(PART:"padding_icon_text", "visible", 0.0);
1535 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1536 set_state(PART:"padding_icon_text", "icononly", 0.0);
1540 program { name: "icon_hide";
1541 signal: "elm,state,item,icon,hidden";
1543 action: STATE_SET "default" 0.0;
1544 target: "elm.swallow.content";
1549 /////////////////////////////////////////////////////////////////////////////////////////
1550 group { name: "elm/popup/item/landscape/default";
1551 inherit: "elm/popup/item/default";
1557 description { state: "default" 0.0;
1558 color: GENLIST_LIST_BG_COLOR;
1559 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1562 description { state: "clicked" 0.0;
1563 color: GENLIST_LIST_PRESS_COLOR;
1569 ////////////////////////////////////////////////////////////////////////////////////////
1570 group { name: "elm/label/base/popup/verticalbuttonstyle";
1573 style { name: "popup_desc_style_center";
1574 base: "font=Tizen:style=Regular font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=center color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" text_class=tizen";
1577 tag: "whitecolor" "+ color=#ffffff";
1582 part { name: "elm.text";
1586 description { state: "default" 0.0;
1588 style: "popup_desc_style_center";
1597 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1598 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1599 data.item: "action_area_height" POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT;
1603 description { state: "default" 0.0;
1606 normal: "00_popup_button_bg.png";
1607 border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC;
1612 part { name: "elm.rect.pad_btn_top";
1615 description { state: "default" 0.0;
1616 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1624 part { name:"actionbtn1";
1627 description { state: "default" 0.0;
1628 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1629 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1634 to_y: "elm.rect.pad_btn_top";
1638 part { name: "elm.rect.pad_btn";
1641 description { state: "default" 0.0;
1642 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1643 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1656 part { name:"actionbtn2";
1659 description { state: "default" 0.0;
1660 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1661 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1664 rel1 { relative: 0 1.0;
1665 to_y: "elm.rect.pad_btn";
1669 part { name: "elm.rect.pad_btn2";
1672 description { state: "default" 0.0;
1673 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1674 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1687 part { name:"actionbtn3";
1690 description { state: "default" 0.0;
1691 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1692 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1696 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1703 group { name: "elm/popup/content/menustyle";
1704 alias: "elm/popup/content/menustyle_transparent";
1706 part { name: "left_padding";
1709 description { state: "default" 0.0;
1712 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1721 part{ name:"elm.swallow.content";
1724 description { state: "default" 0.0;
1725 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1726 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1739 part { name: "right_padding";
1742 description { state: "default" 0.0;
1745 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1757 group { name: "elm/popup/content/min_menustyle";
1758 alias: "elm/popup/content/min_menustyle_transparent";
1760 part { name: "left_padding";
1763 description { state: "default" 0.0;
1766 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1775 part{ name:"elm.swallow.content";
1778 description { state: "default" 0.0;
1779 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1792 part { name: "right_padding";
1795 description { state: "default" 0.0;
1798 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1810 group { name: "elm/popup/content/liststyle";
1811 alias: "elm/popup/content/liststyle_transparent";
1813 part { name: "left_top_padding";
1816 description { state: "default" 0.0;
1819 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1820 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1823 part{ name:"elm.swallow.content";
1826 description { state: "default" 0.0;
1827 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1828 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1833 to:"left_top_padding";
1841 part { name: "right_padding";
1844 description { state: "default" 0.0;
1847 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1859 group { name: "elm/popup/content/min_liststyle";
1860 alias: "elm/popup/content/min_liststyle_transparent";
1862 part { name: "left_top_padding";
1865 description { state: "default" 0.0;
1868 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1869 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1872 part{ name:"elm.swallow.content";
1875 description { state: "default" 0.0;
1876 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1881 to:"left_top_padding";
1889 part { name: "right_padding";
1892 description { state: "default" 0.0;
1895 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1907 group { name: "elm/popup/buttons1/default";
1908 alias: "elm/popup/buttons1/transparent";
1909 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1911 part{ name:"actionbtn1";
1914 description { state: "default" 0.0;
1915 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1916 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1918 rel1.relative: 0.5 0.0;
1919 rel2.relative: 0.5 1.0;
1925 group { name: "elm/popup/buttons2/default";
1926 alias: "elm/popup/buttons2/transparent";
1927 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1929 part { name: "left_pad_btn";
1932 description { state: "default" 0.0;
1933 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1934 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1937 rel1.relative: 0.0 0.0;
1940 part { name: "right_pad_btn";
1943 description { state: "default" 0.0;
1944 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1945 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1948 rel2.relative: 1.0 1.0;
1951 part { name:"actionbtn1";
1954 description { state: "default" 0.0;
1963 to: "elm.rect.pad_btn";
1967 part { name: "elm.rect.pad_btn";
1970 description { state: "default" 0.0;
1971 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1972 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1974 rel1.relative: 0.5 0.0;
1975 rel2.relative: 0.5 1.0;
1978 part { name:"actionbtn2";
1981 description { state: "default" 0.0;
1986 to: "elm.rect.pad_btn";
1990 to: "right_pad_btn";
1997 group { name: "elm/popup/buttons3/default";
1998 alias: "elm/popup/buttons3/menustyle";
1999 alias: "elm/popup/buttons3/transparent";
2000 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2002 part { name: "left_pad_btn";
2005 description { state: "default" 0.0;
2006 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
2007 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
2010 rel1.relative: 0.0 0.0;
2013 part { name: "right_pad_btn";
2016 description { state: "default" 0.0;
2017 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
2018 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
2021 rel2.relative: 1.0 1.0;
2024 part { name: "btn_area";
2027 description { state: "default" 0.0;
2035 to: "right_pad_btn";
2039 part{ name:"actionbtn1";
2042 description { state: "default" 0.0;
2051 to: "elm.rect.pad_btn";
2055 part { name: "elm.rect.pad_btn";
2058 description { state: "default" 0.0;
2059 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2060 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2062 rel1.relative: 0.33 0.0;
2063 rel1.to: "btn_area";
2064 rel2.relative: 0.33 1.0;
2065 rel2.to: "btn_area";
2068 part{ name:"actionbtn2";
2071 description { state: "default" 0.0;
2075 to: "elm.rect.pad_btn";
2079 to: "elm.rect.pad_btn2";
2083 part { name: "elm.rect.pad_btn2";
2086 description { state: "default" 0.0;
2087 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2088 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2090 rel1.relative: 0.67 0.0;
2091 rel1.to: "btn_area";
2092 rel2.relative: 0.67 1.0;
2093 rel2.to: "btn_area";
2096 part{ name:"actionbtn3";
2099 description { state: "default" 0.0;
2104 to: "elm.rect.pad_btn2";
2108 to: "right_pad_btn";
2115 group { name: "elm/popup/base/volumebarstyle";
2116 inherit: "elm/popup/base/default";
2117 alias: "elm/popup/base/volumebarstyle_transparent";
2119 image: "00_popup_bg.png" COMP;
2122 part { name: "elm.swallow.content";
2125 description { state: "default" 0.0;
2126 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
2131 to_y: "shadow_left_top_padding";
2136 to_y: "shadow_right_bottom_padding";
2139 description { state: "show_title_area" 0.0;
2140 inherit: "default" 0.0;
2144 to_y: "elm.bg.title";
2149 to_y: "shadow_right_bottom_padding";
2152 description { state: "show_action_area" 0.0;
2153 inherit: "default" 0.0;
2157 to_y: "shadow_left_top_padding";
2162 to_y: "elm.swallow.action_area";
2165 description { state: "show_action_title_area" 0.0;
2166 inherit: "default" 0.0;
2170 to_y: "elm.bg.title";
2175 to_y: "elm.swallow.action_area";
2182 group { name: "elm/popup/base/volumebarstyle_text";
2183 alias: "elm/popup/base/volumebarstyle_text_transparent";
2184 inherit: "elm/popup/base/volumebarstyle";
2186 part { name: "elm.swallow.content";
2189 description { state: "default" 0.0;
2190 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
2195 to_y: "shadow_left_top_padding";
2200 to_y: "shadow_right_bottom_padding";
2203 description { state: "show_title_area" 0.0;
2204 inherit: "default" 0.0;
2208 to_y: "elm.bg.title";
2213 to_y: "shadow_right_bottom_padding";
2216 description { state: "show_action_area" 0.0;
2217 inherit: "default" 0.0;
2221 to_y: "shadow_left_top_padding";
2226 to_y: "elm.swallow.action_area";
2229 description { state: "show_action_title_area" 0.0;
2230 inherit: "default" 0.0;
2234 to_y: "elm.bg.title";
2239 to_y: "elm.swallow.action_area";
2246 group { name: "elm/popup/base/content_expand";
2247 alias: "elm/popup/base/content_expand_transparent";
2249 image: "00_popup_bg.png" COMP;
2250 image: "00_popup_button_bg.png" COMP;
2251 image: "00_popup_title_bg.png" COMP;
2254 part { name: "base";
2256 description { state: "default" 0.0;
2257 rel1.to_x: "elm.swallow.content";
2258 rel2.to_x: "elm.swallow.content";
2260 normal: "00_popup_bg.png";
2261 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2268 name:"shadow_left_top_padding";
2271 description { state: "default" 0.0;
2272 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
2273 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
2279 name:"shadow_right_bottom_padding";
2282 description { state: "default" 0.0;
2283 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2284 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2289 part { name: "elm.bg.title";
2291 description { state: "default" 0.0;
2292 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2297 normal: "00_popup_title_bg.png";
2298 border: POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC;
2303 to_x: "shadow_left_top_padding";
2308 to_x: "shadow_right_bottom_padding";
2312 description { state: "visible" 0.0;
2313 inherit: "default" 0.0;
2317 part { name: "left_pad";
2320 description { state: "default" 0.0;
2321 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2322 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2325 rel1.to: "elm.bg.title";
2328 part { name: "right_pad";
2331 description { state: "default" 0.0;
2332 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2333 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2336 rel2.to: "elm.bg.title";
2339 part { name: "elm.swallow.title.icon";
2342 description { state: "default" 0.0;
2343 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2344 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2357 description { state: "visible" 0.0;
2358 inherit: "default" 0.0;
2362 part { name: "elm.text.title";
2365 description { state: "default" 0.0;
2367 style: "popup_title_style";
2368 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2369 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2385 description { state: "visible" 0.0;
2386 inherit: "default" 0.0;
2390 part { name: "elm.swallow.content";
2393 description { state: "default" 0.0;
2394 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2395 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2396 rel1.relative: 0.5 0.0;
2397 rel2.relative: 0.5 1.0;
2399 description { state: "show_title_area" 0.0;
2400 inherit: "default" 0.0;
2403 to_y: "elm.bg.title";
2406 description { state: "show_action_area" 0.0;
2407 inherit: "default" 0.0;
2410 to_y: "elm.bg.action_area";
2413 description { state: "show_action_title_area" 0.0;
2414 inherit: "default" 0.0;
2417 to_y: "elm.bg.title";
2421 to_y: "elm.bg.action_area";
2425 part { name: "elm.bg.action_area";
2427 description { state: "default" 0.0;
2428 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2433 normal: "00_popup_button_bg.png";
2434 border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC;
2439 to_x: "shadow_left_top_padding";
2444 to_x: "shadow_right_bottom_padding";
2448 description { state: "visible" 0.0;
2449 inherit: "default" 0.0;
2453 part { name: "elm.swallow.action_area";
2456 description { state: "default" 0.0;
2457 rel1.to: "elm.bg.action_area";
2458 rel2.to: "elm.bg.action_area";
2463 program { name: show_title_icon;
2464 signal: "elm,state,title,icon,visible";
2466 action: STATE_SET "visible" 0.0;
2467 target: "elm.swallow.title.icon";
2469 program { name: hide_title_icon;
2470 signal: "elm,state,title,icon,hidden";
2472 action: STATE_SET "default" 0.0;
2473 target: "elm.swallow.title.icon";
2475 program { name: show_title_text;
2476 signal: "elm,state,title,text,visible";
2478 action: STATE_SET "visible" 0.0;
2479 target: "elm.text.title";
2481 program { name: hide_title_text;
2482 signal: "elm,state,title,text,hidden";
2484 action: STATE_SET "default" 0.0;
2485 target: "elm.text.title";
2487 program { name: show_title_area;
2488 signal: "elm,state,title_area,visible";
2493 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2494 if (!strcmp(st, "visible"))
2495 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2497 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2498 set_state(PART:"elm.bg.title", "visible", 0.0);
2501 program { name: hide_title_area;
2502 signal: "elm,state,title_area,hidden";
2504 action: STATE_SET "default" 0.0;
2508 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2509 if (!strcmp(st, "visible"))
2510 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2512 set_state(PART:"elm.swallow.content", "default", 0.0);
2513 set_state(PART:"elm.bg.title", "default", 0.0);
2516 program { name: show_action_area;
2517 signal: "elm,state,action_area,visible";
2522 get_state(PART:"elm.bg.title", st, 30, vl);
2523 if (!strcmp(st, "visible"))
2524 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2526 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2527 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2530 program { name: hide_action_area;
2531 signal: "elm,state,action_area,hidden";
2533 action: STATE_SET "default" 0.0;
2537 get_state(PART:"elm.bg.title", st, 30, vl);
2538 if (!strcmp(st, "visible"))
2539 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2541 set_state(PART:"elm.swallow.content", "default", 0.0);
2542 set_state(PART:"elm.bg.action_area", "default", 0.0);
2548 group { name: "elm/popup/buttons1/content_expand";
2549 alias: "elm/popup/buttons1/content_expand_transparent";
2550 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2552 part{ name:"actionbtn1";
2555 description { state: "default" 0.0;
2556 rel1.relative: 0.2 0.1;
2557 rel2.relative: 0.8 0.9;
2563 group { name: "elm/popup/buttons2/content_expand";
2564 alias: "elm/popup/buttons2/content_expand_transparent";
2565 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2567 part{ name:"actionbtn1";
2570 description { state: "default" 0.0;
2572 rel1.relative: 0.1 0.1;
2573 rel2.relative: 0.45 0.9;
2576 part{ name:"actionbtn2";
2579 description { state: "default" 0.0;
2581 rel1.relative: 0.55 0.1;
2582 rel2.relative: 0.9 0.9;
2588 group { name: "elm/popup/buttons3/content_expand";
2589 alias: "elm/popup/buttons3/content_expand_transparent";
2590 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2592 part{ name:"actionbtn1";
2595 description { state: "default" 0.0;
2597 rel1.relative: 0.05 0.1;
2598 rel2.relative: 0.3 0.9;
2601 part{ name:"actionbtn2";
2604 description { state: "default" 0.0;
2606 rel1.relative: 0.375 0.1;
2607 rel2.relative: 0.625 0.9;
2610 part{ name:"actionbtn3";
2613 description { state: "default" 0.0;
2615 rel1.relative: 0.7 0.1;
2616 rel2.relative: 0.95 0.9;
2622 group { name: "elm/popup/item/content_expand";
2623 alias: "elm/popup/item/content_expand_transparent";
2624 inherit: "elm/popup/item/default";
2629 description { state: "default" 0.0;
2630 color: 240 240 240 255;
2634 description { state: "clicked" 0.0;
2635 color: 190 170 150 255;
2641 group { name: "elm/popup/content/content_expand";
2642 alias: "elm/popup/content/content_expand_transparent";
2644 part{ name:"elm.swallow.content";
2647 description { state: "default" 0.0;
2653 #undef POPUP_ITEM_STATE_ENABLED
2654 #undef POPUP_ITEM_STATE_DISABLED