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";
44 description { state: "default" 0.0;
46 rel1.relative: 0.0 0.0;
47 rel2.relative: 1.0 1.0;
52 description { state: "default" 0.0;
64 part { name: "persp1";
66 description { state: "default" 0.0;
78 part { name: "elm.swallow.content";
82 description { state: "default" 0.0;
92 description { state: "visible" 0.0;
98 perspective: "persp1";
102 description { state: "end" 0.0;
111 part { name: "clipper";
114 description { state: "default" 0.0;
120 color: 255 255 255 0;
122 description { state: "visible" 0.0;
124 color: 255 255 255 255;
126 description { state: "end" 0.0;
128 color: 255 255 255 255;
133 program { name: "show";
134 signal: "elm,action,show";
136 action: STATE_SET "default" 0.0;
137 target: "elm.swallow.content";
139 program { name: "show_1";
141 action: STATE_SET "default" 0.0;
142 target: "elm.swallow.content";
147 program { name: "end";
148 action: STATE_SET "visible" 0.0;
149 target: "elm.swallow.content";
150 transition: SIN_FAC 0.33 1.4;
153 program { name: "end1";
154 action: STATE_SET "visible" 0.0;
156 transition: SIN_FAC 0.33 0.5;
159 program { name: "end3";
160 action: STATE_SET "end" 0.0;
163 program { name: "end2";
164 action: STATE_SET "end" 0.0;
165 target: "elm.swallow.content";
167 program { name: "hide";
168 signal: "elm,action,hide";
170 action: STATE_SET "default" 0.0;
171 target: "elm.swallow.content";
176 group { name: "elm/notify/center/transparent";
177 inherit: "elm/notify/center/popup";
178 alias: "elm/notify/center/verticalbuttonstyle_transparent";
179 alias: "elm/notify/center/menustyle_transparent";
180 alias: "elm/notify/center/min_menustyle_transparent";
181 alias: "elm/notify/center/liststyle_transparent";
182 alias: "elm/notify/center/min_liststyle_transparent";
183 alias: "elm/notify/center/customstyle_transparent";
184 alias: "elm/notify/center/volumebarstyle_transparent";
185 alias: "elm/notify/center/volumebarstyle_text_transparent";
186 alias: "elm/notify/center/content_expand_transparent";
188 part { name: "elm.swallow.content";
191 description { state: "default" 0.0;
194 description { state: "visible" 0.0;
197 description { state: "end" 0.0;
204 group { name: "elm/notify/block_events/popup";
205 alias: "elm/notify/block_events/verticalbuttonstyle";
206 alias: "elm/notify/block_events/menustyle";
207 alias: "elm/notify/block_events/min_menustyle";
208 alias: "elm/notify/block_events/liststyle";
209 alias: "elm/notify/block_events/min_liststyle";
210 alias: "elm/notify/block_events/customstyle";
211 alias: "elm/notify/block_events/volumebarstyle";
212 alias: "elm/notify/block_events/volumebarstyle_text";
213 alias: "elm/notify/block_events/content_expand";
215 image: "00_popup_dim_lighting.png" COMP;
218 part { name: "block_events";
221 description { state: "default" 0.0;
222 image.normal: "00_popup_dim_lighting.png";
225 description { state: "show" 0.0;
226 inherit: "default" 0.0;
228 description { state: "clicked" 0.0;
229 inherit: "default" 0.0;
232 part { name: "block_events_color";
235 description { state: "default" 0.0;
236 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
238 description { state: "show" 0.0;
239 inherit: "default" 0.0;
240 color: POPUP_DIM_BG_COLOR_INC;
242 description { state: "clicked" 0.0;
243 inherit: "default" 0.0;
244 color: POPUP_DIM_BG_COLOR_INC;
249 program { name: "show";
250 signal: "elm,action,show";
252 action: STATE_SET "default" 0.0;
253 target: "block_events";
254 target: "block_events_color";
256 program { name: "show1";
258 action: STATE_SET "show" 0.0;
259 transition: SIN_FAC 0.33 0.5;
260 target: "block_events";
261 target: "block_events_color";
263 program { name: "block_clicked";
264 signal: "mouse,clicked,1";
265 source: "block_events_color";
266 action: SIGNAL_EMIT "elm,action,click" "elm";
267 after: "deeper_block_color";
270 name: "deeper_block_color";
271 action: STATE_SET "clicked" 0.0;
272 target: "block_events";
273 source: "block_events_color";
274 transition: LINEAR 0.2;
275 after: "default_block_color";
278 name: "default_block_color";
279 action: STATE_SET "show" 0.0;
280 target: "block_events";
281 target: "block_events_color";
282 transition: LINEAR 0.2;
287 group { name: "elm/notify/block_events/transparent";
288 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
289 alias: "elm/notify/block_events/menustyle_transparent";
290 alias: "elm/notify/block_events/min_menustyle_transparent";
291 alias: "elm/notify/block_events/liststyle_transparent";
292 alias: "elm/notify/block_events/min_liststyle_transparent";
293 alias: "elm/notify/block_events/customstyle_transparent";
294 alias: "elm/notify/block_events/volumebarstyle_transparent";
295 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
296 alias: "elm/notify/block_events/content_expand_transparent";
298 part { name: "block_events";
300 description { state: "default" 0.0;
301 color: POPUP_DIM_BG_TRANS_COLOR_INC;
303 description { state: "clicked" 0.0;
304 color: POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC;
309 program { name: "block_clicked";
310 signal: "mouse,clicked,1";
311 source: "block_events";
312 action: SIGNAL_EMIT "elm,action,click" "elm";
313 after: "deeper_block_color";
316 name: "deeper_block_color";
317 action: STATE_SET "clicked" 0.0;
318 target: "block_events";
319 transition: LINEAR 0.2;
320 after: "default_block_color";
323 name: "default_block_color";
324 action: STATE_SET "default" 0.0;
325 target: "block_events";
326 transition: LINEAR 0.2;
331 group { name: "elm/label/base/popup/default";
332 alias: "elm/label/base/popup/content_expand";
333 alias: "elm/label/base/popup/transparent";
335 style { name: "popup_desc_style";
336 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";
339 tag: "whitecolor" "+ color=#ffffff";
344 part { name: "elm.text";
348 description { state: "default" 0.0;
349 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
350 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
352 style: "popup_desc_style";
360 group { name: "elm/popup/base/default";
361 alias: "elm/popup/base/transparent";
362 alias: "elm/popup/base/verticalbuttonstyle";
363 alias: "elm/popup/base/verticalbuttonstyle_transparent";
364 alias: "elm/popup/base/customstyle";
365 alias: "elm/popup/base/customstyle_transparent";
366 alias: "elm/popup/base/liststyle";
367 alias: "elm/popup/base/menustyle";
369 image: "00_popup_bg.png" COMP;
372 style { name: "popup_title_style";
373 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";
380 name:"shadow_left_top_padding";
383 description { state: "default" 0.0;
384 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
385 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
391 name:"shadow_right_bottom_padding";
394 description { state: "default" 0.0;
395 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
396 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
403 description { state: "default" 0.0;
404 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
405 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
407 normal: "00_popup_bg.png";
408 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
414 description { state: "landscape" 0.0;
415 inherit: "default" 0.0;
416 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
417 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
420 part { name: "elm.bg.title";
423 description { state: "default" 0.0;
424 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
425 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
430 to_y: "shadow_left_top_padding";
434 to_y: "shadow_left_top_padding";
437 description { state: "visible" 0.0;
438 inherit: "default" 0.0;
440 description { state: "landscape" 0.0;
441 inherit: "default" 0.0;
442 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
443 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
445 description { state: "landscape_visible" 0.0;
446 inherit: "landscape" 0.0;
449 part { name: "action_top_padding";
452 description { state: "default" 0.0;
453 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
454 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
459 to_y: "shadow_left_top_padding";
463 to_y: "shadow_left_top_padding";
467 part { name: "label_top_padding";
470 description { state: "default" 0.0;
471 min: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
472 max: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
477 to_y: "shadow_left_top_padding";
481 to_y: "shadow_left_top_padding";
485 part { name: "label_bottom_padding";
488 description { state: "default" 0.0;
489 min: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
490 max: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
495 to_y: "shadow_right_bottom_padding";
499 to_y: "shadow_right_bottom_padding";
503 part { name: "title_left_top_padding";
506 description { state: "default" 0.0;
508 rel1.to: "elm.bg.title";
510 min: 0 POPUP_TITLE_TOP_PADDING;
511 max: 0 POPUP_TITLE_TOP_PADDING;
514 part { name: "title_right_bottom_padding";
517 description { state: "default" 0.0;
519 rel2.to: "elm.bg.title";
521 min: 0 POPUP_TITLE_BOTTOM_PADDING;
522 max: 0 POPUP_TITLE_BOTTOM_PADDING;
525 part { name: "icon_rect";
528 description { state: "default" 0.0;
533 to: "title_left_top_padding";
537 to_x: "title_left_top_padding";
538 to_y: "elm.bg.title";
542 description { state: "visible" 0.0;
543 inherit: "default" 0.0;
544 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
545 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
548 part { name: "padding_after_icon";
551 description { state: "default" 0.0;
563 description { state: "visible" 0.0;
564 inherit: "default" 0.0;
565 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
568 part { name: "elm.swallow.title.icon";
571 description { state: "default" 0.0;
572 rel1.to: "icon_rect";
573 rel2.to: "icon_rect";
576 part { name: "elm.text.title";
579 description { state: "default" 0.0;
582 style: "popup_title_style";
583 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
584 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
591 to: "padding_after_icon";
595 to: "title_right_bottom_padding";
600 part { name: "access.title";
603 description { state: "default" 0.0;
607 to_x: "shadow_left_top_padding";
608 to_y: "elm.bg.title";
612 to_x: "shadow_right_bottom_padding";
613 to_y: "elm.bg.title";
618 part { name: "elm.swallow.content";
621 description { state: "default" 0.0;
622 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
623 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
628 to_y: "label_top_padding";
633 to_y: "label_bottom_padding";
636 description { state: "show_title_area" 0.0;
637 inherit: "default" 0.0;
641 to_y: "elm.bg.title";
646 to_y: "shadow_right_bottom_padding";
649 description { state: "show_action_area" 0.0;
650 inherit: "default" 0.0;
654 to_y: "action_top_padding";
659 to_y: "elm.swallow.action_area";
662 description { state: "show_action_title_area" 0.0;
663 inherit: "default" 0.0;
667 to_y: "elm.bg.title";
672 to_y: "elm.swallow.action_area";
676 part { name: "access.body";
679 description { state: "default" 0.0;
683 to_x: "shadow_left_top_padding";
684 to_y: "elm.swallow.content";
688 to_x: "shadow_right_bottom_padding";
689 to_y: "elm.swallow.content";
694 part { name: "access.base";
697 description { state: "default" 0.0;
704 part { name: "elm.swallow.action_area";
707 description { state: "default" 0.0;
708 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
715 to_y: "shadow_right_bottom_padding";
720 to_y: "shadow_right_bottom_padding";
723 description { state: "visible" 0.0;
724 inherit: "default" 0.0;
730 program { name: show_title_icon;
731 signal: "elm,state,title,icon,visible";
733 action: STATE_SET "visible" 0.0;
735 target: "padding_after_icon";
737 program { name: hide_title_icon;
738 signal: "elm,state,title,icon,hidden";
740 action: STATE_SET "default" 0.0;
741 target: "padding_after_icon";
744 program { name: show_title_area;
745 signal: "elm,state,title_area,visible";
750 get_state(PART:"elm.swallow.action_area", st, 30, vl);
751 if (!strcmp(st, "visible"))
752 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
754 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
755 get_state(PART:"base", st, 30, vl);
756 if (!strcmp(st, "landscape"))
757 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
759 set_state(PART:"elm.bg.title", "visible", 0.0);
762 program { name: hide_title_area;
763 signal: "elm,state,title_area,hidden";
765 action: STATE_SET "default" 0.0;
769 get_state(PART:"elm.swallow.action_area", st, 30, vl);
770 if (!strcmp(st, "visible"))
771 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
773 set_state(PART:"elm.swallow.content", "default", 0.0);
774 get_state(PART:"base", st, 30, vl);
775 if (!strcmp(st, "landscape"))
776 set_state(PART:"elm.bg.title", "landscape", 0.0);
778 set_state(PART:"elm.bg.title", "default", 0.0);
781 program { name: show_action_area;
782 signal: "elm,state,action_area,visible";
787 get_state(PART:"elm.bg.title", st, 30, vl);
788 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
789 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
791 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
792 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
795 program { name: hide_action_area;
796 signal: "elm,state,action_area,hidden";
798 action: STATE_SET "default" 0.0;
802 get_state(PART:"elm.bg.title", st, 30, vl);
803 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
804 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
806 set_state(PART:"elm.swallow.content", "default", 0.0);
807 set_state(PART:"elm.swallow.action_area", "default", 0.0);
810 program { name: "change_to_landscape";
811 signal: "elm,state,landscape";
813 action: STATE_SET "landscape" 0.0;
815 target: "elm.bg.title";
816 after: "orientation_change";
818 program { name: "orientation_change";
819 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
821 program { name: "change_to_portrait";
822 signal: "elm,state,portrait";
824 action: STATE_SET "default" 0.0;
826 target: "elm.bg.title";
827 after: "orientation_change";
829 program { name: "landscape_mode";
831 signal: "elm,state,orient,90";
832 action: SIGNAL_EMIT "elm,state,landscape" "elm";
834 program { name: "landscape_mode2";
836 signal: "elm,state,orient,270";
837 action: SIGNAL_EMIT "elm,state,landscape" "elm";
839 program { name: "portrait_mode";
841 signal: "elm,state,orient,0";
842 action: SIGNAL_EMIT "elm,state,portrait" "elm";
844 program { name: "portrait_mode2";
846 signal: "elm,state,orient,180";
847 action: SIGNAL_EMIT "elm,state,portrait" "elm";
849 } /* end of programs */
852 group { name: "elm/popup/base/content_no_vhpad";
853 inherit: "elm/popup/base/default";
854 alias: "elm/popup/base/min_menustyle";
856 part { name: "label_top_padding";
859 description { state: "default" 0.0;
866 to_y: "shadow_left_top_padding";
870 to_y: "shadow_left_top_padding";
874 part { name: "label_bottom_padding";
877 description { state: "default" 0.0;
884 to_y: "shadow_right_bottom_padding";
888 to_y: "shadow_right_bottom_padding";
895 group { name: "elm/popup/content/default";
896 alias: "elm/popup/content/transparent";
897 alias: "elm/popup/content/customstyle";
898 alias: "elm/popup/content/customstyle_transparent";
900 part { name: "pad_t";
904 description { state: "default" 0.0;
906 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
907 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
919 part { name: "pad_l";
922 description { state: "default" 0.0;
923 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
924 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
926 rel2.relative: 0.0 1.0;
930 part { name: "pad_r";
933 description { state: "default" 0.0;
934 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
935 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
937 rel1.relative: 1.0 0.0;
941 part { name:"elm.swallow.content";
944 description { state: "default" 0.0;
958 part { name: "pad_b";
961 description { state: "default" 0.0;
963 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
964 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
976 group { name: "elm/popup/content/content_no_vhpad";
978 part { name:"elm.swallow.content";
981 description { state: "default" 0.0;
988 ///////////////////////////////////////////////////////////////////////////////
990 group { name: "elm/popup/item/default";
991 alias: "elm/popup/item/min_menustyle";
993 public item_state = POPUP_ITEM_STATE_ENABLED;
996 part { name: "event_blocker";
998 description { state: "default" 0.0;
1006 description { state: "default" 0.0;
1007 color: GENLIST_LIST_BG_COLOR;
1008 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1011 description { state: "clicked" 0.0;
1012 color: GENLIST_LIST_PRESS_COLOR;
1015 part { name: "padding_left_top";
1018 description { state: "default" 0.0;
1020 rel2.relative: 0.0 0.0;
1021 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1025 part { name: "padding_right_bottom";
1028 description { state: "default" 0.0;
1030 rel1.relative: 1.0 1.0;
1031 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1035 part { name: "separator";
1039 description { state: "dafault" 0.0;
1040 color: GENLIST_LIST_LINE1_COLOR;
1046 part { name: "padding_icon_text";
1049 description { state: "default" 0.0; //when only icon or no icon is there
1053 to: "elm.swallow.content";
1055 rel2.to: "elm.swallow.content";
1059 description { state: "visible" 0.0; //when icon is visible
1060 inherit: "default" 0.0;
1061 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1063 description { state: "icononly" 0.0;
1064 inherit: "default" 0.0;
1067 part { name: "elm.swallow.content";
1070 description { state: "default" 0.0;
1075 to: "padding_left_top";
1079 to_x: "padding_left_top";
1080 to_y: "padding_right_bottom";
1084 description { state: "visible" 0.0;
1091 to: "padding_left_top";
1095 to_x: "padding_left_top";
1096 to_y: "padding_right_bottom";
1099 aspect_preference: VERTICAL;
1101 description { state: "icononly" 0.0;
1106 to: "padding_left_top";
1110 to: "padding_right_bottom";
1113 aspect_preference: VERTICAL;
1116 part { name: "elm.text";
1120 description { state: "default" 0.0;
1124 to_x: "padding_icon_text";
1125 to_y: "padding_left_top";
1129 to:"padding_right_bottom";
1132 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1136 font: "Tizen:style=Regular";
1137 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1138 text_class: "list_item";
1141 description { state: "visible" 0.0;
1142 inherit: "default" 0.0;
1145 description { state: "clicked" 0.0;
1146 inherit: "default" 0.0;
1148 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1150 description { state: "disabled" 0.0;
1151 inherit: "default" 0.0;
1152 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1154 description { state: "disabled_visible" 0.0;
1155 inherit: "default" 0.0;
1156 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1160 part { name: "over1";
1163 ignore_flags: ON_HOLD;
1164 description { state: "default" 0.0;
1168 part { name: "over2";
1171 description { state: "default" 0.0;
1175 part { name: "disclip";
1177 description { state: "default" 0.0;
1180 description { state: "disabled" 0.0;
1186 program { name: "item_unclick";
1187 signal: "mouse,clicked,1";
1189 action: SIGNAL_EMIT "elm,action,click" "";
1192 program { name: "touch_snd";
1193 action: PLAY_SAMPLE "touch_sound" 1.0;
1195 program { name: "disable";
1196 signal: "elm,state,item,disabled";
1198 action: STATE_SET "disabled" 0.0;
1200 after: "disable_text";
1202 program { name: "enable";
1203 signal: "elm,state,item,enabled";
1205 action: STATE_SET "default" 0.0;
1207 after: "enable_text";
1209 program { name: "item_click2";
1210 signal: "mouse,down,1";
1215 get_state(PART:"elm.text", st, 30, vl);
1216 if (!strcmp(st, "visible"))
1217 set_state(PART:"elm.text", "clicked", 0.0);
1218 set_state(PART:"bg", "clicked", 0.0);
1221 program { name: "item_unclick2";
1222 signal: "mouse,up,1";
1227 get_state(PART:"elm.text", st, 30, vl);
1228 if (!strcmp(st, "clicked"))
1229 set_state(PART:"elm.text", "visible", 0.0);
1230 set_state(PART:"bg", "default", 0.0);
1233 program { name: "disable_text";
1237 get_state(PART:"elm.text", st, 30, vl);
1238 if (!strcmp(st, "visible"))
1239 set_state(PART:"elm.text", "disabled_visible", 0.0);
1241 set_state(PART:"elm.text", "disabled", 0.0);
1242 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1245 program { name: "enable_text";
1249 get_state(PART:"elm.text", st, 30, vl);
1250 if (!strcmp(st, "disabled_visible"))
1251 set_state(PART:"elm.text", "visible", 0.0);
1253 set_state(PART:"elm.text", "default", 0.0);
1254 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1257 program { name: "text_show";
1258 signal: "elm,state,item,text,visible";
1263 get_state(PART:"elm.swallow.content", st, 30, vl);
1264 if (!strcmp(st, "icononly")) {
1265 set_state(PART:"elm.swallow.content", "visible", 0.0);
1266 set_state(PART:"padding_icon_text", "visible", 0.0);
1268 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1269 set_state(PART:"elm.text", "visible", 0.0);
1271 set_state(PART:"elm.text", "disabled_visible", 0.0);
1274 program { name: "text_hide";
1275 signal: "elm,state,item,text,hidden";
1280 get_state(PART:"elm.swallow.content", st, 30, vl);
1281 if (!strcmp(st, "visible")) {
1282 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1283 set_state(PART:"padding_icon_text", "icononly", 0.0);
1285 set_state(PART:"elm.text", "default", 0.0);
1288 program { name: "icon_show";
1289 signal: "elm,state,item,icon,visible";
1294 get_state(PART:"elm.text", st, 30, vl);
1295 if (!strcmp(st, "visible")) {
1296 set_state(PART:"elm.swallow.content", "visible", 0.0);
1297 set_state(PART:"padding_icon_text", "visible", 0.0);
1300 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1301 set_state(PART:"padding_icon_text", "icononly", 0.0);
1305 program { name: "icon_hide";
1306 signal: "elm,state,item,icon,hidden";
1308 action: STATE_SET "default" 0.0;
1309 target: "elm.swallow.content";
1314 /////////////////////////////////////////////////////////////////////////////////////////
1315 group { name: "elm/popup/item/landscape/default";
1316 inherit: "elm/popup/item/default";
1322 description { state: "default" 0.0;
1323 color: GENLIST_LIST_BG_COLOR;
1324 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1327 description { state: "clicked" 0.0;
1328 color: GENLIST_LIST_PRESS_COLOR;
1334 ////////////////////////////////////////////////////////////////////////////////////////
1335 group { name: "elm/label/base/popup/verticalbuttonstyle";
1338 style { name: "popup_desc_style_center";
1339 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";
1342 tag: "whitecolor" "+ color=#ffffff";
1347 part { name: "elm.text";
1351 description { state: "default" 0.0;
1353 style: "popup_desc_style_center";
1363 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1364 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1365 data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1370 description { state: "default" 0.0;
1371 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1375 part { name: "elm.rect.pad_btn_top";
1378 description { state: "default" 0.0;
1379 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1390 part { name:"actionbtn1";
1393 description { state: "default" 0.0;
1394 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1395 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1399 relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1403 part { name: "elm.rect.pad_btn";
1406 description { state: "default" 0.0;
1407 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1408 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1412 relative: 0.0 1.0; to: "actionbtn1";
1415 relative: 1.0 1.0; to: "actionbtn1";
1419 part { name:"actionbtn2";
1422 description { state: "default" 0.0;
1423 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1424 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1427 rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1430 part { name: "elm.rect.pad_btn2";
1433 description { state: "default" 0.0;
1434 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1435 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1439 relative: 0.0 1.0; to: "actionbtn2";
1442 relative: 1.0 1.0; to: "actionbtn2";
1446 part { name:"actionbtn3";
1449 description { state: "default" 0.0;
1450 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1451 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1455 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1462 group { name: "elm/popup/content/menustyle";
1463 alias: "elm/popup/content/menustyle_transparent";
1465 part { name: "left_padding";
1468 description { state: "default" 0.0;
1471 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1480 part{ name:"elm.swallow.content";
1483 description { state: "default" 0.0;
1484 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1485 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1498 part { name: "right_padding";
1501 description { state: "default" 0.0;
1504 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1516 group { name: "elm/popup/content/min_menustyle";
1517 alias: "elm/popup/content/min_menustyle_transparent";
1519 part { name: "left_padding";
1522 description { state: "default" 0.0;
1525 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1534 part{ name:"elm.swallow.content";
1537 description { state: "default" 0.0;
1538 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1551 part { name: "right_padding";
1554 description { state: "default" 0.0;
1557 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1569 group { name: "elm/popup/content/liststyle";
1570 alias: "elm/popup/content/liststyle_transparent";
1572 part { name: "left_top_padding";
1575 description { state: "default" 0.0;
1578 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1579 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1582 part{ name:"elm.swallow.content";
1585 description { state: "default" 0.0;
1586 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1587 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1592 to:"left_top_padding";
1600 part { name: "right_padding";
1603 description { state: "default" 0.0;
1606 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1618 group { name: "elm/popup/content/min_liststyle";
1619 alias: "elm/popup/content/min_liststyle_transparent";
1621 part { name: "left_top_padding";
1624 description { state: "default" 0.0;
1627 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1628 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1631 part{ name:"elm.swallow.content";
1634 description { state: "default" 0.0;
1635 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1640 to:"left_top_padding";
1648 part { name: "right_padding";
1651 description { state: "default" 0.0;
1654 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1667 group { name: "elm/popup/buttons1/default";
1668 alias: "elm/popup/buttons1/transparent";
1669 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1671 part{ name:"actionbtn1";
1674 description { state: "default" 0.0;
1675 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1676 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1678 rel1.relative: 0.5 0.0;
1679 rel2.relative: 0.5 1.0;
1685 group { name: "elm/popup/buttons2/default";
1686 alias: "elm/popup/buttons2/transparent";
1687 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1689 part { name: "left_pad_btn";
1692 description { state: "default" 0.0;
1693 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1694 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1697 rel1.relative: 0.0 0.0;
1700 part { name: "right_pad_btn";
1703 description { state: "default" 0.0;
1704 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1705 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1708 rel2.relative: 1.0 1.0;
1711 part { name:"actionbtn1";
1714 description { state: "default" 0.0;
1723 to: "elm.rect.pad_btn";
1727 part { name: "elm.rect.pad_btn";
1730 description { state: "default" 0.0;
1731 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1732 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1734 rel1.relative: 0.5 0.0;
1735 rel2.relative: 0.5 1.0;
1738 part { name:"actionbtn2";
1741 description { state: "default" 0.0;
1746 to: "elm.rect.pad_btn";
1750 to: "right_pad_btn";
1757 group { name: "elm/popup/buttons3/default";
1758 alias: "elm/popup/buttons3/menustyle";
1759 alias: "elm/popup/buttons3/transparent";
1760 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1762 part { name: "left_pad_btn";
1765 description { state: "default" 0.0;
1766 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1767 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1770 rel1.relative: 0.0 0.0;
1773 part { name: "right_pad_btn";
1776 description { state: "default" 0.0;
1777 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1778 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1781 rel2.relative: 1.0 1.0;
1784 part { name: "btn_area";
1787 description { state: "default" 0.0;
1795 to: "right_pad_btn";
1799 part{ name:"actionbtn1";
1802 description { state: "default" 0.0;
1811 to: "elm.rect.pad_btn";
1815 part { name: "elm.rect.pad_btn";
1818 description { state: "default" 0.0;
1819 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1820 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1822 rel1.relative: 0.33 0.0;
1823 rel1.to: "btn_area";
1824 rel2.relative: 0.33 1.0;
1825 rel2.to: "btn_area";
1828 part{ name:"actionbtn2";
1831 description { state: "default" 0.0;
1835 to: "elm.rect.pad_btn";
1839 to: "elm.rect.pad_btn2";
1843 part { name: "elm.rect.pad_btn2";
1846 description { state: "default" 0.0;
1847 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1848 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1850 rel1.relative: 0.67 0.0;
1851 rel1.to: "btn_area";
1852 rel2.relative: 0.67 1.0;
1853 rel2.to: "btn_area";
1856 part{ name:"actionbtn3";
1859 description { state: "default" 0.0;
1864 to: "elm.rect.pad_btn2";
1868 to: "right_pad_btn";
1875 group { name: "elm/popup/base/volumebarstyle";
1876 inherit: "elm/popup/base/default";
1877 alias: "elm/popup/base/volumebarstyle_transparent";
1879 image: "00_popup_bg.png" COMP;
1882 part { name: "elm.swallow.content";
1885 description { state: "default" 0.0;
1886 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1891 to_y: "shadow_left_top_padding";
1896 to_y: "shadow_right_bottom_padding";
1899 description { state: "show_title_area" 0.0;
1900 inherit: "default" 0.0;
1904 to_y: "elm.bg.title";
1909 to_y: "shadow_right_bottom_padding";
1912 description { state: "show_action_area" 0.0;
1913 inherit: "default" 0.0;
1917 to_y: "shadow_left_top_padding";
1922 to_y: "elm.swallow.action_area";
1925 description { state: "show_action_title_area" 0.0;
1926 inherit: "default" 0.0;
1930 to_y: "elm.bg.title";
1935 to_y: "elm.swallow.action_area";
1942 group { name: "elm/popup/base/volumebarstyle_text";
1943 alias: "elm/popup/base/volumebarstyle_text_transparent";
1944 inherit: "elm/popup/base/volumebarstyle";
1946 part { name: "elm.swallow.content";
1949 description { state: "default" 0.0;
1950 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
1955 to_y: "shadow_left_top_padding";
1960 to_y: "shadow_right_bottom_padding";
1963 description { state: "show_title_area" 0.0;
1964 inherit: "default" 0.0;
1968 to_y: "elm.bg.title";
1973 to_y: "shadow_right_bottom_padding";
1976 description { state: "show_action_area" 0.0;
1977 inherit: "default" 0.0;
1981 to_y: "shadow_left_top_padding";
1986 to_y: "elm.swallow.action_area";
1989 description { state: "show_action_title_area" 0.0;
1990 inherit: "default" 0.0;
1994 to_y: "elm.bg.title";
1999 to_y: "elm.swallow.action_area";
2006 group { name: "elm/popup/base/content_expand";
2007 alias: "elm/popup/base/content_expand_transparent";
2009 image: "00_popup_bg.png" COMP;
2013 name: "shadow_right_bottom_padding";
2016 description { state: "default" 0.0;
2017 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2018 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2023 part { name: "base";
2026 description { state: "default" 0.0;
2027 rel1.to_x: "elm.swallow.content";
2028 rel2.to_x: "elm.bg.action_area";
2030 normal: "00_popup_bg.png";
2031 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2038 part { name: "access.base";
2040 description { state: "default" 0.0;
2047 part { name: "elm.bg.title";
2050 description { state: "default" 0.0;
2051 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2062 description { state: "visible" 0.0;
2063 inherit: "default" 0.0;
2067 part { name: "left_pad";
2070 description { state: "default" 0.0;
2071 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2072 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2075 rel1.to: "elm.bg.title";
2078 part { name: "right_pad";
2081 description { state: "default" 0.0;
2082 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2083 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2086 rel2.to: "elm.bg.title";
2089 part { name: "elm.swallow.title.icon";
2092 description { state: "default" 0.0;
2093 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2094 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2107 description { state: "visible" 0.0;
2108 inherit: "default" 0.0;
2112 part { name: "elm.text.title";
2115 description { state: "default" 0.0;
2117 style: "popup_title_style";
2118 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2119 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2134 description { state: "visible" 0.0;
2135 inherit: "default" 0.0;
2139 part { name: "elm.swallow.content";
2142 description { state: "default" 0.0;
2143 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2144 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2145 rel1.relative: 0.5 0.0;
2146 rel2.relative: 0.5 1.0;
2148 description { state: "show_title_area" 0.0;
2149 inherit: "default" 0.0;
2152 to_y: "elm.bg.title";
2155 description { state: "show_action_area" 0.0;
2156 inherit: "default" 0.0;
2159 to_y: "elm.bg.action_area";
2162 description { state: "show_action_title_area" 0.0;
2163 inherit: "default" 0.0;
2166 to_y: "elm.bg.title";
2170 to_y: "elm.bg.action_area";
2174 part { name: "elm.bg.action_area";
2177 description { state: "default" 0.0;
2178 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2184 to_y: "shadow_right_bottom_padding";
2188 to_y: "shadow_right_bottom_padding";
2192 description { state: "visible" 0.0;
2193 inherit: "default" 0.0;
2197 part { name: "elm.swallow.action_area";
2200 description { state: "default" 0.0;
2201 rel1.to: "elm.bg.action_area";
2202 rel2.to: "elm.bg.action_area";
2207 program { name: show_title_icon;
2208 signal: "elm,state,title,icon,visible";
2210 action: STATE_SET "visible" 0.0;
2211 target: "elm.swallow.title.icon";
2213 program { name: hide_title_icon;
2214 signal: "elm,state,title,icon,hidden";
2216 action: STATE_SET "default" 0.0;
2217 target: "elm.swallow.title.icon";
2219 program { name: show_title_text;
2220 signal: "elm,state,title,text,visible";
2222 action: STATE_SET "visible" 0.0;
2223 target: "elm.text.title";
2225 program { name: hide_title_text;
2226 signal: "elm,state,title,text,hidden";
2228 action: STATE_SET "default" 0.0;
2229 target: "elm.text.title";
2231 program { name: show_title_area;
2232 signal: "elm,state,title_area,visible";
2237 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2238 if (!strcmp(st, "visible"))
2239 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2241 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2242 set_state(PART:"elm.bg.title", "visible", 0.0);
2245 program { name: hide_title_area;
2246 signal: "elm,state,title_area,hidden";
2248 action: STATE_SET "default" 0.0;
2252 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2253 if (!strcmp(st, "visible"))
2254 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2256 set_state(PART:"elm.swallow.content", "default", 0.0);
2257 set_state(PART:"elm.bg.title", "default", 0.0);
2260 program { name: show_action_area;
2261 signal: "elm,state,action_area,visible";
2266 get_state(PART:"elm.bg.title", st, 30, vl);
2267 if (!strcmp(st, "visible"))
2268 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2270 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2271 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2274 program { name: hide_action_area;
2275 signal: "elm,state,action_area,hidden";
2277 action: STATE_SET "default" 0.0;
2281 get_state(PART:"elm.bg.title", st, 30, vl);
2282 if (!strcmp(st, "visible"))
2283 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2285 set_state(PART:"elm.swallow.content", "default", 0.0);
2286 set_state(PART:"elm.bg.action_area", "default", 0.0);
2292 group { name: "elm/popup/buttons1/content_expand";
2293 alias: "elm/popup/buttons1/content_expand_transparent";
2294 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2296 part{ name:"actionbtn1";
2299 description { state: "default" 0.0;
2300 rel1.relative: 0.2 0.1;
2301 rel2.relative: 0.8 0.9;
2307 group { name: "elm/popup/buttons2/content_expand";
2308 alias: "elm/popup/buttons2/content_expand_transparent";
2309 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2311 part{ name:"actionbtn1";
2314 description { state: "default" 0.0;
2316 rel1.relative: 0.1 0.1;
2317 rel2.relative: 0.45 0.9;
2320 part{ name:"actionbtn2";
2323 description { state: "default" 0.0;
2325 rel1.relative: 0.55 0.1;
2326 rel2.relative: 0.9 0.9;
2332 group { name: "elm/popup/buttons3/content_expand";
2333 alias: "elm/popup/buttons3/content_expand_transparent";
2334 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2336 part{ name:"actionbtn1";
2339 description { state: "default" 0.0;
2341 rel1.relative: 0.05 0.1;
2342 rel2.relative: 0.3 0.9;
2345 part{ name:"actionbtn2";
2348 description { state: "default" 0.0;
2350 rel1.relative: 0.375 0.1;
2351 rel2.relative: 0.625 0.9;
2354 part{ name:"actionbtn3";
2357 description { state: "default" 0.0;
2359 rel1.relative: 0.7 0.1;
2360 rel2.relative: 0.95 0.9;
2366 group { name: "elm/popup/item/content_expand";
2367 alias: "elm/popup/item/content_expand_transparent";
2368 inherit: "elm/popup/item/default";
2373 description { state: "default" 0.0;
2374 color: 240 240 240 255;
2378 description { state: "clicked" 0.0;
2379 color: 190 170 150 255;
2385 group { name: "elm/popup/content/content_expand";
2386 alias: "elm/popup/content/content_expand_transparent";
2388 part{ name:"elm.swallow.content";
2391 description { state: "default" 0.0;
2397 #undef POPUP_ITEM_STATE_ENABLED
2398 #undef POPUP_ITEM_STATE_DISABLED