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
24 sample { name: "touch_sound" RAW;
25 source: "button-pressed.wav";
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 alias: "elm/notify/center/indicator_norepeatevent";
47 description { state: "default" 0.0;
49 rel1.relative: 0.0 0.0;
50 rel2.relative: 1.0 1.0;
55 description { state: "default" 0.0;
67 part { name: "persp1";
69 description { state: "default" 0.0;
81 part { name: "elm.swallow.content";
85 description { state: "default" 0.0;
92 color[0]: 255 255 255 0;
93 color[1]: 255 255 255 0;
94 color[2]: 255 255 255 0;
95 color[3]: 255 255 255 0;
98 description { state: "visible" 0.0;
103 perspective: "persp1";
107 description { state: "end" 0.0;
116 part { name: "clipper";
119 description { state: "default" 0.0;
129 program { name: "show";
130 signal: "elm,action,show";
132 action: STATE_SET "default" 0.0;
133 target: "elm.swallow.content";
135 program { name: "show_1";
137 action: STATE_SET "default" 0.0;
138 target: "elm.swallow.content";
142 program { name: "end";
143 action: STATE_SET "visible" 0.0;
144 target: "elm.swallow.content";
145 transition: SIN_FAC 0.33 1.4;
148 program { name: "end2";
149 action: STATE_SET "end" 0.0;
150 target: "elm.swallow.content";
152 program { name: "hide";
153 signal: "elm,action,hide";
155 action: STATE_SET "default" 0.0;
156 target: "elm.swallow.content";
161 group { name: "elm/notify/center/transparent";
162 inherit: "elm/notify/center/popup";
163 alias: "elm/notify/center/verticalbuttonstyle_transparent";
164 alias: "elm/notify/center/menustyle_transparent";
165 alias: "elm/notify/center/min_menustyle_transparent";
166 alias: "elm/notify/center/liststyle_transparent";
167 alias: "elm/notify/center/min_liststyle_transparent";
168 alias: "elm/notify/center/customstyle_transparent";
169 alias: "elm/notify/center/volumebarstyle_transparent";
170 alias: "elm/notify/center/volumebarstyle_text_transparent";
171 alias: "elm/notify/center/content_expand_transparent";
173 part { name: "elm.swallow.content";
176 description { state: "default" 0.0;
179 description { state: "visible" 0.0;
182 description { state: "end" 0.0;
189 group { name: "elm/notify/block_events/popup";
190 alias: "elm/notify/block_events/verticalbuttonstyle";
191 alias: "elm/notify/block_events/menustyle";
192 alias: "elm/notify/block_events/min_menustyle";
193 alias: "elm/notify/block_events/liststyle";
194 alias: "elm/notify/block_events/min_liststyle";
195 alias: "elm/notify/block_events/customstyle";
196 alias: "elm/notify/block_events/volumebarstyle";
197 alias: "elm/notify/block_events/volumebarstyle_text";
198 alias: "elm/notify/block_events/content_expand";
199 alias: "elm/notify/block_events/content_no_vhpad";
201 image: "00_popup_dim_lighting_v.png" COMP;
202 image: "00_popup_dim_lighting_h.png" COMP;
205 part { name: "block_events";
209 description { state: "default" 0.0;
210 image.normal: "00_popup_dim_lighting_v.png";
213 description { state: "landscape" 0.0;
214 image.normal: "00_popup_dim_lighting_h.png";
218 part {name: "popup_indicator";
222 description { state: "default" 0.0;
225 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
226 rel2.relative: 1.0 0.0;
227 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
229 description { state: "show" 0.0;
230 inherit: "default" 0.0;
231 color: POPUP_DIM_BG_COLOR_INC;
233 description { state: "clicked" 0.0;
234 inherit: "default" 0.0;
235 color: POPUP_DIM_BG_COLOR_INC;
238 part { name: "block_events_color";
241 description { state: "default" 0.0;
244 to: "popup_indicator";
246 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
248 description { state: "show" 0.0;
249 inherit: "default" 0.0;
250 color: POPUP_DIM_BG_COLOR_INC;
252 description { state: "clicked" 0.0;
253 inherit: "default" 0.0;
254 color: POPUP_DIM_BG_COLOR_INC;
259 program { name: "show";
260 signal: "elm,action,show";
262 action: STATE_SET "default" 0.0;
263 target: "block_events";
264 target: "block_events_color";
265 target: "popup_indicator";
267 program { name: "show1";
269 action: STATE_SET "show" 0.0;
270 transition: SIN_FAC 0.33 0.5;
271 target: "block_events_color";
272 target: "popup_indicator";
274 program { name: "block_clicked";
275 signal: "mouse,clicked,1";
276 source: "block_events_color";
277 action: SIGNAL_EMIT "elm,action,click" "elm";
278 after: "deeper_block_color";
280 program { name: "indicator_clicked";
281 signal: "mouse,clicked,1";
282 source: "popup_indicator";
283 action: SIGNAL_EMIT "elm,action,click" "elm";
284 after: "deeper_block_color";
287 name: "deeper_block_color";
288 action: STATE_SET "clicked" 0.0;
289 target: "block_events_color";
290 target: "popup_indicator";
291 transition: LINEAR 0.2;
292 after: "default_block_color";
295 name: "default_block_color";
296 action: STATE_SET "show" 0.0;
297 target: "block_events_color";
298 target: "popup_indicator";
299 transition: LINEAR 0.2;
301 program { name: "landscape_mode";
303 signal: "elm,state,orient,90";
304 action: STATE_SET "landscape" 0.0;
305 target: "block_events";
307 program { name: "landscape_mode2";
309 signal: "elm,state,orient,270";
310 action: STATE_SET "landscape" 0.0;
311 target: "block_events";
313 program { name: "portrait_mode";
315 signal: "elm,state,orient,0";
316 action: STATE_SET "default" 0.0;
317 target: "block_events";
319 program { name: "portrait_mode2";
321 signal: "elm,state,orient,180";
322 action: STATE_SET "default" 0.0;
323 target: "block_events";
328 group { name: "elm/notify/block_events/indicator_norepeatevent";
329 inherit: "elm/notify/block_events/popup";
331 part { name: "popup_indicator";
335 description { state: "default" 0.0;
338 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
339 rel2.relative: 1.0 0.0;
340 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
342 description { state: "show" 0.0;
343 inherit: "default" 0.0;
344 color: POPUP_DIM_BG_COLOR_INC;
346 description { state: "clicked" 0.0;
347 inherit: "default" 0.0;
348 color: POPUP_DIM_BG_COLOR_INC;
354 group { name: "elm/notify/block_events/transparent";
355 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
356 alias: "elm/notify/block_events/menustyle_transparent";
357 alias: "elm/notify/block_events/min_menustyle_transparent";
358 alias: "elm/notify/block_events/liststyle_transparent";
359 alias: "elm/notify/block_events/min_liststyle_transparent";
360 alias: "elm/notify/block_events/customstyle_transparent";
361 alias: "elm/notify/block_events/volumebarstyle_transparent";
362 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
363 alias: "elm/notify/block_events/content_expand_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_TRANS_COLOR_INC;
377 part { name: "block_events";
379 description { state: "default" 0.0;
382 to: "popup_indicator";
384 color: POPUP_DIM_BG_TRANS_COLOR_INC;
390 group { name: "elm/notify/block_events/indicator_norepeatevent_transparent";
391 inherit: "elm/notify/block_events/transparent";
393 part {name: "popup_indicator";
397 description { state: "default" 0.0;
400 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
401 rel2.relative: 1.0 0.0;
402 color: POPUP_DIM_BG_TRANS_COLOR_INC;
408 group { name: "elm/notify/block_events/dimrect";
409 inherit: "elm/notify/block_events/transparent";
411 part {name: "popup_indicator";
415 description { state: "default" 0.0;
418 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
419 rel2.relative: 1.0 0.0;
420 color: POPUP_DIM_BG_COLOR_INC;
423 part { name: "block_events";
425 description { state: "default" 0.0;
428 to: "popup_indicator";
430 color: POPUP_DIM_BG_COLOR_INC;
436 group { name: "elm/label/base/popup/default";
437 alias: "elm/label/base/popup/content_expand";
438 alias: "elm/label/base/popup/transparent";
440 style { name: "popup_desc_style";
441 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";
444 tag: "whitecolor" "+ color=#ffffff";
449 part { name: "elm.text";
453 description { state: "default" 0.0;
454 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
455 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
457 style: "popup_desc_style";
465 group { name: "elm/popup/base/default";
466 alias: "elm/popup/base/transparent";
467 alias: "elm/popup/base/verticalbuttonstyle";
468 alias: "elm/popup/base/verticalbuttonstyle_transparent";
469 alias: "elm/popup/base/customstyle";
470 alias: "elm/popup/base/customstyle_transparent";
471 alias: "elm/popup/base/liststyle";
472 alias: "elm/popup/base/menustyle";
473 alias: "elm/popup/base/indicator_norepeatevent";
475 image: "00_popup_bg.png" COMP;
478 style { name: "popup_title_style";
479 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";
486 name:"shadow_left_top_padding";
489 description { state: "default" 0.0;
490 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
491 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
497 name:"shadow_right_bottom_padding";
500 description { state: "default" 0.0;
501 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
502 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
509 description { state: "default" 0.0;
510 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
511 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
513 normal: "00_popup_bg.png";
514 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
520 description { state: "landscape" 0.0;
521 inherit: "default" 0.0;
522 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
523 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
526 part { name: "elm.bg.title";
529 description { state: "default" 0.0;
530 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
531 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
536 to_y: "shadow_left_top_padding";
540 to_y: "shadow_left_top_padding";
543 description { state: "visible" 0.0;
544 inherit: "default" 0.0;
546 description { state: "landscape" 0.0;
547 inherit: "default" 0.0;
548 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
549 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
551 description { state: "landscape_visible" 0.0;
552 inherit: "landscape" 0.0;
555 part { name: "action_top_padding";
558 description { state: "default" 0.0;
559 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
560 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
565 to_y: "shadow_left_top_padding";
569 to_y: "shadow_left_top_padding";
573 part { name: "label_top_padding";
576 description { state: "default" 0.0;
583 to_y: "shadow_left_top_padding";
587 to_y: "shadow_left_top_padding";
591 part { name: "label_bottom_padding";
594 description { state: "default" 0.0;
601 to_y: "shadow_right_bottom_padding";
605 to_y: "shadow_right_bottom_padding";
609 part { name: "title_left_top_padding";
612 description { state: "default" 0.0;
614 rel1.to: "elm.bg.title";
616 min: 0 POPUP_TITLE_TOP_PADDING;
617 max: 0 POPUP_TITLE_TOP_PADDING;
620 part { name: "title_right_bottom_padding";
623 description { state: "default" 0.0;
625 rel2.to: "elm.bg.title";
627 min: 0 POPUP_TITLE_BOTTOM_PADDING;
628 max: 0 POPUP_TITLE_BOTTOM_PADDING;
631 part { name: "icon_rect";
634 description { state: "default" 0.0;
639 to: "title_left_top_padding";
643 to_x: "title_left_top_padding";
644 to_y: "elm.bg.title";
648 description { state: "visible" 0.0;
649 inherit: "default" 0.0;
650 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
651 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
654 part { name: "padding_after_icon";
657 description { state: "default" 0.0;
669 description { state: "visible" 0.0;
670 inherit: "default" 0.0;
671 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
674 part { name: "elm.swallow.title.icon";
677 description { state: "default" 0.0;
678 rel1.to: "icon_rect";
679 rel2.to: "icon_rect";
682 part { name: "elm.text.title";
685 description { state: "default" 0.0;
688 style: "popup_title_style";
689 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
690 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
697 to: "padding_after_icon";
701 to: "title_right_bottom_padding";
706 part { name: "access.title";
709 description { state: "default" 0.0;
710 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
711 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
715 to_x: "shadow_left_top_padding";
716 to_y: "elm.bg.title";
720 to_x: "shadow_right_bottom_padding";
721 to_y: "elm.bg.title";
725 description { state: "landscape" 0.0;
727 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
728 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
731 part { name: "elm.swallow.content";
734 description { state: "default" 0.0;
735 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
736 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
741 to_y: "label_top_padding";
746 to_y: "label_bottom_padding";
749 description { state: "show_title_area" 0.0;
750 inherit: "default" 0.0;
754 to_y: "elm.bg.title";
759 to_y: "shadow_right_bottom_padding";
762 description { state: "show_action_area" 0.0;
763 inherit: "default" 0.0;
767 to_y: "action_top_padding";
772 to_y: "elm.swallow.action_area";
775 description { state: "show_action_title_area" 0.0;
776 inherit: "default" 0.0;
780 to_y: "elm.bg.title";
785 to_y: "elm.swallow.action_area";
789 part { name: "access.body";
792 description { state: "default" 0.0;
796 to_x: "shadow_left_top_padding";
797 to_y: "elm.swallow.content";
801 to_x: "shadow_right_bottom_padding";
802 to_y: "elm.swallow.content";
807 part { name: "access.base";
810 description { state: "default" 0.0;
817 part { name: "elm.swallow.action_area";
820 description { state: "default" 0.0;
821 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
828 to_y: "shadow_right_bottom_padding";
833 to_y: "shadow_right_bottom_padding";
836 description { state: "visible" 0.0;
837 inherit: "default" 0.0;
843 program { name: show_title_icon;
844 signal: "elm,state,title,icon,visible";
846 action: STATE_SET "visible" 0.0;
848 target: "padding_after_icon";
850 program { name: hide_title_icon;
851 signal: "elm,state,title,icon,hidden";
853 action: STATE_SET "default" 0.0;
854 target: "padding_after_icon";
857 program { name: show_title_area;
858 signal: "elm,state,title_area,visible";
863 get_state(PART:"elm.swallow.action_area", st, 30, vl);
864 if (!strcmp(st, "visible"))
865 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
867 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
868 get_state(PART:"base", st, 30, vl);
869 if (!strcmp(st, "landscape"))
870 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
872 set_state(PART:"elm.bg.title", "visible", 0.0);
875 program { name: hide_title_area;
876 signal: "elm,state,title_area,hidden";
878 action: STATE_SET "default" 0.0;
882 get_state(PART:"elm.swallow.action_area", st, 30, vl);
883 if (!strcmp(st, "visible"))
884 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
886 set_state(PART:"elm.swallow.content", "default", 0.0);
887 get_state(PART:"base", st, 30, vl);
888 if (!strcmp(st, "landscape"))
889 set_state(PART:"elm.bg.title", "landscape", 0.0);
891 set_state(PART:"elm.bg.title", "default", 0.0);
894 program { name: show_action_area;
895 signal: "elm,state,action_area,visible";
900 get_state(PART:"elm.bg.title", st, 30, vl);
901 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
902 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
904 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
905 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
908 program { name: hide_action_area;
909 signal: "elm,state,action_area,hidden";
911 action: STATE_SET "default" 0.0;
915 get_state(PART:"elm.bg.title", st, 30, vl);
916 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
917 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
919 set_state(PART:"elm.swallow.content", "default", 0.0);
920 set_state(PART:"elm.swallow.action_area", "default", 0.0);
923 program { name: "change_to_landscape";
924 signal: "elm,state,landscape";
926 action: STATE_SET "landscape" 0.0;
928 target: "elm.bg.title";
929 target: "access.title";
930 after: "orientation_change";
932 program { name: "orientation_change";
933 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
935 program { name: "change_to_portrait";
936 signal: "elm,state,portrait";
938 action: STATE_SET "default" 0.0;
940 target: "elm.bg.title";
941 target: "access.title";
942 after: "orientation_change";
944 program { name: "landscape_mode";
946 signal: "elm,state,orient,90";
947 action: SIGNAL_EMIT "elm,state,landscape" "elm";
949 program { name: "landscape_mode2";
951 signal: "elm,state,orient,270";
952 action: SIGNAL_EMIT "elm,state,landscape" "elm";
954 program { name: "portrait_mode";
956 signal: "elm,state,orient,0";
957 action: SIGNAL_EMIT "elm,state,portrait" "elm";
959 program { name: "portrait_mode2";
961 signal: "elm,state,orient,180";
962 action: SIGNAL_EMIT "elm,state,portrait" "elm";
964 } /* end of programs */
967 group { name: "elm/popup/base/content_no_vhpad";
968 inherit: "elm/popup/base/default";
969 alias: "elm/popup/base/min_menustyle";
971 part { name: "label_top_padding";
974 description { state: "default" 0.0;
981 to_y: "shadow_left_top_padding";
985 to_y: "shadow_left_top_padding";
989 part { name: "label_bottom_padding";
992 description { state: "default" 0.0;
999 to_y: "shadow_right_bottom_padding";
1003 to_y: "shadow_right_bottom_padding";
1010 group { name: "elm/popup/content/default";
1011 alias: "elm/popup/content/transparent";
1012 alias: "elm/popup/content/customstyle";
1013 alias: "elm/popup/content/customstyle_transparent";
1014 alias: "elm/popup/content/indicator_norepeatevent";
1016 part { name: "pad_t";
1020 description { state: "default" 0.0;
1022 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1023 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1035 part { name: "pad_l";
1038 description { state: "default" 0.0;
1039 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1040 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1042 rel2.relative: 0.0 1.0;
1046 part { name: "pad_r";
1049 description { state: "default" 0.0;
1050 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1051 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1053 rel1.relative: 1.0 0.0;
1057 part { name:"elm.swallow.content";
1060 description { state: "default" 0.0;
1074 part { name: "pad_b";
1077 description { state: "default" 0.0;
1079 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1080 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1092 group { name: "elm/popup/content/content_no_vhpad";
1093 inherit: "elm/popup/content/default";
1094 alias: "elm/popup/content/min_menustyle";
1096 part { name: "pad_t";
1100 description { state: "default" 0.0;
1102 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
1103 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
1115 part { name: "pad_l";
1118 description { state: "default" 0.0;
1119 min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1120 max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1122 rel2.relative: 0.0 1.0;
1126 part { name: "pad_r";
1129 description { state: "default" 0.0;
1130 min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1131 max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1133 rel1.relative: 1.0 0.0;
1137 part { name: "pad_b";
1140 description { state: "default" 0.0;
1142 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
1143 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
1155 ///////////////////////////////////////////////////////////////////////////////
1157 group { name: "elm/popup/item/default";
1158 alias: "elm/popup/item/min_menustyle";
1160 public item_state = POPUP_ITEM_STATE_ENABLED;
1163 part { name: "event_blocker";
1165 description { state: "default" 0.0;
1173 description { state: "default" 0.0;
1174 color: GENLIST_LIST_BG_COLOR;
1175 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1178 description { state: "clicked" 0.0;
1179 color: GENLIST_LIST_PRESS_COLOR;
1182 part { name: "padding_left_top";
1185 description { state: "default" 0.0;
1187 rel2.relative: 0.0 0.0;
1188 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1192 part { name: "padding_right_bottom";
1195 description { state: "default" 0.0;
1197 rel1.relative: 1.0 1.0;
1198 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1202 part { name: "separator";
1206 description { state: "dafault" 0.0;
1207 color: GENLIST_LIST_LINE1_COLOR;
1213 part { name: "padding_icon_text";
1216 description { state: "default" 0.0; //when only icon or no icon is there
1220 to: "elm.swallow.content";
1222 rel2.to: "elm.swallow.content";
1226 description { state: "visible" 0.0; //when icon is visible
1227 inherit: "default" 0.0;
1228 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1230 description { state: "icononly" 0.0;
1231 inherit: "default" 0.0;
1234 part { name: "elm.swallow.content";
1237 description { state: "default" 0.0;
1242 to: "padding_left_top";
1246 to_x: "padding_left_top";
1247 to_y: "padding_right_bottom";
1251 description { state: "visible" 0.0;
1258 to: "padding_left_top";
1262 to_x: "padding_left_top";
1263 to_y: "padding_right_bottom";
1266 aspect_preference: VERTICAL;
1268 description { state: "icononly" 0.0;
1273 to: "padding_left_top";
1277 to: "padding_right_bottom";
1280 aspect_preference: VERTICAL;
1283 part { name: "elm.text";
1287 description { state: "default" 0.0;
1291 to_x: "padding_icon_text";
1292 to_y: "padding_left_top";
1296 to:"padding_right_bottom";
1299 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1303 font: "Tizen:style=Regular";
1304 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1305 text_class: "list_item";
1308 description { state: "visible" 0.0;
1309 inherit: "default" 0.0;
1312 description { state: "clicked" 0.0;
1313 inherit: "default" 0.0;
1315 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1317 description { state: "disabled" 0.0;
1318 inherit: "default" 0.0;
1319 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1321 description { state: "disabled_visible" 0.0;
1322 inherit: "default" 0.0;
1323 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1327 part { name: "over1";
1330 ignore_flags: ON_HOLD;
1331 description { state: "default" 0.0;
1335 part { name: "over2";
1338 description { state: "default" 0.0;
1342 part { name: "disclip";
1344 description { state: "default" 0.0;
1347 description { state: "disabled" 0.0;
1353 program { name: "item_unclick";
1354 signal: "mouse,clicked,1";
1356 action: SIGNAL_EMIT "elm,action,click" "";
1359 program { name: "touch_snd";
1360 action: PLAY_SAMPLE "touch_sound" 1.0;
1362 program { name: "disable";
1363 signal: "elm,state,item,disabled";
1365 action: STATE_SET "disabled" 0.0;
1367 after: "disable_text";
1369 program { name: "enable";
1370 signal: "elm,state,item,enabled";
1372 action: STATE_SET "default" 0.0;
1374 after: "enable_text";
1376 program { name: "item_click2";
1377 signal: "mouse,down,1";
1382 get_state(PART:"elm.text", st, 30, vl);
1383 if (!strcmp(st, "visible"))
1384 set_state(PART:"elm.text", "clicked", 0.0);
1385 set_state(PART:"bg", "clicked", 0.0);
1388 program { name: "item_unclick2";
1389 signal: "mouse,up,1";
1394 get_state(PART:"elm.text", st, 30, vl);
1395 if (!strcmp(st, "clicked"))
1396 set_state(PART:"elm.text", "visible", 0.0);
1397 set_state(PART:"bg", "default", 0.0);
1400 program { name: "disable_text";
1404 get_state(PART:"elm.text", st, 30, vl);
1405 if (!strcmp(st, "visible"))
1406 set_state(PART:"elm.text", "disabled_visible", 0.0);
1408 set_state(PART:"elm.text", "disabled", 0.0);
1409 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1412 program { name: "enable_text";
1416 get_state(PART:"elm.text", st, 30, vl);
1417 if (!strcmp(st, "disabled_visible"))
1418 set_state(PART:"elm.text", "visible", 0.0);
1420 set_state(PART:"elm.text", "default", 0.0);
1421 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1424 program { name: "text_show";
1425 signal: "elm,state,item,text,visible";
1430 get_state(PART:"elm.swallow.content", st, 30, vl);
1431 if (!strcmp(st, "icononly")) {
1432 set_state(PART:"elm.swallow.content", "visible", 0.0);
1433 set_state(PART:"padding_icon_text", "visible", 0.0);
1435 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1436 set_state(PART:"elm.text", "visible", 0.0);
1438 set_state(PART:"elm.text", "disabled_visible", 0.0);
1441 program { name: "text_hide";
1442 signal: "elm,state,item,text,hidden";
1447 get_state(PART:"elm.swallow.content", st, 30, vl);
1448 if (!strcmp(st, "visible")) {
1449 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1450 set_state(PART:"padding_icon_text", "icononly", 0.0);
1452 set_state(PART:"elm.text", "default", 0.0);
1455 program { name: "icon_show";
1456 signal: "elm,state,item,icon,visible";
1461 get_state(PART:"elm.text", st, 30, vl);
1462 if (!strcmp(st, "visible")) {
1463 set_state(PART:"elm.swallow.content", "visible", 0.0);
1464 set_state(PART:"padding_icon_text", "visible", 0.0);
1467 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1468 set_state(PART:"padding_icon_text", "icononly", 0.0);
1472 program { name: "icon_hide";
1473 signal: "elm,state,item,icon,hidden";
1475 action: STATE_SET "default" 0.0;
1476 target: "elm.swallow.content";
1481 /////////////////////////////////////////////////////////////////////////////////////////
1482 group { name: "elm/popup/item/landscape/default";
1483 inherit: "elm/popup/item/default";
1489 description { state: "default" 0.0;
1490 color: GENLIST_LIST_BG_COLOR;
1491 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1494 description { state: "clicked" 0.0;
1495 color: GENLIST_LIST_PRESS_COLOR;
1501 ////////////////////////////////////////////////////////////////////////////////////////
1502 group { name: "elm/label/base/popup/verticalbuttonstyle";
1505 style { name: "popup_desc_style_center";
1506 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";
1509 tag: "whitecolor" "+ color=#ffffff";
1514 part { name: "elm.text";
1518 description { state: "default" 0.0;
1520 style: "popup_desc_style_center";
1530 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1531 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1532 data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1537 description { state: "default" 0.0;
1538 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1542 part { name: "elm.rect.pad_btn_top";
1545 description { state: "default" 0.0;
1546 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1557 part { name:"actionbtn1";
1560 description { state: "default" 0.0;
1561 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1562 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1566 relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1570 part { name: "elm.rect.pad_btn";
1573 description { state: "default" 0.0;
1574 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1575 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1579 relative: 0.0 1.0; to: "actionbtn1";
1582 relative: 1.0 1.0; to: "actionbtn1";
1586 part { name:"actionbtn2";
1589 description { state: "default" 0.0;
1590 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1591 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1594 rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1597 part { name: "elm.rect.pad_btn2";
1600 description { state: "default" 0.0;
1601 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1602 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1606 relative: 0.0 1.0; to: "actionbtn2";
1609 relative: 1.0 1.0; to: "actionbtn2";
1613 part { name:"actionbtn3";
1616 description { state: "default" 0.0;
1617 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1618 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1622 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1629 group { name: "elm/popup/content/menustyle";
1630 alias: "elm/popup/content/menustyle_transparent";
1632 part { name: "left_padding";
1635 description { state: "default" 0.0;
1638 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1647 part{ name:"elm.swallow.content";
1650 description { state: "default" 0.0;
1651 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1652 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1665 part { name: "right_padding";
1668 description { state: "default" 0.0;
1671 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1683 group { name: "elm/popup/content/min_menustyle";
1684 alias: "elm/popup/content/min_menustyle_transparent";
1686 part { name: "left_padding";
1689 description { state: "default" 0.0;
1692 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1701 part{ name:"elm.swallow.content";
1704 description { state: "default" 0.0;
1705 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1718 part { name: "right_padding";
1721 description { state: "default" 0.0;
1724 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1736 group { name: "elm/popup/content/liststyle";
1737 alias: "elm/popup/content/liststyle_transparent";
1739 part { name: "left_top_padding";
1742 description { state: "default" 0.0;
1745 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1746 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1749 part{ name:"elm.swallow.content";
1752 description { state: "default" 0.0;
1753 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1754 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1759 to:"left_top_padding";
1767 part { name: "right_padding";
1770 description { state: "default" 0.0;
1773 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1785 group { name: "elm/popup/content/min_liststyle";
1786 alias: "elm/popup/content/min_liststyle_transparent";
1788 part { name: "left_top_padding";
1791 description { state: "default" 0.0;
1794 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1795 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1798 part{ name:"elm.swallow.content";
1801 description { state: "default" 0.0;
1802 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1807 to:"left_top_padding";
1815 part { name: "right_padding";
1818 description { state: "default" 0.0;
1821 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1833 group { name: "elm/popup/buttons1/default";
1834 alias: "elm/popup/buttons1/transparent";
1835 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1837 part{ name:"actionbtn1";
1840 description { state: "default" 0.0;
1841 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1842 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1844 rel1.relative: 0.5 0.0;
1845 rel2.relative: 0.5 1.0;
1851 group { name: "elm/popup/buttons2/default";
1852 alias: "elm/popup/buttons2/transparent";
1853 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1855 part { name: "left_pad_btn";
1858 description { state: "default" 0.0;
1859 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1860 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1863 rel1.relative: 0.0 0.0;
1866 part { name: "right_pad_btn";
1869 description { state: "default" 0.0;
1870 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1871 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1874 rel2.relative: 1.0 1.0;
1877 part { name:"actionbtn1";
1880 description { state: "default" 0.0;
1889 to: "elm.rect.pad_btn";
1893 part { name: "elm.rect.pad_btn";
1896 description { state: "default" 0.0;
1897 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1898 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1900 rel1.relative: 0.5 0.0;
1901 rel2.relative: 0.5 1.0;
1904 part { name:"actionbtn2";
1907 description { state: "default" 0.0;
1912 to: "elm.rect.pad_btn";
1916 to: "right_pad_btn";
1923 group { name: "elm/popup/buttons3/default";
1924 alias: "elm/popup/buttons3/menustyle";
1925 alias: "elm/popup/buttons3/transparent";
1926 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1928 part { name: "left_pad_btn";
1931 description { state: "default" 0.0;
1932 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1933 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1936 rel1.relative: 0.0 0.0;
1939 part { name: "right_pad_btn";
1942 description { state: "default" 0.0;
1943 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1944 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1947 rel2.relative: 1.0 1.0;
1950 part { name: "btn_area";
1953 description { state: "default" 0.0;
1961 to: "right_pad_btn";
1965 part{ name:"actionbtn1";
1968 description { state: "default" 0.0;
1977 to: "elm.rect.pad_btn";
1981 part { name: "elm.rect.pad_btn";
1984 description { state: "default" 0.0;
1985 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1986 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1988 rel1.relative: 0.33 0.0;
1989 rel1.to: "btn_area";
1990 rel2.relative: 0.33 1.0;
1991 rel2.to: "btn_area";
1994 part{ name:"actionbtn2";
1997 description { state: "default" 0.0;
2001 to: "elm.rect.pad_btn";
2005 to: "elm.rect.pad_btn2";
2009 part { name: "elm.rect.pad_btn2";
2012 description { state: "default" 0.0;
2013 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2014 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2016 rel1.relative: 0.67 0.0;
2017 rel1.to: "btn_area";
2018 rel2.relative: 0.67 1.0;
2019 rel2.to: "btn_area";
2022 part{ name:"actionbtn3";
2025 description { state: "default" 0.0;
2030 to: "elm.rect.pad_btn2";
2034 to: "right_pad_btn";
2041 group { name: "elm/popup/base/volumebarstyle";
2042 inherit: "elm/popup/base/default";
2043 alias: "elm/popup/base/volumebarstyle_transparent";
2045 image: "00_popup_bg.png" COMP;
2048 part { name: "elm.swallow.content";
2051 description { state: "default" 0.0;
2052 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
2057 to_y: "shadow_left_top_padding";
2062 to_y: "shadow_right_bottom_padding";
2065 description { state: "show_title_area" 0.0;
2066 inherit: "default" 0.0;
2070 to_y: "elm.bg.title";
2075 to_y: "shadow_right_bottom_padding";
2078 description { state: "show_action_area" 0.0;
2079 inherit: "default" 0.0;
2083 to_y: "shadow_left_top_padding";
2088 to_y: "elm.swallow.action_area";
2091 description { state: "show_action_title_area" 0.0;
2092 inherit: "default" 0.0;
2096 to_y: "elm.bg.title";
2101 to_y: "elm.swallow.action_area";
2108 group { name: "elm/popup/base/volumebarstyle_text";
2109 alias: "elm/popup/base/volumebarstyle_text_transparent";
2110 inherit: "elm/popup/base/volumebarstyle";
2112 part { name: "elm.swallow.content";
2115 description { state: "default" 0.0;
2116 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
2121 to_y: "shadow_left_top_padding";
2126 to_y: "shadow_right_bottom_padding";
2129 description { state: "show_title_area" 0.0;
2130 inherit: "default" 0.0;
2134 to_y: "elm.bg.title";
2139 to_y: "shadow_right_bottom_padding";
2142 description { state: "show_action_area" 0.0;
2143 inherit: "default" 0.0;
2147 to_y: "shadow_left_top_padding";
2152 to_y: "elm.swallow.action_area";
2155 description { state: "show_action_title_area" 0.0;
2156 inherit: "default" 0.0;
2160 to_y: "elm.bg.title";
2165 to_y: "elm.swallow.action_area";
2172 group { name: "elm/popup/base/content_expand";
2173 alias: "elm/popup/base/content_expand_transparent";
2175 image: "00_popup_bg.png" COMP;
2179 name: "shadow_right_bottom_padding";
2182 description { state: "default" 0.0;
2183 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2184 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2189 part { name: "base";
2192 description { state: "default" 0.0;
2193 rel1.to_x: "elm.swallow.content";
2194 rel2.to_x: "elm.bg.action_area";
2196 normal: "00_popup_bg.png";
2197 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2204 part { name: "access.base";
2206 description { state: "default" 0.0;
2213 part { name: "elm.bg.title";
2216 description { state: "default" 0.0;
2217 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2228 description { state: "visible" 0.0;
2229 inherit: "default" 0.0;
2233 part { name: "left_pad";
2236 description { state: "default" 0.0;
2237 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2238 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2241 rel1.to: "elm.bg.title";
2244 part { name: "right_pad";
2247 description { state: "default" 0.0;
2248 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2249 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2252 rel2.to: "elm.bg.title";
2255 part { name: "elm.swallow.title.icon";
2258 description { state: "default" 0.0;
2259 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2260 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2273 description { state: "visible" 0.0;
2274 inherit: "default" 0.0;
2278 part { name: "elm.text.title";
2281 description { state: "default" 0.0;
2283 style: "popup_title_style";
2284 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2285 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2300 description { state: "visible" 0.0;
2301 inherit: "default" 0.0;
2305 part { name: "elm.swallow.content";
2308 description { state: "default" 0.0;
2309 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2310 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2311 rel1.relative: 0.5 0.0;
2312 rel2.relative: 0.5 1.0;
2314 description { state: "show_title_area" 0.0;
2315 inherit: "default" 0.0;
2318 to_y: "elm.bg.title";
2321 description { state: "show_action_area" 0.0;
2322 inherit: "default" 0.0;
2325 to_y: "elm.bg.action_area";
2328 description { state: "show_action_title_area" 0.0;
2329 inherit: "default" 0.0;
2332 to_y: "elm.bg.title";
2336 to_y: "elm.bg.action_area";
2340 part { name: "elm.bg.action_area";
2343 description { state: "default" 0.0;
2344 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2350 to_y: "shadow_right_bottom_padding";
2354 to_y: "shadow_right_bottom_padding";
2358 description { state: "visible" 0.0;
2359 inherit: "default" 0.0;
2363 part { name: "elm.swallow.action_area";
2366 description { state: "default" 0.0;
2367 rel1.to: "elm.bg.action_area";
2368 rel2.to: "elm.bg.action_area";
2373 program { name: show_title_icon;
2374 signal: "elm,state,title,icon,visible";
2376 action: STATE_SET "visible" 0.0;
2377 target: "elm.swallow.title.icon";
2379 program { name: hide_title_icon;
2380 signal: "elm,state,title,icon,hidden";
2382 action: STATE_SET "default" 0.0;
2383 target: "elm.swallow.title.icon";
2385 program { name: show_title_text;
2386 signal: "elm,state,title,text,visible";
2388 action: STATE_SET "visible" 0.0;
2389 target: "elm.text.title";
2391 program { name: hide_title_text;
2392 signal: "elm,state,title,text,hidden";
2394 action: STATE_SET "default" 0.0;
2395 target: "elm.text.title";
2397 program { name: show_title_area;
2398 signal: "elm,state,title_area,visible";
2403 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2404 if (!strcmp(st, "visible"))
2405 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2407 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2408 set_state(PART:"elm.bg.title", "visible", 0.0);
2411 program { name: hide_title_area;
2412 signal: "elm,state,title_area,hidden";
2414 action: STATE_SET "default" 0.0;
2418 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2419 if (!strcmp(st, "visible"))
2420 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2422 set_state(PART:"elm.swallow.content", "default", 0.0);
2423 set_state(PART:"elm.bg.title", "default", 0.0);
2426 program { name: show_action_area;
2427 signal: "elm,state,action_area,visible";
2432 get_state(PART:"elm.bg.title", st, 30, vl);
2433 if (!strcmp(st, "visible"))
2434 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2436 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2437 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2440 program { name: hide_action_area;
2441 signal: "elm,state,action_area,hidden";
2443 action: STATE_SET "default" 0.0;
2447 get_state(PART:"elm.bg.title", st, 30, vl);
2448 if (!strcmp(st, "visible"))
2449 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2451 set_state(PART:"elm.swallow.content", "default", 0.0);
2452 set_state(PART:"elm.bg.action_area", "default", 0.0);
2458 group { name: "elm/popup/buttons1/content_expand";
2459 alias: "elm/popup/buttons1/content_expand_transparent";
2460 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2462 part{ name:"actionbtn1";
2465 description { state: "default" 0.0;
2466 rel1.relative: 0.2 0.1;
2467 rel2.relative: 0.8 0.9;
2473 group { name: "elm/popup/buttons2/content_expand";
2474 alias: "elm/popup/buttons2/content_expand_transparent";
2475 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2477 part{ name:"actionbtn1";
2480 description { state: "default" 0.0;
2482 rel1.relative: 0.1 0.1;
2483 rel2.relative: 0.45 0.9;
2486 part{ name:"actionbtn2";
2489 description { state: "default" 0.0;
2491 rel1.relative: 0.55 0.1;
2492 rel2.relative: 0.9 0.9;
2498 group { name: "elm/popup/buttons3/content_expand";
2499 alias: "elm/popup/buttons3/content_expand_transparent";
2500 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2502 part{ name:"actionbtn1";
2505 description { state: "default" 0.0;
2507 rel1.relative: 0.05 0.1;
2508 rel2.relative: 0.3 0.9;
2511 part{ name:"actionbtn2";
2514 description { state: "default" 0.0;
2516 rel1.relative: 0.375 0.1;
2517 rel2.relative: 0.625 0.9;
2520 part{ name:"actionbtn3";
2523 description { state: "default" 0.0;
2525 rel1.relative: 0.7 0.1;
2526 rel2.relative: 0.95 0.9;
2532 group { name: "elm/popup/item/content_expand";
2533 alias: "elm/popup/item/content_expand_transparent";
2534 inherit: "elm/popup/item/default";
2539 description { state: "default" 0.0;
2540 color: 240 240 240 255;
2544 description { state: "clicked" 0.0;
2545 color: 190 170 150 255;
2551 group { name: "elm/popup/content/content_expand";
2552 alias: "elm/popup/content/content_expand_transparent";
2554 part{ name:"elm.swallow.content";
2557 description { state: "default" 0.0;
2563 #undef POPUP_ITEM_STATE_ENABLED
2564 #undef POPUP_ITEM_STATE_DISABLED