3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 #define POPUP_ITEM_STATE_ENABLED 0
21 #define POPUP_ITEM_STATE_DISABLED 1
23 /*popup widget specific notify style style*/
24 group { name: "elm/notify/center/popup";
25 alias: "elm/notify/center/verticalbuttonstyle";
26 alias: "elm/notify/center/menustyle";
27 alias: "elm/notify/center/min_menustyle";
28 alias: "elm/notify/center/liststyle";
29 alias: "elm/notify/center/min_liststyle";
30 alias: "elm/notify/center/customstyle";
31 alias: "elm/notify/center/volumebarstyle";
32 alias: "elm/notify/center/volumebarstyle_text";
33 alias: "elm/notify/center/content_expand";
40 description { state: "default" 0.0;
42 rel1.relative: 0.0 0.0;
43 rel2.relative: 1.0 1.0;
48 description { state: "default" 0.0;
60 part { name: "persp1";
62 description { state: "default" 0.0;
77 description { state: "default" 0.0;
78 rel1.to: "elm.swallow.content";
79 rel2.to: "elm.swallow.content";
86 part { name: "elm.swallow.content";
89 description { state: "default" 0.0;
98 description { state: "visible" 0.0;
104 perspective: "persp1";
107 description { state: "end" 0.0;
117 program { name: "show";
118 signal: "elm,action,show";
120 action: STATE_SET "default" 0.0;
121 target: "elm.swallow.content";
123 program { name: "show_2";
125 action: STATE_SET "visible" 0.0;
126 target: "elm.swallow.content";
127 transition: ACCEL_FAC 0.5 0.8;
130 program { name: "end";
131 action: STATE_SET "end" 0.0;
132 target: "elm.swallow.content";
134 program { name: "hide";
135 signal: "elm,action,hide";
137 action: STATE_SET "default" 0.0;
138 target: "elm.swallow.content";
143 group { name: "elm/notify/center/transparent";
144 inherit: "elm/notify/center/popup";
145 alias: "elm/notify/center/verticalbuttonstyle_transparent";
146 alias: "elm/notify/center/menustyle_transparent";
147 alias: "elm/notify/center/min_menustyle_transparent";
148 alias: "elm/notify/center/liststyle_transparent";
149 alias: "elm/notify/center/min_liststyle_transparent";
150 alias: "elm/notify/center/customstyle_transparent";
151 alias: "elm/notify/center/volumebarstyle_transparent";
152 alias: "elm/notify/center/volumebarstyle_text_transparent";
153 alias: "elm/notify/center/content_expand_transparent";
155 part { name: "elm.swallow.content";
158 description { state: "default" 0.0;
161 description { state: "visible" 0.0;
164 description { state: "end" 0.0;
171 group { name: "elm/notify/block_events/popup";
172 alias: "elm/notify/block_events/verticalbuttonstyle";
173 alias: "elm/notify/block_events/menustyle";
174 alias: "elm/notify/block_events/min_menustyle";
175 alias: "elm/notify/block_events/liststyle";
176 alias: "elm/notify/block_events/min_liststyle";
177 alias: "elm/notify/block_events/customstyle";
178 alias: "elm/notify/block_events/volumebarstyle";
179 alias: "elm/notify/block_events/volumebarstyle_text";
180 alias: "elm/notify/block_events/content_expand";
182 part { name: "block_events";
184 description { state: "default" 0.0;
185 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
187 description { state: "show" 0.0;
188 color: POPUP_DIM_BG_COLOR_INC;
190 description { state: "clicked" 0.0;
191 color: POPUP_DIM_BG_CLICKED_COLOR_INC;
196 program { name: "load";
199 action: STATE_SET "show" 0.0;
200 transition: ACCEL_FAC 0.5 0.8;
201 target: "block_events";
203 program { name: "block_clicked";
204 signal: "mouse,clicked,1";
205 source: "block_events";
206 action: SIGNAL_EMIT "elm,action,click" "elm";
207 after: "deeper_block_color";
210 name: "deeper_block_color";
211 action: STATE_SET "clicked" 0.0;
212 target: "block_events";
213 transition: LINEAR 0.2;
214 after: "default_block_color";
217 name: "default_block_color";
218 action: STATE_SET "show" 0.0;
219 target: "block_events";
220 transition: LINEAR 0.2;
225 group { name: "elm/notify/block_events/transparent";
226 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
227 alias: "elm/notify/block_events/menustyle_transparent";
228 alias: "elm/notify/block_events/min_menustyle_transparent";
229 alias: "elm/notify/block_events/liststyle_transparent";
230 alias: "elm/notify/block_events/min_liststyle_transparent";
231 alias: "elm/notify/block_events/customstyle_transparent";
232 alias: "elm/notify/block_events/volumebarstyle_transparent";
233 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
234 alias: "elm/notify/block_events/content_expand_transparent";
236 part { name: "block_events";
238 description { state: "default" 0.0;
239 color: POPUP_DIM_BG_TRANS_COLOR_INC;
241 description { state: "clicked" 0.0;
242 color: POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC;
247 program { name: "block_clicked";
248 signal: "mouse,clicked,1";
249 source: "block_events";
250 action: SIGNAL_EMIT "elm,action,click" "elm";
251 after: "deeper_block_color";
254 name: "deeper_block_color";
255 action: STATE_SET "clicked" 0.0;
256 target: "block_events";
257 transition: LINEAR 0.2;
258 after: "default_block_color";
261 name: "default_block_color";
262 action: STATE_SET "default" 0.0;
263 target: "block_events";
264 transition: LINEAR 0.2;
269 group { name: "elm/label/base/popup/default";
270 alias: "elm/label/base/popup/content_expand";
271 alias: "elm/label/base/popup/transparent";
273 style { name: "popup_desc_style";
274 base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=left color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" linesize=54 text_class=slp wrap=mixed ellipsis=1";
277 tag: "whitecolor" "+ color=#ffffff";
282 part { name: "elm.text";
286 description { state: "default" 0.0;
287 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
288 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
290 style: "popup_desc_style";
298 group { name: "elm/popup/base/default";
299 alias: "elm/popup/base/transparent";
300 alias: "elm/popup/base/verticalbuttonstyle";
301 alias: "elm/popup/base/verticalbuttonstyle_transparent";
302 alias: "elm/popup/base/customstyle";
303 alias: "elm/popup/base/customstyle_transparent";
305 image: "00_popup_bg.png" COMP;
308 style { name: "popup_title_style";
309 base: "font=Tizen:style=Medium font_size="POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC" align=left 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=0.0 text_class=tizen";
316 name:"shadow_left_top_padding";
320 description { state: "default" 0.0;
321 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
322 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
329 name:"shadow_right_bottom_padding";
333 description { state: "default" 0.0;
334 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
335 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
344 description { state: "default" 0.0;
345 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
346 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
348 normal: "00_popup_bg.png";
349 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
355 part { name: "elm.bg.title";
358 description { state: "default" 0.0;
359 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
360 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
366 to_y: "shadow_left_top_padding";
370 to_y: "shadow_left_top_padding";
373 description { state: "visible" 0.0;
374 inherit: "default" 0.0;
378 part { name: "label_top_padding";
381 description { state: "default" 0.0;
382 min: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
383 max: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
389 to_y: "shadow_left_top_padding";
393 to_y: "shadow_left_top_padding";
397 part { name: "label_bottom_padding";
400 description { state: "default" 0.0;
401 min: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
402 max: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
408 to_y: "shadow_right_bottom_padding";
412 to_y: "shadow_right_bottom_padding";
416 part { name: "title_left_top_padding";
420 description { state: "default" 0.0;
422 rel1.to: "elm.bg.title";
424 min: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
425 max: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
429 part { name: "title_right_bottom_padding";
433 description { state: "default" 0.0;
435 rel2.to: "elm.bg.title";
437 min: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
438 max: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
442 part { name: "icon_rect";
446 description { state: "default" 0.0;
452 to: "title_left_top_padding";
456 to_x: "title_left_top_padding";
457 to_y: "elm.bg.title";
461 description { state: "visible" 0.0;
462 inherit: "default" 0.0;
463 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
464 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
467 part { name: "padding_after_icon";
471 description { state: "default" 0.0;
484 description { state: "visible" 0.0;
485 inherit: "default" 0.0;
486 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
489 part { name: "elm.swallow.title.icon";
492 description { state: "default" 0.0;
493 rel1.to: "icon_rect";
494 rel2.to: "icon_rect";
497 part { name: "elm.text.title";
500 description { state: "default" 0.0;
503 style: "popup_title_style";
508 to: "padding_after_icon";
512 to: "title_right_bottom_padding";
517 part { name: "elm.swallow.content";
520 description { state: "default" 0.0;
521 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
522 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
526 to: "label_top_padding";
530 to: "label_bottom_padding";
533 description { state: "show_title_area" 0.0;
534 inherit: "default" 0.0;
541 to_y: "shadow_right_bottom_padding";
544 description { state: "show_action_area" 0.0;
545 inherit: "default" 0.0;
548 to_y: "shadow_left_top_padding";
552 to: "elm.swallow.action_area";
555 description { state: "show_action_title_area" 0.0;
556 inherit: "default" 0.0;
563 to: "elm.swallow.action_area";
567 part { name: "elm.swallow.action_area";
570 description { state: "default" 0.0;
571 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
578 to_y: "shadow_right_bottom_padding";
583 to_y: "shadow_right_bottom_padding";
586 description { state: "visible" 0.0;
587 inherit: "default" 0.0;
593 program { name: show_title_icon;
594 signal: "elm,state,title,icon,visible";
596 action: STATE_SET "visible" 0.0;
598 target: "padding_after_icon";
600 program { name: hide_title_icon;
601 signal: "elm,state,title,icon,hidden";
603 action: STATE_SET "default" 0.0;
604 target: "padding_after_icon";
607 program { name: show_title_area;
608 signal: "elm,state,title_area,visible";
613 get_state(PART:"elm.swallow.action_area", st, 30, vl);
614 if (!strcmp(st, "visible"))
615 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
617 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
618 set_state(PART:"elm.bg.title", "visible", 0.0);
621 program { name: hide_title_area;
622 signal: "elm,state,title_area,hidden";
624 action: STATE_SET "default" 0.0;
628 get_state(PART:"elm.swallow.action_area", st, 30, vl);
629 if (!strcmp(st, "visible"))
630 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
632 set_state(PART:"elm.swallow.content", "default", 0.0);
633 set_state(PART:"elm.bg.title", "default", 0.0);
636 program { name: show_action_area;
637 signal: "elm,state,action_area,visible";
642 get_state(PART:"elm.bg.title", st, 30, vl);
643 if (!strcmp(st, "visible"))
644 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
646 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
647 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
650 program { name: hide_action_area;
651 signal: "elm,state,action_area,hidden";
653 action: STATE_SET "default" 0.0;
657 get_state(PART:"elm.bg.title", st, 30, vl);
658 if (!strcmp(st, "visible"))
659 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
661 set_state(PART:"elm.swallow.content", "default", 0.0);
662 set_state(PART:"elm.swallow.action_area", "default", 0.0);
665 } /* end of programs */
668 group { name: "elm/popup/content/default";
669 alias: "elm/popup/content/transparent";
670 alias: "elm/popup/content/customstyle";
671 alias: "elm/popup/content/customstyle_transparent";
673 part { name: "pad_t";
677 description { state: "default" 0.0;
679 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
692 part { name: "pad_l";
695 description { state: "default" 0.0;
696 min : POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
698 rel2.relative: 0.0 1.0;
703 part { name: "pad_r";
706 description { state: "default" 0.0;
707 min : POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
709 rel1.relative: 1.0 0.0;
714 part{ name:"elm.swallow.content";
717 description { state: "default" 0.0;
718 min: POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC;
730 part { name: "pad_b";
734 description { state: "default" 0.0;
736 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
749 ///////////////////////////////////////////////////////////////////////////////
751 group { name: "elm/popup/item/default";
752 alias: "elm/popup/item/min_menustyle";
754 public item_state = POPUP_ITEM_STATE_ENABLED;
757 part { name: "event_blocker";
758 description { state: "default" 0.0;
765 description { state: "default" 0.0;
766 color: GENLIST_LIST_BG_COLOR;
767 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
770 description { state: "clicked" 0.0;
771 color: GENLIST_LIST_PRESS_COLOR;
774 part { name: "padding_left_top";
778 description { state: "default" 0.0;
780 rel2.relative: 0.0 0.0;
781 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
786 part { name: "padding_right_bottom";
790 description { state: "default" 0.0;
792 rel1.relative: 1.0 1.0;
793 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
798 part { name: "separator";
802 description { state: "dafault" 0.0;
803 color: GENLIST_LIST_LINE1_COLOR;
809 part { name: "padding_icon_text";
813 description { state: "default" 0.0; //when only icon or no icon is there
817 to: "elm.swallow.content";
819 rel2.to: "elm.swallow.content";
824 description { state: "visible" 0.0; //when icon is visible
825 inherit: "default" 0.0;
826 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
828 description { state: "icononly" 0.0;
829 inherit: "default" 0.0;
832 part { name: "elm.swallow.content";
835 description { state: "default" 0.0;
840 to: "padding_left_top";
844 to_x: "padding_left_top";
845 to_y: "padding_right_bottom";
849 description { state: "visible" 0.0;
856 to: "padding_left_top";
860 to_x: "padding_left_top";
861 to_y: "padding_right_bottom";
864 aspect_preference: VERTICAL;
866 description { state: "icononly" 0.0;
871 to: "padding_left_top";
875 to: "padding_right_bottom";
878 aspect_preference: VERTICAL;
881 part { name: "elm.text";
885 description { state: "default" 0.0;
889 to_x: "padding_icon_text";
890 to_y: "padding_left_top";
894 to:"padding_right_bottom";
897 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
901 font: "Tizen:style=Regular";
902 size: GENLIST_LIST_MAIN_TEXT_SIZE;
903 text_class: "list_item";
906 description { state: "visible" 0.0;
907 inherit: "default" 0.0;
910 description { state: "clicked" 0.0;
911 inherit: "default" 0.0;
913 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
915 description { state: "disabled" 0.0;
916 inherit: "default" 0.0;
917 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
919 description { state: "disabled_visible" 0.0;
920 inherit: "default" 0.0;
921 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
925 part { name: "over1";
927 ignore_flags: ON_HOLD;
928 description { state: "default" 0.0;
931 part { name: "over2";
933 description { state: "default" 0.0;
936 part { name: "disclip";
938 description { state: "default" 0.0;
941 description { state: "disabled" 0.0;
947 program { name: "item_unclick";
948 signal: "mouse,up,1";
950 action: SIGNAL_EMIT "elm,action,click" "";
952 program { name: "disable";
953 signal: "elm,state,item,disabled";
955 action: STATE_SET "disabled" 0.0;
957 after: "disable_text";
959 program { name: "enable";
960 signal: "elm,state,item,enabled";
962 action: STATE_SET "default" 0.0;
964 after: "enable_text";
966 program { name: "item_click2";
967 signal: "mouse,down,1";
972 get_state(PART:"elm.text", st, 30, vl);
973 if (!strcmp(st, "visible"))
974 set_state(PART:"elm.text", "clicked", 0.0);
975 set_state(PART:"bg", "clicked", 0.0);
978 program { name: "item_unclick2";
979 signal: "mouse,up,1";
984 get_state(PART:"elm.text", st, 30, vl);
985 if (!strcmp(st, "clicked"))
986 set_state(PART:"elm.text", "visible", 0.0);
987 set_state(PART:"bg", "default", 0.0);
990 program { name: "disable_text";
994 get_state(PART:"elm.text", st, 30, vl);
995 if (!strcmp(st, "visible"))
996 set_state(PART:"elm.text", "disabled_visible", 0.0);
998 set_state(PART:"elm.text", "disabled", 0.0);
999 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1002 program { name: "enable_text";
1006 get_state(PART:"elm.text", st, 30, vl);
1007 if (!strcmp(st, "disabled_visible"))
1008 set_state(PART:"elm.text", "visible", 0.0);
1010 set_state(PART:"elm.text", "default", 0.0);
1011 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1014 program { name: "text_show";
1015 signal: "elm,state,item,text,visible";
1020 get_state(PART:"elm.swallow.content", st, 30, vl);
1021 if (!strcmp(st, "icononly")) {
1022 set_state(PART:"elm.swallow.content", "visible", 0.0);
1023 set_state(PART:"padding_icon_text", "visible", 0.0);
1025 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1026 set_state(PART:"elm.text", "visible", 0.0);
1028 set_state(PART:"elm.text", "disabled_visible", 0.0);
1031 program { name: "text_hide";
1032 signal: "elm,state,item,text,hidden";
1037 get_state(PART:"elm.swallow.content", st, 30, vl);
1038 if (!strcmp(st, "visible")) {
1039 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1040 set_state(PART:"padding_icon_text", "icononly", 0.0);
1042 set_state(PART:"elm.text", "default", 0.0);
1045 program { name: "icon_show";
1046 signal: "elm,state,item,icon,visible";
1051 get_state(PART:"elm.text", st, 30, vl);
1052 if (!strcmp(st, "visible")) {
1053 set_state(PART:"elm.swallow.content", "visible", 0.0);
1054 set_state(PART:"padding_icon_text", "visible", 0.0);
1057 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1058 set_state(PART:"padding_icon_text", "icononly", 0.0);
1062 program { name: "icon_hide";
1063 signal: "elm,state,item,icon,hidden";
1065 action: STATE_SET "default" 0.0;
1066 target: "elm.swallow.content";
1071 ////////////////////////////////////////////////////////////////////////////////////////
1072 group { name: "elm/label/base/popup/verticalbuttonstyle";
1075 style { name: "popup_desc_style_center";
1076 base: "font=Tizen:style=Medium font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=center color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" linesize=54 text_class=tizen";
1079 tag: "whitecolor" "+ color=#ffffff";
1084 part { name: "elm.text";
1088 description { state: "default" 0.0;
1090 style: "popup_desc_style_center";
1100 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1101 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1102 data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1106 description { state: "default" 0.0;
1107 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1112 part { name: "elm.rect.pad_btn_top";
1115 description { state: "default" 0.0;
1116 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1128 part{ name:"actionbtn1";
1131 description { state: "default" 0.0;
1132 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1133 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1137 relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1141 part { name: "elm.rect.pad_btn";
1144 description { state: "default" 0.0;
1145 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1146 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1151 relative: 0.0 1.0; to: "actionbtn1";
1154 relative: 1.0 1.0; to: "actionbtn1";
1158 part{ name:"actionbtn2";
1161 description { state: "default" 0.0;
1162 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1163 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1166 rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1169 part { name: "elm.rect.pad_btn2";
1172 description { state: "default" 0.0;
1173 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1174 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1179 relative: 0.0 1.0; to: "actionbtn2";
1182 relative: 1.0 1.0; to: "actionbtn2";
1186 part{ name:"actionbtn3";
1189 description { state: "default" 0.0;
1190 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1191 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1195 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1202 group { name: "elm/popup/content/menustyle";
1203 alias: "elm/popup/content/menustyle_transparent";
1205 part { name: "left_padding";
1208 description { state: "default" 0.0;
1212 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1221 part{ name:"elm.swallow.content";
1224 description { state: "default" 0.0;
1225 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1226 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1239 part { name: "right_padding";
1242 description { state: "default" 0.0;
1246 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1258 group { name: "elm/popup/content/min_menustyle";
1259 alias: "elm/popup/content/min_menustyle_transparent";
1261 part { name: "left_padding";
1264 description { state: "default" 0.0;
1268 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1277 part{ name:"elm.swallow.content";
1280 description { state: "default" 0.0;
1281 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1294 part { name: "right_padding";
1297 description { state: "default" 0.0;
1301 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1313 group { name: "elm/popup/content/liststyle";
1314 alias: "elm/popup/content/liststyle_transparent";
1316 part { name: "left_top_padding";
1319 description { state: "default" 0.0;
1323 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1324 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1327 part{ name:"elm.swallow.content";
1330 description { state: "default" 0.0;
1331 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1332 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1337 to:"left_top_padding";
1345 part { name: "right_padding";
1348 description { state: "default" 0.0;
1352 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1364 group { name: "elm/popup/content/min_liststyle";
1365 alias: "elm/popup/content/min_liststyle_transparent";
1367 part { name: "left_top_padding";
1370 description { state: "default" 0.0;
1374 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1375 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1378 part{ name:"elm.swallow.content";
1381 description { state: "default" 0.0;
1382 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1387 to:"left_top_padding";
1395 part { name: "right_padding";
1398 description { state: "default" 0.0;
1402 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1415 group { name: "elm/popup/buttons1/default";
1416 alias: "elm/popup/buttons1/transparent";
1417 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1419 part{ name:"actionbtn1";
1422 description { state: "default" 0.0;
1423 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1424 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1426 rel1.relative: 0.5 0.0;
1427 rel2.relative: 0.5 1.0;
1433 group { name: "elm/popup/buttons2/default";
1434 alias: "elm/popup/buttons2/transparent";
1435 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1437 part { name: "left_pad_btn";
1440 description { state: "default" 0.0;
1441 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1442 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1446 rel1.relative: 0.0 0.0;
1449 part { name: "right_pad_btn";
1452 description { state: "default" 0.0;
1453 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1454 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1458 rel2.relative: 1.0 1.0;
1461 part{ name:"actionbtn1";
1464 description { state: "default" 0.0;
1473 to: "elm.rect.pad_btn";
1477 part { name: "elm.rect.pad_btn";
1480 description { state: "default" 0.0;
1481 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1482 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1485 rel1.relative: 0.5 0.0;
1486 rel2.relative: 0.5 1.0;
1489 part{ name:"actionbtn2";
1492 description { state: "default" 0.0;
1497 to: "elm.rect.pad_btn";
1501 to: "right_pad_btn";
1508 group { name: "elm/popup/buttons3/default";
1509 alias: "elm/popup/buttons3/menustyle";
1510 alias: "elm/popup/buttons3/transparent";
1511 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1513 part { name: "left_pad_btn";
1516 description { state: "default" 0.0;
1517 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1518 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1522 rel1.relative: 0.0 0.0;
1525 part { name: "right_pad_btn";
1528 description { state: "default" 0.0;
1529 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1530 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1534 rel2.relative: 1.0 1.0;
1537 part{ name:"actionbtn1";
1540 description { state: "default" 0.0;
1541 min: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
1542 max: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
1551 to: "elm.rect.pad_btn";
1555 part { name: "elm.rect.pad_btn";
1558 description { state: "default" 0.0;
1559 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1560 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1563 rel1.to: "actionbtn2";
1571 part{ name:"actionbtn2";
1574 description { state: "default" 0.0;
1575 min: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
1576 max: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
1578 rel1.relative: 0.5 0.0;
1579 rel2.relative: 0.5 1.0;
1582 part { name: "elm.rect.pad_btn2";
1585 description { state: "default" 0.0;
1586 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1587 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1594 rel2.to: "actionbtn2";
1598 part{ name:"actionbtn3";
1601 description { state: "default" 0.0;
1602 min: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
1603 max: POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC;
1608 to: "elm.rect.pad_btn2";
1612 to: "right_pad_btn";
1619 group { name: "elm/popup/content/volumebarstyle";
1620 alias: "elm/popup/content/volumebarstyle_transparent";
1622 part { name:"elm.swallow.content";
1625 description { state: "default" 0.0;
1626 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1627 max: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1630 rel1.relative: 0.5 0.5;
1631 rel2.relative: 0.5 0.5;
1637 group { name: "elm/popup/content/volumebarstyle_text";
1638 alias: "elm/popup/content/volumebarstyle_text_transparent";
1640 part { name:"elm.swallow.content";
1643 description { state: "default" 0.0;
1644 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
1647 rel1.relative: 0.5 0.5;
1648 rel2.relative: 0.5 0.5;
1654 group { name: "elm/popup/base/volumebarstyle";
1655 alias: "elm/popup/base/volumebarstyle_transparent";
1657 image: "00_popup_bg.png" COMP;
1661 name:"shadow_left_top_padding";
1665 description { state: "default" 0.0;
1666 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
1667 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
1674 name:"shadow_right_bottom_padding";
1678 description { state: "default" 0.0;
1679 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
1680 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
1686 part { name: "base";
1689 description { state: "default" 0.0;
1690 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
1691 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
1693 normal: "00_popup_bg.png";
1694 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
1700 part { name: "elm.bg.title";
1703 description { state: "default" 0.0;
1704 min: POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC;
1705 max: POPUP_BASE_DEFAULT_TITLE_VOLUMEBAR_MIN_INC;
1711 to_y: "shadow_left_top_padding";
1715 to_y: "shadow_left_top_padding";
1718 description { state: "visible" 0.0;
1719 inherit: "default" 0.0;
1723 part { name: "title_left_top_padding";
1727 description { state: "default" 0.0;
1729 rel1.to: "elm.bg.title";
1731 min: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
1732 max: POPUP_DESC_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
1736 part { name: "title_right_bottom_padding";
1740 description { state: "default" 0.0;
1742 rel2.to: "elm.bg.title";
1744 min: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
1745 max: POPUP_DESC_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
1749 part { name: "icon_rect";
1753 description { state: "default" 0.0;
1759 to: "title_left_top_padding";
1763 to_x: "title_left_top_padding";
1764 to_y: "elm.bg.title";
1768 description { state: "visible" 0.0;
1769 inherit: "default" 0.0;
1770 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
1771 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
1774 part { name: "padding_after_icon";
1778 description { state: "default" 0.0;
1791 description { state: "visible" 0.0;
1792 inherit: "default" 0.0;
1793 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
1796 part { name: "elm.swallow.title.icon";
1799 description { state: "default" 0.0;
1800 rel1.to: "icon_rect";
1801 rel2.to: "icon_rect";
1804 part { name: "elm.text.title";
1807 description { state: "default" 0.0;
1810 style: "popup_title_style";
1815 to: "padding_after_icon";
1819 to: "title_right_bottom_padding";
1824 part { name: "elm.swallow.content";
1827 description { state: "default" 0.0;
1828 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1832 to_y: "shadow_left_top_padding";
1836 to_y: "shadow_right_bottom_padding";
1839 description { state: "show_title_area" 0.0;
1840 inherit: "default" 0.0;
1847 to_y: "shadow_right_bottom_padding";
1850 description { state: "show_action_area" 0.0;
1851 inherit: "default" 0.0;
1854 to_y: "shadow_left_top_padding";
1858 to: "elm.bg.action_area";
1861 description { state: "show_action_title_area" 0.0;
1862 inherit: "default" 0.0;
1869 to: "elm.bg.action_area";
1873 part { name: "elm.bg.action_area";
1876 description { state: "default" 0.0;
1877 min: POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC;
1884 to_y: "shadow_right_bottom_padding";
1889 to_y: "shadow_right_bottom_padding";
1892 description { state: "visible" 0.0;
1893 inherit: "default" 0.0;
1897 part { name: "elm.swallow.action_area";
1900 description { state: "default" 0.0;
1902 rel1.to: "elm.bg.action_area";
1903 rel2.to: "elm.bg.action_area";
1908 program { name: show_title_icon;
1909 signal: "elm,state,title,icon,visible";
1911 action: STATE_SET "visible" 0.0;
1912 target: "icon_rect";
1913 target: "padding_after_icon";
1915 program { name: hide_title_icon;
1916 signal: "elm,state,title,icon,hidden";
1918 action: STATE_SET "default" 0.0;
1919 target: "padding_after_icon";
1920 target: "icon_rect";
1922 program { name: show_title_area;
1923 signal: "elm,state,title_area,visible";
1928 get_state(PART:"elm.swallow.action_area", st, 30, vl);
1929 if (!strcmp(st, "visible"))
1930 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
1932 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
1933 set_state(PART:"elm.bg.title", "visible", 0.0);
1936 program { name: hide_title_area;
1937 signal: "elm,state,title_area,hidden";
1939 action: STATE_SET "default" 0.0;
1943 get_state(PART:"elm.swallow.action_area", st, 30, vl);
1944 if (!strcmp(st, "visible"))
1945 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
1947 set_state(PART:"elm.swallow.content", "default", 0.0);
1948 set_state(PART:"elm.bg.title", "default", 0.0);
1951 program { name: show_action_area;
1952 signal: "elm,state,action_area,visible";
1957 get_state(PART:"elm.bg.title", st, 30, vl);
1958 if (!strcmp(st, "visible"))
1959 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
1961 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
1962 set_state(PART:"elm.bg.action_area", "visible", 0.0);
1965 program { name: hide_action_area;
1966 signal: "elm,state,action_area,hidden";
1968 action: STATE_SET "default" 0.0;
1972 get_state(PART:"elm.bg.title", st, 30, vl);
1973 if (!strcmp(st, "visible"))
1974 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
1976 set_state(PART:"elm.swallow.content", "default", 0.0);
1977 set_state(PART:"elm.bg.action_area", "default", 0.0);
1980 } /* end of programs */
1983 group { name: "elm/popup/base/volumebarstyle_text";
1984 alias: "elm/popup/base/volumebarstyle_text_transparent";
1985 inherit: "elm/popup/base/volumebarstyle";
1987 part { name: "elm.swallow.content";
1990 description { state: "default" 0.0;
1991 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
1995 to_y: "shadow_left_top_padding";
1999 to_y: "shadow_right_bottom_padding";
2002 description { state: "show_title_area" 0.0;
2003 inherit: "default" 0.0;
2010 to_y: "shadow_right_bottom_padding";
2013 description { state: "show_action_area" 0.0;
2014 inherit: "default" 0.0;
2017 to_y: "shadow_left_top_padding";
2021 to: "elm.bg.action_area";
2024 description { state: "show_action_title_area" 0.0;
2025 inherit: "default" 0.0;
2032 to: "elm.bg.action_area";
2039 group { name: "elm/popup/base/content_expand";
2040 alias: "elm/popup/base/content_expand_transparent";
2042 image: "00_popup_bg.png" COMP;
2046 name:"shadow_right_bottom_padding";
2050 description { state: "default" 0.0;
2051 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2052 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2058 part { name: "base";
2061 description { state: "default" 0.0;
2062 rel1.to_x: "elm.swallow.content";
2063 rel2.to_x: "elm.bg.action_area";
2065 normal: "00_popup_bg.png";
2066 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2072 part { name: "elm.bg.title";
2075 description { state: "default" 0.0;
2076 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2087 description { state: "visible" 0.0;
2088 inherit: "default" 0.0;
2092 part { name: "left_pad";
2095 description { state: "default" 0.0;
2096 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2097 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2101 rel1.to: "elm.bg.title";
2104 part { name: "right_pad";
2107 description { state: "default" 0.0;
2108 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2109 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2113 rel2.to: "elm.bg.title";
2116 part { name: "elm.swallow.title.icon";
2119 description { state: "default" 0.0;
2120 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2121 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2134 description { state: "visible" 0.0;
2135 inherit: "default" 0.0;
2139 part { name: "elm.text.title";
2142 description { state: "default" 0.0;
2144 style: "popup_title_style";
2159 description { state: "visible" 0.0;
2160 inherit: "default" 0.0;
2164 part { name: "elm.swallow.content";
2167 description { state: "default" 0.0;
2168 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2169 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2170 rel1.relative: 0.5 0.0;
2171 rel2.relative: 0.5 1.0;
2173 description { state: "show_title_area" 0.0;
2174 inherit: "default" 0.0;
2177 to_y: "elm.bg.title";
2180 description { state: "show_action_area" 0.0;
2181 inherit: "default" 0.0;
2184 to_y: "elm.bg.action_area";
2187 description { state: "show_action_title_area" 0.0;
2188 inherit: "default" 0.0;
2191 to_y: "elm.bg.title";
2195 to_y: "elm.bg.action_area";
2199 part { name: "elm.bg.action_area";
2202 description { state: "default" 0.0;
2203 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2209 to_y: "shadow_right_bottom_padding";
2213 to_y: "shadow_right_bottom_padding";
2217 description { state: "visible" 0.0;
2218 inherit: "default" 0.0;
2222 part { name: "elm.swallow.action_area";
2225 description { state: "default" 0.0;
2226 rel1.to: "elm.bg.action_area";
2227 rel2.to: "elm.bg.action_area";
2232 program { name: show_title_icon;
2233 signal: "elm,state,title,icon,visible";
2235 action: STATE_SET "visible" 0.0;
2236 target: "elm.swallow.title.icon";
2238 program { name: hide_title_icon;
2239 signal: "elm,state,title,icon,hidden";
2241 action: STATE_SET "default" 0.0;
2242 target: "elm.swallow.title.icon";
2244 program { name: show_title_text;
2245 signal: "elm,state,title,text,visible";
2247 action: STATE_SET "visible" 0.0;
2248 target: "elm.text.title";
2250 program { name: hide_title_text;
2251 signal: "elm,state,title,text,hidden";
2253 action: STATE_SET "default" 0.0;
2254 target: "elm.text.title";
2256 program { name: show_title_area;
2257 signal: "elm,state,title_area,visible";
2262 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2263 if (!strcmp(st, "visible"))
2264 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2266 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2267 set_state(PART:"elm.bg.title", "visible", 0.0);
2270 program { name: hide_title_area;
2271 signal: "elm,state,title_area,hidden";
2273 action: STATE_SET "default" 0.0;
2277 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2278 if (!strcmp(st, "visible"))
2279 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2281 set_state(PART:"elm.swallow.content", "default", 0.0);
2282 set_state(PART:"elm.bg.title", "default", 0.0);
2285 program { name: show_action_area;
2286 signal: "elm,state,action_area,visible";
2291 get_state(PART:"elm.bg.title", st, 30, vl);
2292 if (!strcmp(st, "visible"))
2293 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2295 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2296 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2299 program { name: hide_action_area;
2300 signal: "elm,state,action_area,hidden";
2302 action: STATE_SET "default" 0.0;
2306 get_state(PART:"elm.bg.title", st, 30, vl);
2307 if (!strcmp(st, "visible"))
2308 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2310 set_state(PART:"elm.swallow.content", "default", 0.0);
2311 set_state(PART:"elm.bg.action_area", "default", 0.0);
2317 group { name: "elm/popup/buttons1/content_expand";
2318 alias: "elm/popup/buttons1/content_expand_transparent";
2319 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2321 part{ name:"actionbtn1";
2324 description { state: "default" 0.0;
2325 rel1.relative: 0.2 0.1;
2326 rel2.relative: 0.8 0.9;
2332 group { name: "elm/popup/buttons2/content_expand";
2333 alias: "elm/popup/buttons2/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.1 0.1;
2342 rel2.relative: 0.45 0.9;
2345 part{ name:"actionbtn2";
2348 description { state: "default" 0.0;
2350 rel1.relative: 0.55 0.1;
2351 rel2.relative: 0.9 0.9;
2357 group { name: "elm/popup/buttons3/content_expand";
2358 alias: "elm/popup/buttons3/content_expand_transparent";
2359 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2361 part{ name:"actionbtn1";
2364 description { state: "default" 0.0;
2366 rel1.relative: 0.05 0.1;
2367 rel2.relative: 0.3 0.9;
2370 part{ name:"actionbtn2";
2373 description { state: "default" 0.0;
2375 rel1.relative: 0.375 0.1;
2376 rel2.relative: 0.625 0.9;
2379 part{ name:"actionbtn3";
2382 description { state: "default" 0.0;
2384 rel1.relative: 0.7 0.1;
2385 rel2.relative: 0.95 0.9;
2391 group { name: "elm/popup/item/content_expand";
2392 alias: "elm/popup/item/content_expand_transparent";
2393 inherit: "elm/popup/item/default";
2398 description { state: "default" 0.0;
2399 color: 240 240 240 255;
2403 description { state: "clicked" 0.0;
2404 color: 190 170 150 255;
2410 group { name: "elm/popup/content/content_expand";
2411 alias: "elm/popup/content/content_expand_transparent";
2413 part{ name:"elm.swallow.content";
2416 description { state: "default" 0.0;
2422 #undef POPUP_ITEM_STATE_ENABLED
2423 #undef POPUP_ITEM_STATE_DISABLED