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;
95 description { state: "visible" 0.0;
101 perspective: "persp1";
105 description { state: "end" 0.0;
114 part { name: "clipper";
117 description { state: "default" 0.0;
123 color: 255 255 255 0;
125 description { state: "visible" 0.0;
127 color: 255 255 255 255;
129 description { state: "end" 0.0;
131 color: 255 255 255 255;
136 program { name: "show";
137 signal: "elm,action,show";
139 action: STATE_SET "default" 0.0;
140 target: "elm.swallow.content";
142 program { name: "show_1";
144 action: STATE_SET "default" 0.0;
145 target: "elm.swallow.content";
150 program { name: "end";
151 action: STATE_SET "visible" 0.0;
152 target: "elm.swallow.content";
153 transition: SIN_FAC 0.33 1.4;
156 program { name: "end1";
157 action: STATE_SET "visible" 0.0;
159 transition: SIN_FAC 0.33 0.5;
162 program { name: "end3";
163 action: STATE_SET "end" 0.0;
166 program { name: "end2";
167 action: STATE_SET "end" 0.0;
168 target: "elm.swallow.content";
170 program { name: "hide";
171 signal: "elm,action,hide";
173 action: STATE_SET "default" 0.0;
174 target: "elm.swallow.content";
179 group { name: "elm/notify/center/transparent";
180 inherit: "elm/notify/center/popup";
181 alias: "elm/notify/center/verticalbuttonstyle_transparent";
182 alias: "elm/notify/center/menustyle_transparent";
183 alias: "elm/notify/center/min_menustyle_transparent";
184 alias: "elm/notify/center/liststyle_transparent";
185 alias: "elm/notify/center/min_liststyle_transparent";
186 alias: "elm/notify/center/customstyle_transparent";
187 alias: "elm/notify/center/volumebarstyle_transparent";
188 alias: "elm/notify/center/volumebarstyle_text_transparent";
189 alias: "elm/notify/center/content_expand_transparent";
191 part { name: "elm.swallow.content";
194 description { state: "default" 0.0;
197 description { state: "visible" 0.0;
200 description { state: "end" 0.0;
207 group { name: "elm/notify/block_events/popup";
208 alias: "elm/notify/block_events/verticalbuttonstyle";
209 alias: "elm/notify/block_events/menustyle";
210 alias: "elm/notify/block_events/min_menustyle";
211 alias: "elm/notify/block_events/liststyle";
212 alias: "elm/notify/block_events/min_liststyle";
213 alias: "elm/notify/block_events/customstyle";
214 alias: "elm/notify/block_events/volumebarstyle";
215 alias: "elm/notify/block_events/volumebarstyle_text";
216 alias: "elm/notify/block_events/content_expand";
217 alias: "elm/notify/block_events/content_no_vhpad";
219 image: "00_popup_dim_lighting_v.png" COMP;
220 image: "00_popup_dim_lighting_h.png" COMP;
223 part { name: "block_events";
227 description { state: "default" 0.0;
228 image.normal: "00_popup_dim_lighting_v.png";
231 description { state: "landscape" 0.0;
232 image.normal: "00_popup_dim_lighting_h.png";
236 part {name: "popup_indicator";
240 description { state: "default" 0.0;
243 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
244 rel2.relative: 1.0 0.0;
245 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
247 description { state: "show" 0.0;
248 inherit: "default" 0.0;
249 color: POPUP_DIM_BG_COLOR_INC;
251 description { state: "clicked" 0.0;
252 inherit: "default" 0.0;
253 color: POPUP_DIM_BG_COLOR_INC;
256 part { name: "block_events_color";
259 description { state: "default" 0.0;
262 to: "popup_indicator";
264 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
266 description { state: "show" 0.0;
267 inherit: "default" 0.0;
268 color: POPUP_DIM_BG_COLOR_INC;
270 description { state: "clicked" 0.0;
271 inherit: "default" 0.0;
272 color: POPUP_DIM_BG_COLOR_INC;
277 program { name: "show";
278 signal: "elm,action,show";
280 action: STATE_SET "default" 0.0;
281 target: "block_events";
282 target: "block_events_color";
283 target: "popup_indicator";
285 program { name: "show1";
287 action: STATE_SET "show" 0.0;
288 transition: SIN_FAC 0.33 0.5;
289 target: "block_events_color";
290 target: "popup_indicator";
292 program { name: "block_clicked";
293 signal: "mouse,clicked,1";
294 source: "block_events_color";
295 action: SIGNAL_EMIT "elm,action,click" "elm";
296 after: "deeper_block_color";
298 program { name: "indicator_clicked";
299 signal: "mouse,clicked,1";
300 source: "popup_indicator";
301 action: SIGNAL_EMIT "elm,action,click" "elm";
302 after: "deeper_block_color";
305 name: "deeper_block_color";
306 action: STATE_SET "clicked" 0.0;
307 target: "block_events_color";
308 target: "popup_indicator";
309 transition: LINEAR 0.2;
310 after: "default_block_color";
313 name: "default_block_color";
314 action: STATE_SET "show" 0.0;
315 target: "block_events_color";
316 target: "popup_indicator";
317 transition: LINEAR 0.2;
319 program { name: "landscape_mode";
321 signal: "elm,state,orient,90";
322 action: STATE_SET "landscape" 0.0;
323 target: "block_events";
325 program { name: "landscape_mode2";
327 signal: "elm,state,orient,270";
328 action: STATE_SET "landscape" 0.0;
329 target: "block_events";
331 program { name: "portrait_mode";
333 signal: "elm,state,orient,0";
334 action: STATE_SET "default" 0.0;
335 target: "block_events";
337 program { name: "portrait_mode2";
339 signal: "elm,state,orient,180";
340 action: STATE_SET "default" 0.0;
341 target: "block_events";
346 group { name: "elm/notify/block_events/indicator_norepeatevent";
347 inherit: "elm/notify/block_events/popup";
349 part { name: "popup_indicator";
353 description { state: "default" 0.0;
356 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
357 rel2.relative: 1.0 0.0;
358 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
360 description { state: "show" 0.0;
361 inherit: "default" 0.0;
362 color: POPUP_DIM_BG_COLOR_INC;
364 description { state: "clicked" 0.0;
365 inherit: "default" 0.0;
366 color: POPUP_DIM_BG_COLOR_INC;
372 group { name: "elm/notify/block_events/transparent";
373 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
374 alias: "elm/notify/block_events/menustyle_transparent";
375 alias: "elm/notify/block_events/min_menustyle_transparent";
376 alias: "elm/notify/block_events/liststyle_transparent";
377 alias: "elm/notify/block_events/min_liststyle_transparent";
378 alias: "elm/notify/block_events/customstyle_transparent";
379 alias: "elm/notify/block_events/volumebarstyle_transparent";
380 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
381 alias: "elm/notify/block_events/content_expand_transparent";
383 part {name: "popup_indicator";
387 description { state: "default" 0.0;
390 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
391 rel2.relative: 1.0 0.0;
392 color: POPUP_DIM_BG_TRANS_COLOR_INC;
395 part { name: "block_events";
397 description { state: "default" 0.0;
400 to: "popup_indicator";
402 color: POPUP_DIM_BG_TRANS_COLOR_INC;
408 group { name: "elm/notify/block_events/indicator_norepeatevent_transparent";
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_TRANS_COLOR_INC;
426 group { name: "elm/notify/block_events/dimrect";
427 inherit: "elm/notify/block_events/transparent";
429 part {name: "popup_indicator";
433 description { state: "default" 0.0;
436 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
437 rel2.relative: 1.0 0.0;
438 color: POPUP_DIM_BG_COLOR_INC;
441 part { name: "block_events";
443 description { state: "default" 0.0;
446 to: "popup_indicator";
448 color: POPUP_DIM_BG_COLOR_INC;
454 group { name: "elm/label/base/popup/default";
455 alias: "elm/label/base/popup/content_expand";
456 alias: "elm/label/base/popup/transparent";
458 style { name: "popup_desc_style";
459 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";
462 tag: "whitecolor" "+ color=#ffffff";
467 part { name: "elm.text";
471 description { state: "default" 0.0;
472 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
473 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
475 style: "popup_desc_style";
483 group { name: "elm/popup/base/default";
484 alias: "elm/popup/base/transparent";
485 alias: "elm/popup/base/verticalbuttonstyle";
486 alias: "elm/popup/base/verticalbuttonstyle_transparent";
487 alias: "elm/popup/base/customstyle";
488 alias: "elm/popup/base/customstyle_transparent";
489 alias: "elm/popup/base/liststyle";
490 alias: "elm/popup/base/menustyle";
491 alias: "elm/popup/base/indicator_norepeatevent";
493 image: "00_popup_bg.png" COMP;
496 style { name: "popup_title_style";
497 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";
504 name:"shadow_left_top_padding";
507 description { state: "default" 0.0;
508 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
509 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
515 name:"shadow_right_bottom_padding";
518 description { state: "default" 0.0;
519 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
520 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
527 description { state: "default" 0.0;
528 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
529 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
531 normal: "00_popup_bg.png";
532 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
538 description { state: "landscape" 0.0;
539 inherit: "default" 0.0;
540 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
541 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
544 part { name: "elm.bg.title";
547 description { state: "default" 0.0;
548 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
549 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
554 to_y: "shadow_left_top_padding";
558 to_y: "shadow_left_top_padding";
561 description { state: "visible" 0.0;
562 inherit: "default" 0.0;
564 description { state: "landscape" 0.0;
565 inherit: "default" 0.0;
566 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
567 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
569 description { state: "landscape_visible" 0.0;
570 inherit: "landscape" 0.0;
573 part { name: "action_top_padding";
576 description { state: "default" 0.0;
577 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
578 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
583 to_y: "shadow_left_top_padding";
587 to_y: "shadow_left_top_padding";
591 part { name: "label_top_padding";
594 description { state: "default" 0.0;
601 to_y: "shadow_left_top_padding";
605 to_y: "shadow_left_top_padding";
609 part { name: "label_bottom_padding";
612 description { state: "default" 0.0;
619 to_y: "shadow_right_bottom_padding";
623 to_y: "shadow_right_bottom_padding";
627 part { name: "title_left_top_padding";
630 description { state: "default" 0.0;
632 rel1.to: "elm.bg.title";
634 min: 0 POPUP_TITLE_TOP_PADDING;
635 max: 0 POPUP_TITLE_TOP_PADDING;
638 part { name: "title_right_bottom_padding";
641 description { state: "default" 0.0;
643 rel2.to: "elm.bg.title";
645 min: 0 POPUP_TITLE_BOTTOM_PADDING;
646 max: 0 POPUP_TITLE_BOTTOM_PADDING;
649 part { name: "icon_rect";
652 description { state: "default" 0.0;
657 to: "title_left_top_padding";
661 to_x: "title_left_top_padding";
662 to_y: "elm.bg.title";
666 description { state: "visible" 0.0;
667 inherit: "default" 0.0;
668 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
669 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
672 part { name: "padding_after_icon";
675 description { state: "default" 0.0;
687 description { state: "visible" 0.0;
688 inherit: "default" 0.0;
689 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
692 part { name: "elm.swallow.title.icon";
695 description { state: "default" 0.0;
696 rel1.to: "icon_rect";
697 rel2.to: "icon_rect";
700 part { name: "elm.text.title";
703 description { state: "default" 0.0;
706 style: "popup_title_style";
707 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
708 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
715 to: "padding_after_icon";
719 to: "title_right_bottom_padding";
724 part { name: "access.title";
727 description { state: "default" 0.0;
731 to_x: "shadow_left_top_padding";
732 to_y: "elm.bg.title";
736 to_x: "shadow_right_bottom_padding";
737 to_y: "elm.bg.title";
742 part { name: "elm.swallow.content";
745 description { state: "default" 0.0;
746 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
747 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
752 to_y: "label_top_padding";
757 to_y: "label_bottom_padding";
760 description { state: "show_title_area" 0.0;
761 inherit: "default" 0.0;
765 to_y: "elm.bg.title";
770 to_y: "shadow_right_bottom_padding";
773 description { state: "show_action_area" 0.0;
774 inherit: "default" 0.0;
778 to_y: "action_top_padding";
783 to_y: "elm.swallow.action_area";
786 description { state: "show_action_title_area" 0.0;
787 inherit: "default" 0.0;
791 to_y: "elm.bg.title";
796 to_y: "elm.swallow.action_area";
800 part { name: "access.body";
803 description { state: "default" 0.0;
807 to_x: "shadow_left_top_padding";
808 to_y: "elm.swallow.content";
812 to_x: "shadow_right_bottom_padding";
813 to_y: "elm.swallow.content";
818 part { name: "access.base";
821 description { state: "default" 0.0;
828 part { name: "elm.swallow.action_area";
831 description { state: "default" 0.0;
832 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
839 to_y: "shadow_right_bottom_padding";
844 to_y: "shadow_right_bottom_padding";
847 description { state: "visible" 0.0;
848 inherit: "default" 0.0;
854 program { name: show_title_icon;
855 signal: "elm,state,title,icon,visible";
857 action: STATE_SET "visible" 0.0;
859 target: "padding_after_icon";
861 program { name: hide_title_icon;
862 signal: "elm,state,title,icon,hidden";
864 action: STATE_SET "default" 0.0;
865 target: "padding_after_icon";
868 program { name: show_title_area;
869 signal: "elm,state,title_area,visible";
874 get_state(PART:"elm.swallow.action_area", st, 30, vl);
875 if (!strcmp(st, "visible"))
876 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
878 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
879 get_state(PART:"base", st, 30, vl);
880 if (!strcmp(st, "landscape"))
881 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
883 set_state(PART:"elm.bg.title", "visible", 0.0);
886 program { name: hide_title_area;
887 signal: "elm,state,title_area,hidden";
889 action: STATE_SET "default" 0.0;
893 get_state(PART:"elm.swallow.action_area", st, 30, vl);
894 if (!strcmp(st, "visible"))
895 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
897 set_state(PART:"elm.swallow.content", "default", 0.0);
898 get_state(PART:"base", st, 30, vl);
899 if (!strcmp(st, "landscape"))
900 set_state(PART:"elm.bg.title", "landscape", 0.0);
902 set_state(PART:"elm.bg.title", "default", 0.0);
905 program { name: show_action_area;
906 signal: "elm,state,action_area,visible";
911 get_state(PART:"elm.bg.title", st, 30, vl);
912 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
913 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
915 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
916 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
919 program { name: hide_action_area;
920 signal: "elm,state,action_area,hidden";
922 action: STATE_SET "default" 0.0;
926 get_state(PART:"elm.bg.title", st, 30, vl);
927 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
928 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
930 set_state(PART:"elm.swallow.content", "default", 0.0);
931 set_state(PART:"elm.swallow.action_area", "default", 0.0);
934 program { name: "change_to_landscape";
935 signal: "elm,state,landscape";
937 action: STATE_SET "landscape" 0.0;
939 target: "elm.bg.title";
940 after: "orientation_change";
942 program { name: "orientation_change";
943 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
945 program { name: "change_to_portrait";
946 signal: "elm,state,portrait";
948 action: STATE_SET "default" 0.0;
950 target: "elm.bg.title";
951 after: "orientation_change";
953 program { name: "landscape_mode";
955 signal: "elm,state,orient,90";
956 action: SIGNAL_EMIT "elm,state,landscape" "elm";
958 program { name: "landscape_mode2";
960 signal: "elm,state,orient,270";
961 action: SIGNAL_EMIT "elm,state,landscape" "elm";
963 program { name: "portrait_mode";
965 signal: "elm,state,orient,0";
966 action: SIGNAL_EMIT "elm,state,portrait" "elm";
968 program { name: "portrait_mode2";
970 signal: "elm,state,orient,180";
971 action: SIGNAL_EMIT "elm,state,portrait" "elm";
973 } /* end of programs */
976 group { name: "elm/popup/base/content_no_vhpad";
977 inherit: "elm/popup/base/default";
978 alias: "elm/popup/base/min_menustyle";
980 part { name: "label_top_padding";
983 description { state: "default" 0.0;
990 to_y: "shadow_left_top_padding";
994 to_y: "shadow_left_top_padding";
998 part { name: "label_bottom_padding";
1001 description { state: "default" 0.0;
1008 to_y: "shadow_right_bottom_padding";
1012 to_y: "shadow_right_bottom_padding";
1019 group { name: "elm/popup/content/default";
1020 alias: "elm/popup/content/transparent";
1021 alias: "elm/popup/content/customstyle";
1022 alias: "elm/popup/content/customstyle_transparent";
1023 alias: "elm/popup/content/indicator_norepeatevent";
1025 part { name: "pad_t";
1029 description { state: "default" 0.0;
1031 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1032 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1044 part { name: "pad_l";
1047 description { state: "default" 0.0;
1048 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1049 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1051 rel2.relative: 0.0 1.0;
1055 part { name: "pad_r";
1058 description { state: "default" 0.0;
1059 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1060 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1062 rel1.relative: 1.0 0.0;
1066 part { name:"elm.swallow.content";
1069 description { state: "default" 0.0;
1083 part { name: "pad_b";
1086 description { state: "default" 0.0;
1088 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1089 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1101 group { name: "elm/popup/content/content_no_vhpad";
1102 inherit: "elm/popup/content/default";
1103 alias: "elm/popup/content/min_menustyle";
1105 part { name: "pad_t";
1109 description { state: "default" 0.0;
1111 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
1112 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
1124 part { name: "pad_l";
1127 description { state: "default" 0.0;
1128 min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1129 max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1131 rel2.relative: 0.0 1.0;
1135 part { name: "pad_r";
1138 description { state: "default" 0.0;
1139 min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1140 max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1142 rel1.relative: 1.0 0.0;
1146 part { name: "pad_b";
1149 description { state: "default" 0.0;
1151 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
1152 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
1164 ///////////////////////////////////////////////////////////////////////////////
1166 group { name: "elm/popup/item/default";
1167 alias: "elm/popup/item/min_menustyle";
1169 public item_state = POPUP_ITEM_STATE_ENABLED;
1172 part { name: "event_blocker";
1174 description { state: "default" 0.0;
1182 description { state: "default" 0.0;
1183 color: GENLIST_LIST_BG_COLOR;
1184 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1187 description { state: "clicked" 0.0;
1188 color: GENLIST_LIST_PRESS_COLOR;
1191 part { name: "padding_left_top";
1194 description { state: "default" 0.0;
1196 rel2.relative: 0.0 0.0;
1197 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1201 part { name: "padding_right_bottom";
1204 description { state: "default" 0.0;
1206 rel1.relative: 1.0 1.0;
1207 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1211 part { name: "separator";
1215 description { state: "dafault" 0.0;
1216 color: GENLIST_LIST_LINE1_COLOR;
1222 part { name: "padding_icon_text";
1225 description { state: "default" 0.0; //when only icon or no icon is there
1229 to: "elm.swallow.content";
1231 rel2.to: "elm.swallow.content";
1235 description { state: "visible" 0.0; //when icon is visible
1236 inherit: "default" 0.0;
1237 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1239 description { state: "icononly" 0.0;
1240 inherit: "default" 0.0;
1243 part { name: "elm.swallow.content";
1246 description { state: "default" 0.0;
1251 to: "padding_left_top";
1255 to_x: "padding_left_top";
1256 to_y: "padding_right_bottom";
1260 description { state: "visible" 0.0;
1267 to: "padding_left_top";
1271 to_x: "padding_left_top";
1272 to_y: "padding_right_bottom";
1275 aspect_preference: VERTICAL;
1277 description { state: "icononly" 0.0;
1282 to: "padding_left_top";
1286 to: "padding_right_bottom";
1289 aspect_preference: VERTICAL;
1292 part { name: "elm.text";
1296 description { state: "default" 0.0;
1300 to_x: "padding_icon_text";
1301 to_y: "padding_left_top";
1305 to:"padding_right_bottom";
1308 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1312 font: "Tizen:style=Regular";
1313 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1314 text_class: "list_item";
1317 description { state: "visible" 0.0;
1318 inherit: "default" 0.0;
1321 description { state: "clicked" 0.0;
1322 inherit: "default" 0.0;
1324 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1326 description { state: "disabled" 0.0;
1327 inherit: "default" 0.0;
1328 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1330 description { state: "disabled_visible" 0.0;
1331 inherit: "default" 0.0;
1332 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1336 part { name: "over1";
1339 ignore_flags: ON_HOLD;
1340 description { state: "default" 0.0;
1344 part { name: "over2";
1347 description { state: "default" 0.0;
1351 part { name: "disclip";
1353 description { state: "default" 0.0;
1356 description { state: "disabled" 0.0;
1362 program { name: "item_unclick";
1363 signal: "mouse,clicked,1";
1365 action: SIGNAL_EMIT "elm,action,click" "";
1368 program { name: "touch_snd";
1369 action: PLAY_SAMPLE "touch_sound" 1.0;
1371 program { name: "disable";
1372 signal: "elm,state,item,disabled";
1374 action: STATE_SET "disabled" 0.0;
1376 after: "disable_text";
1378 program { name: "enable";
1379 signal: "elm,state,item,enabled";
1381 action: STATE_SET "default" 0.0;
1383 after: "enable_text";
1385 program { name: "item_click2";
1386 signal: "mouse,down,1";
1391 get_state(PART:"elm.text", st, 30, vl);
1392 if (!strcmp(st, "visible"))
1393 set_state(PART:"elm.text", "clicked", 0.0);
1394 set_state(PART:"bg", "clicked", 0.0);
1397 program { name: "item_unclick2";
1398 signal: "mouse,up,1";
1403 get_state(PART:"elm.text", st, 30, vl);
1404 if (!strcmp(st, "clicked"))
1405 set_state(PART:"elm.text", "visible", 0.0);
1406 set_state(PART:"bg", "default", 0.0);
1409 program { name: "disable_text";
1413 get_state(PART:"elm.text", st, 30, vl);
1414 if (!strcmp(st, "visible"))
1415 set_state(PART:"elm.text", "disabled_visible", 0.0);
1417 set_state(PART:"elm.text", "disabled", 0.0);
1418 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1421 program { name: "enable_text";
1425 get_state(PART:"elm.text", st, 30, vl);
1426 if (!strcmp(st, "disabled_visible"))
1427 set_state(PART:"elm.text", "visible", 0.0);
1429 set_state(PART:"elm.text", "default", 0.0);
1430 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1433 program { name: "text_show";
1434 signal: "elm,state,item,text,visible";
1439 get_state(PART:"elm.swallow.content", st, 30, vl);
1440 if (!strcmp(st, "icononly")) {
1441 set_state(PART:"elm.swallow.content", "visible", 0.0);
1442 set_state(PART:"padding_icon_text", "visible", 0.0);
1444 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1445 set_state(PART:"elm.text", "visible", 0.0);
1447 set_state(PART:"elm.text", "disabled_visible", 0.0);
1450 program { name: "text_hide";
1451 signal: "elm,state,item,text,hidden";
1456 get_state(PART:"elm.swallow.content", st, 30, vl);
1457 if (!strcmp(st, "visible")) {
1458 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1459 set_state(PART:"padding_icon_text", "icononly", 0.0);
1461 set_state(PART:"elm.text", "default", 0.0);
1464 program { name: "icon_show";
1465 signal: "elm,state,item,icon,visible";
1470 get_state(PART:"elm.text", st, 30, vl);
1471 if (!strcmp(st, "visible")) {
1472 set_state(PART:"elm.swallow.content", "visible", 0.0);
1473 set_state(PART:"padding_icon_text", "visible", 0.0);
1476 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1477 set_state(PART:"padding_icon_text", "icononly", 0.0);
1481 program { name: "icon_hide";
1482 signal: "elm,state,item,icon,hidden";
1484 action: STATE_SET "default" 0.0;
1485 target: "elm.swallow.content";
1490 /////////////////////////////////////////////////////////////////////////////////////////
1491 group { name: "elm/popup/item/landscape/default";
1492 inherit: "elm/popup/item/default";
1498 description { state: "default" 0.0;
1499 color: GENLIST_LIST_BG_COLOR;
1500 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1503 description { state: "clicked" 0.0;
1504 color: GENLIST_LIST_PRESS_COLOR;
1510 ////////////////////////////////////////////////////////////////////////////////////////
1511 group { name: "elm/label/base/popup/verticalbuttonstyle";
1514 style { name: "popup_desc_style_center";
1515 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";
1518 tag: "whitecolor" "+ color=#ffffff";
1523 part { name: "elm.text";
1527 description { state: "default" 0.0;
1529 style: "popup_desc_style_center";
1539 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1540 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1541 data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1546 description { state: "default" 0.0;
1547 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1551 part { name: "elm.rect.pad_btn_top";
1554 description { state: "default" 0.0;
1555 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1566 part { name:"actionbtn1";
1569 description { state: "default" 0.0;
1570 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1571 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1575 relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1579 part { name: "elm.rect.pad_btn";
1582 description { state: "default" 0.0;
1583 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1584 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1588 relative: 0.0 1.0; to: "actionbtn1";
1591 relative: 1.0 1.0; to: "actionbtn1";
1595 part { name:"actionbtn2";
1598 description { state: "default" 0.0;
1599 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1600 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1603 rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1606 part { name: "elm.rect.pad_btn2";
1609 description { state: "default" 0.0;
1610 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1611 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1615 relative: 0.0 1.0; to: "actionbtn2";
1618 relative: 1.0 1.0; to: "actionbtn2";
1622 part { name:"actionbtn3";
1625 description { state: "default" 0.0;
1626 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1627 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1631 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1638 group { name: "elm/popup/content/menustyle";
1639 alias: "elm/popup/content/menustyle_transparent";
1641 part { name: "left_padding";
1644 description { state: "default" 0.0;
1647 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1656 part{ name:"elm.swallow.content";
1659 description { state: "default" 0.0;
1660 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1661 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1674 part { name: "right_padding";
1677 description { state: "default" 0.0;
1680 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1692 group { name: "elm/popup/content/min_menustyle";
1693 alias: "elm/popup/content/min_menustyle_transparent";
1695 part { name: "left_padding";
1698 description { state: "default" 0.0;
1701 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1710 part{ name:"elm.swallow.content";
1713 description { state: "default" 0.0;
1714 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1727 part { name: "right_padding";
1730 description { state: "default" 0.0;
1733 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1745 group { name: "elm/popup/content/liststyle";
1746 alias: "elm/popup/content/liststyle_transparent";
1748 part { name: "left_top_padding";
1751 description { state: "default" 0.0;
1754 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1755 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1758 part{ name:"elm.swallow.content";
1761 description { state: "default" 0.0;
1762 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1763 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1768 to:"left_top_padding";
1776 part { name: "right_padding";
1779 description { state: "default" 0.0;
1782 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1794 group { name: "elm/popup/content/min_liststyle";
1795 alias: "elm/popup/content/min_liststyle_transparent";
1797 part { name: "left_top_padding";
1800 description { state: "default" 0.0;
1803 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1804 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1807 part{ name:"elm.swallow.content";
1810 description { state: "default" 0.0;
1811 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1816 to:"left_top_padding";
1824 part { name: "right_padding";
1827 description { state: "default" 0.0;
1830 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1842 group { name: "elm/popup/buttons1/default";
1843 alias: "elm/popup/buttons1/transparent";
1844 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1846 part{ name:"actionbtn1";
1849 description { state: "default" 0.0;
1850 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1851 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1853 rel1.relative: 0.5 0.0;
1854 rel2.relative: 0.5 1.0;
1860 group { name: "elm/popup/buttons2/default";
1861 alias: "elm/popup/buttons2/transparent";
1862 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1864 part { name: "left_pad_btn";
1867 description { state: "default" 0.0;
1868 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1869 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1872 rel1.relative: 0.0 0.0;
1875 part { name: "right_pad_btn";
1878 description { state: "default" 0.0;
1879 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1880 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1883 rel2.relative: 1.0 1.0;
1886 part { name:"actionbtn1";
1889 description { state: "default" 0.0;
1898 to: "elm.rect.pad_btn";
1902 part { name: "elm.rect.pad_btn";
1905 description { state: "default" 0.0;
1906 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1907 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1909 rel1.relative: 0.5 0.0;
1910 rel2.relative: 0.5 1.0;
1913 part { name:"actionbtn2";
1916 description { state: "default" 0.0;
1921 to: "elm.rect.pad_btn";
1925 to: "right_pad_btn";
1932 group { name: "elm/popup/buttons3/default";
1933 alias: "elm/popup/buttons3/menustyle";
1934 alias: "elm/popup/buttons3/transparent";
1935 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1937 part { name: "left_pad_btn";
1940 description { state: "default" 0.0;
1941 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1942 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1945 rel1.relative: 0.0 0.0;
1948 part { name: "right_pad_btn";
1951 description { state: "default" 0.0;
1952 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1953 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1956 rel2.relative: 1.0 1.0;
1959 part { name: "btn_area";
1962 description { state: "default" 0.0;
1970 to: "right_pad_btn";
1974 part{ name:"actionbtn1";
1977 description { state: "default" 0.0;
1986 to: "elm.rect.pad_btn";
1990 part { name: "elm.rect.pad_btn";
1993 description { state: "default" 0.0;
1994 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1995 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1997 rel1.relative: 0.33 0.0;
1998 rel1.to: "btn_area";
1999 rel2.relative: 0.33 1.0;
2000 rel2.to: "btn_area";
2003 part{ name:"actionbtn2";
2006 description { state: "default" 0.0;
2010 to: "elm.rect.pad_btn";
2014 to: "elm.rect.pad_btn2";
2018 part { name: "elm.rect.pad_btn2";
2021 description { state: "default" 0.0;
2022 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2023 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2025 rel1.relative: 0.67 0.0;
2026 rel1.to: "btn_area";
2027 rel2.relative: 0.67 1.0;
2028 rel2.to: "btn_area";
2031 part{ name:"actionbtn3";
2034 description { state: "default" 0.0;
2039 to: "elm.rect.pad_btn2";
2043 to: "right_pad_btn";
2050 group { name: "elm/popup/base/volumebarstyle";
2051 inherit: "elm/popup/base/default";
2052 alias: "elm/popup/base/volumebarstyle_transparent";
2054 image: "00_popup_bg.png" COMP;
2057 part { name: "elm.swallow.content";
2060 description { state: "default" 0.0;
2061 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
2066 to_y: "shadow_left_top_padding";
2071 to_y: "shadow_right_bottom_padding";
2074 description { state: "show_title_area" 0.0;
2075 inherit: "default" 0.0;
2079 to_y: "elm.bg.title";
2084 to_y: "shadow_right_bottom_padding";
2087 description { state: "show_action_area" 0.0;
2088 inherit: "default" 0.0;
2092 to_y: "shadow_left_top_padding";
2097 to_y: "elm.swallow.action_area";
2100 description { state: "show_action_title_area" 0.0;
2101 inherit: "default" 0.0;
2105 to_y: "elm.bg.title";
2110 to_y: "elm.swallow.action_area";
2117 group { name: "elm/popup/base/volumebarstyle_text";
2118 alias: "elm/popup/base/volumebarstyle_text_transparent";
2119 inherit: "elm/popup/base/volumebarstyle";
2121 part { name: "elm.swallow.content";
2124 description { state: "default" 0.0;
2125 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
2130 to_y: "shadow_left_top_padding";
2135 to_y: "shadow_right_bottom_padding";
2138 description { state: "show_title_area" 0.0;
2139 inherit: "default" 0.0;
2143 to_y: "elm.bg.title";
2148 to_y: "shadow_right_bottom_padding";
2151 description { state: "show_action_area" 0.0;
2152 inherit: "default" 0.0;
2156 to_y: "shadow_left_top_padding";
2161 to_y: "elm.swallow.action_area";
2164 description { state: "show_action_title_area" 0.0;
2165 inherit: "default" 0.0;
2169 to_y: "elm.bg.title";
2174 to_y: "elm.swallow.action_area";
2181 group { name: "elm/popup/base/content_expand";
2182 alias: "elm/popup/base/content_expand_transparent";
2184 image: "00_popup_bg.png" COMP;
2188 name: "shadow_right_bottom_padding";
2191 description { state: "default" 0.0;
2192 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2193 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2198 part { name: "base";
2201 description { state: "default" 0.0;
2202 rel1.to_x: "elm.swallow.content";
2203 rel2.to_x: "elm.bg.action_area";
2205 normal: "00_popup_bg.png";
2206 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2213 part { name: "access.base";
2215 description { state: "default" 0.0;
2222 part { name: "elm.bg.title";
2225 description { state: "default" 0.0;
2226 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2237 description { state: "visible" 0.0;
2238 inherit: "default" 0.0;
2242 part { name: "left_pad";
2245 description { state: "default" 0.0;
2246 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2247 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2250 rel1.to: "elm.bg.title";
2253 part { name: "right_pad";
2256 description { state: "default" 0.0;
2257 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2258 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2261 rel2.to: "elm.bg.title";
2264 part { name: "elm.swallow.title.icon";
2267 description { state: "default" 0.0;
2268 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2269 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2282 description { state: "visible" 0.0;
2283 inherit: "default" 0.0;
2287 part { name: "elm.text.title";
2290 description { state: "default" 0.0;
2292 style: "popup_title_style";
2293 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2294 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2309 description { state: "visible" 0.0;
2310 inherit: "default" 0.0;
2314 part { name: "elm.swallow.content";
2317 description { state: "default" 0.0;
2318 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2319 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2320 rel1.relative: 0.5 0.0;
2321 rel2.relative: 0.5 1.0;
2323 description { state: "show_title_area" 0.0;
2324 inherit: "default" 0.0;
2327 to_y: "elm.bg.title";
2330 description { state: "show_action_area" 0.0;
2331 inherit: "default" 0.0;
2334 to_y: "elm.bg.action_area";
2337 description { state: "show_action_title_area" 0.0;
2338 inherit: "default" 0.0;
2341 to_y: "elm.bg.title";
2345 to_y: "elm.bg.action_area";
2349 part { name: "elm.bg.action_area";
2352 description { state: "default" 0.0;
2353 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2359 to_y: "shadow_right_bottom_padding";
2363 to_y: "shadow_right_bottom_padding";
2367 description { state: "visible" 0.0;
2368 inherit: "default" 0.0;
2372 part { name: "elm.swallow.action_area";
2375 description { state: "default" 0.0;
2376 rel1.to: "elm.bg.action_area";
2377 rel2.to: "elm.bg.action_area";
2382 program { name: show_title_icon;
2383 signal: "elm,state,title,icon,visible";
2385 action: STATE_SET "visible" 0.0;
2386 target: "elm.swallow.title.icon";
2388 program { name: hide_title_icon;
2389 signal: "elm,state,title,icon,hidden";
2391 action: STATE_SET "default" 0.0;
2392 target: "elm.swallow.title.icon";
2394 program { name: show_title_text;
2395 signal: "elm,state,title,text,visible";
2397 action: STATE_SET "visible" 0.0;
2398 target: "elm.text.title";
2400 program { name: hide_title_text;
2401 signal: "elm,state,title,text,hidden";
2403 action: STATE_SET "default" 0.0;
2404 target: "elm.text.title";
2406 program { name: show_title_area;
2407 signal: "elm,state,title_area,visible";
2412 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2413 if (!strcmp(st, "visible"))
2414 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2416 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2417 set_state(PART:"elm.bg.title", "visible", 0.0);
2420 program { name: hide_title_area;
2421 signal: "elm,state,title_area,hidden";
2423 action: STATE_SET "default" 0.0;
2427 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2428 if (!strcmp(st, "visible"))
2429 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2431 set_state(PART:"elm.swallow.content", "default", 0.0);
2432 set_state(PART:"elm.bg.title", "default", 0.0);
2435 program { name: show_action_area;
2436 signal: "elm,state,action_area,visible";
2441 get_state(PART:"elm.bg.title", st, 30, vl);
2442 if (!strcmp(st, "visible"))
2443 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2445 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2446 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2449 program { name: hide_action_area;
2450 signal: "elm,state,action_area,hidden";
2452 action: STATE_SET "default" 0.0;
2456 get_state(PART:"elm.bg.title", st, 30, vl);
2457 if (!strcmp(st, "visible"))
2458 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2460 set_state(PART:"elm.swallow.content", "default", 0.0);
2461 set_state(PART:"elm.bg.action_area", "default", 0.0);
2467 group { name: "elm/popup/buttons1/content_expand";
2468 alias: "elm/popup/buttons1/content_expand_transparent";
2469 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2471 part{ name:"actionbtn1";
2474 description { state: "default" 0.0;
2475 rel1.relative: 0.2 0.1;
2476 rel2.relative: 0.8 0.9;
2482 group { name: "elm/popup/buttons2/content_expand";
2483 alias: "elm/popup/buttons2/content_expand_transparent";
2484 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2486 part{ name:"actionbtn1";
2489 description { state: "default" 0.0;
2491 rel1.relative: 0.1 0.1;
2492 rel2.relative: 0.45 0.9;
2495 part{ name:"actionbtn2";
2498 description { state: "default" 0.0;
2500 rel1.relative: 0.55 0.1;
2501 rel2.relative: 0.9 0.9;
2507 group { name: "elm/popup/buttons3/content_expand";
2508 alias: "elm/popup/buttons3/content_expand_transparent";
2509 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2511 part{ name:"actionbtn1";
2514 description { state: "default" 0.0;
2516 rel1.relative: 0.05 0.1;
2517 rel2.relative: 0.3 0.9;
2520 part{ name:"actionbtn2";
2523 description { state: "default" 0.0;
2525 rel1.relative: 0.375 0.1;
2526 rel2.relative: 0.625 0.9;
2529 part{ name:"actionbtn3";
2532 description { state: "default" 0.0;
2534 rel1.relative: 0.7 0.1;
2535 rel2.relative: 0.95 0.9;
2541 group { name: "elm/popup/item/content_expand";
2542 alias: "elm/popup/item/content_expand_transparent";
2543 inherit: "elm/popup/item/default";
2548 description { state: "default" 0.0;
2549 color: 240 240 240 255;
2553 description { state: "clicked" 0.0;
2554 color: 190 170 150 255;
2560 group { name: "elm/popup/content/content_expand";
2561 alias: "elm/popup/content/content_expand_transparent";
2563 part{ name:"elm.swallow.content";
2566 description { state: "default" 0.0;
2572 #undef POPUP_ITEM_STATE_ENABLED
2573 #undef POPUP_ITEM_STATE_DISABLED