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;
404 description { state: "default" 0.0;
405 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
406 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
408 normal: "00_popup_bg.png";
409 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
415 description { state: "landscape" 0.0;
416 inherit: "default" 0.0;
417 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
418 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
421 part { name: "elm.bg.title";
424 description { state: "default" 0.0;
425 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
426 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
431 to_y: "shadow_left_top_padding";
435 to_y: "shadow_left_top_padding";
438 description { state: "visible" 0.0;
439 inherit: "default" 0.0;
441 description { state: "landscape" 0.0;
442 inherit: "default" 0.0;
443 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
444 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
446 description { state: "landscape_visible" 0.0;
447 inherit: "landscape" 0.0;
450 part { name: "action_top_padding";
453 description { state: "default" 0.0;
454 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
455 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
460 to_y: "shadow_left_top_padding";
464 to_y: "shadow_left_top_padding";
468 part { name: "label_top_padding";
471 description { state: "default" 0.0;
472 min: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
473 max: 0 (POPUP_LABEL_DESC_TOP_PADDING-POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC);
478 to_y: "shadow_left_top_padding";
482 to_y: "shadow_left_top_padding";
486 part { name: "label_bottom_padding";
489 description { state: "default" 0.0;
490 min: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
491 max: 0 (POPUP_LABEL_DESC_BOTTOM_PADDING-POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC);
496 to_y: "shadow_right_bottom_padding";
500 to_y: "shadow_right_bottom_padding";
504 part { name: "title_left_top_padding";
507 description { state: "default" 0.0;
509 rel1.to: "elm.bg.title";
511 min: 0 POPUP_TITLE_TOP_PADDING;
512 max: 0 POPUP_TITLE_TOP_PADDING;
515 part { name: "title_right_bottom_padding";
518 description { state: "default" 0.0;
520 rel2.to: "elm.bg.title";
522 min: 0 POPUP_TITLE_BOTTOM_PADDING;
523 max: 0 POPUP_TITLE_BOTTOM_PADDING;
526 part { name: "icon_rect";
529 description { state: "default" 0.0;
534 to: "title_left_top_padding";
538 to_x: "title_left_top_padding";
539 to_y: "elm.bg.title";
543 description { state: "visible" 0.0;
544 inherit: "default" 0.0;
545 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
546 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
549 part { name: "padding_after_icon";
552 description { state: "default" 0.0;
564 description { state: "visible" 0.0;
565 inherit: "default" 0.0;
566 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
569 part { name: "elm.swallow.title.icon";
572 description { state: "default" 0.0;
573 rel1.to: "icon_rect";
574 rel2.to: "icon_rect";
577 part { name: "elm.text.title";
580 description { state: "default" 0.0;
583 style: "popup_title_style";
584 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
585 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
592 to: "padding_after_icon";
596 to: "title_right_bottom_padding";
601 part { name: "access.title";
604 description { state: "default" 0.0;
609 to_y: "elm.bg.title";
614 part { name: "elm.swallow.content";
617 description { state: "default" 0.0;
618 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
619 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
624 to_y: "label_top_padding";
629 to_y: "label_bottom_padding";
632 description { state: "show_title_area" 0.0;
633 inherit: "default" 0.0;
637 to_y: "elm.bg.title";
642 to_y: "shadow_right_bottom_padding";
645 description { state: "show_action_area" 0.0;
646 inherit: "default" 0.0;
650 to_y: "action_top_padding";
655 to_y: "elm.swallow.action_area";
658 description { state: "show_action_title_area" 0.0;
659 inherit: "default" 0.0;
663 to_y: "elm.bg.title";
668 to_y: "elm.swallow.action_area";
672 part { name: "access.body";
675 description { state: "default" 0.0;
679 to_x: "shadow_left_top_padding";
680 to_y: "elm.swallow.content";
684 to_x: "shadow_right_bottom_padding";
685 to_y: "elm.swallow.content";
690 part { name: "access.base";
693 description { state: "default" 0.0;
700 part { name: "elm.swallow.action_area";
703 description { state: "default" 0.0;
704 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
711 to_y: "shadow_right_bottom_padding";
716 to_y: "shadow_right_bottom_padding";
719 description { state: "visible" 0.0;
720 inherit: "default" 0.0;
726 program { name: show_title_icon;
727 signal: "elm,state,title,icon,visible";
729 action: STATE_SET "visible" 0.0;
731 target: "padding_after_icon";
733 program { name: hide_title_icon;
734 signal: "elm,state,title,icon,hidden";
736 action: STATE_SET "default" 0.0;
737 target: "padding_after_icon";
740 program { name: show_title_area;
741 signal: "elm,state,title_area,visible";
746 get_state(PART:"elm.swallow.action_area", st, 30, vl);
747 if (!strcmp(st, "visible"))
748 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
750 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
751 get_state(PART:"base", st, 30, vl);
752 if (!strcmp(st, "landscape"))
753 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
755 set_state(PART:"elm.bg.title", "visible", 0.0);
758 program { name: hide_title_area;
759 signal: "elm,state,title_area,hidden";
761 action: STATE_SET "default" 0.0;
765 get_state(PART:"elm.swallow.action_area", st, 30, vl);
766 if (!strcmp(st, "visible"))
767 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
769 set_state(PART:"elm.swallow.content", "default", 0.0);
770 get_state(PART:"base", st, 30, vl);
771 if (!strcmp(st, "landscape"))
772 set_state(PART:"elm.bg.title", "landscape", 0.0);
774 set_state(PART:"elm.bg.title", "default", 0.0);
777 program { name: show_action_area;
778 signal: "elm,state,action_area,visible";
783 get_state(PART:"elm.bg.title", st, 30, vl);
784 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
785 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
787 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
788 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
791 program { name: hide_action_area;
792 signal: "elm,state,action_area,hidden";
794 action: STATE_SET "default" 0.0;
798 get_state(PART:"elm.bg.title", st, 30, vl);
799 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
800 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
802 set_state(PART:"elm.swallow.content", "default", 0.0);
803 set_state(PART:"elm.swallow.action_area", "default", 0.0);
806 program { name: "change_to_landscape";
807 signal: "elm,state,landscape";
809 action: STATE_SET "landscape" 0.0;
811 target: "elm.bg.title";
812 after: "orientation_change";
814 program { name: "orientation_change";
815 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
817 program { name: "change_to_portrait";
818 signal: "elm,state,portrait";
820 action: STATE_SET "default" 0.0;
822 target: "elm.bg.title";
823 after: "orientation_change";
825 program { name: "landscape_mode";
827 signal: "elm,state,orient,90";
828 action: SIGNAL_EMIT "elm,state,landscape" "elm";
830 program { name: "landscape_mode2";
832 signal: "elm,state,orient,270";
833 action: SIGNAL_EMIT "elm,state,landscape" "elm";
835 program { name: "portrait_mode";
837 signal: "elm,state,orient,0";
838 action: SIGNAL_EMIT "elm,state,portrait" "elm";
840 program { name: "portrait_mode2";
842 signal: "elm,state,orient,180";
843 action: SIGNAL_EMIT "elm,state,portrait" "elm";
845 } /* end of programs */
848 group { name: "elm/popup/base/content_no_vhpad";
849 inherit: "elm/popup/base/default";
850 alias: "elm/popup/base/min_menustyle";
852 part { name: "label_top_padding";
855 description { state: "default" 0.0;
862 to_y: "shadow_left_top_padding";
866 to_y: "shadow_left_top_padding";
870 part { name: "label_bottom_padding";
873 description { state: "default" 0.0;
880 to_y: "shadow_right_bottom_padding";
884 to_y: "shadow_right_bottom_padding";
891 group { name: "elm/popup/content/default";
892 alias: "elm/popup/content/transparent";
893 alias: "elm/popup/content/customstyle";
894 alias: "elm/popup/content/customstyle_transparent";
896 part { name: "pad_t";
900 description { state: "default" 0.0;
902 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
903 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
915 part { name: "pad_l";
918 description { state: "default" 0.0;
919 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
920 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
922 rel2.relative: 0.0 1.0;
926 part { name: "pad_r";
929 description { state: "default" 0.0;
930 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
931 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
933 rel1.relative: 1.0 0.0;
937 part { name:"elm.swallow.content";
940 description { state: "default" 0.0;
954 part { name: "pad_b";
957 description { state: "default" 0.0;
959 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
960 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
972 group { name: "elm/popup/content/content_no_vhpad";
974 part { name:"elm.swallow.content";
977 description { state: "default" 0.0;
984 ///////////////////////////////////////////////////////////////////////////////
986 group { name: "elm/popup/item/default";
987 alias: "elm/popup/item/min_menustyle";
989 public item_state = POPUP_ITEM_STATE_ENABLED;
992 part { name: "event_blocker";
994 description { state: "default" 0.0;
1002 description { state: "default" 0.0;
1003 color: GENLIST_LIST_BG_COLOR;
1004 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1007 description { state: "clicked" 0.0;
1008 color: GENLIST_LIST_PRESS_COLOR;
1011 part { name: "padding_left_top";
1014 description { state: "default" 0.0;
1016 rel2.relative: 0.0 0.0;
1017 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1021 part { name: "padding_right_bottom";
1024 description { state: "default" 0.0;
1026 rel1.relative: 1.0 1.0;
1027 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1031 part { name: "separator";
1035 description { state: "dafault" 0.0;
1036 color: GENLIST_LIST_LINE1_COLOR;
1042 part { name: "padding_icon_text";
1045 description { state: "default" 0.0; //when only icon or no icon is there
1049 to: "elm.swallow.content";
1051 rel2.to: "elm.swallow.content";
1055 description { state: "visible" 0.0; //when icon is visible
1056 inherit: "default" 0.0;
1057 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1059 description { state: "icononly" 0.0;
1060 inherit: "default" 0.0;
1063 part { name: "elm.swallow.content";
1066 description { state: "default" 0.0;
1071 to: "padding_left_top";
1075 to_x: "padding_left_top";
1076 to_y: "padding_right_bottom";
1080 description { state: "visible" 0.0;
1087 to: "padding_left_top";
1091 to_x: "padding_left_top";
1092 to_y: "padding_right_bottom";
1095 aspect_preference: VERTICAL;
1097 description { state: "icononly" 0.0;
1102 to: "padding_left_top";
1106 to: "padding_right_bottom";
1109 aspect_preference: VERTICAL;
1112 part { name: "elm.text";
1116 description { state: "default" 0.0;
1120 to_x: "padding_icon_text";
1121 to_y: "padding_left_top";
1125 to:"padding_right_bottom";
1128 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1132 font: "Tizen:style=Regular";
1133 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1134 text_class: "list_item";
1137 description { state: "visible" 0.0;
1138 inherit: "default" 0.0;
1141 description { state: "clicked" 0.0;
1142 inherit: "default" 0.0;
1144 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1146 description { state: "disabled" 0.0;
1147 inherit: "default" 0.0;
1148 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1150 description { state: "disabled_visible" 0.0;
1151 inherit: "default" 0.0;
1152 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1156 part { name: "over1";
1159 ignore_flags: ON_HOLD;
1160 description { state: "default" 0.0;
1164 part { name: "over2";
1167 description { state: "default" 0.0;
1171 part { name: "disclip";
1173 description { state: "default" 0.0;
1176 description { state: "disabled" 0.0;
1182 program { name: "item_unclick";
1183 signal: "mouse,clicked,1";
1185 action: SIGNAL_EMIT "elm,action,click" "";
1188 program { name: "touch_snd";
1189 action: PLAY_SAMPLE "touch_sound" 1.0;
1191 program { name: "disable";
1192 signal: "elm,state,item,disabled";
1194 action: STATE_SET "disabled" 0.0;
1196 after: "disable_text";
1198 program { name: "enable";
1199 signal: "elm,state,item,enabled";
1201 action: STATE_SET "default" 0.0;
1203 after: "enable_text";
1205 program { name: "item_click2";
1206 signal: "mouse,down,1";
1211 get_state(PART:"elm.text", st, 30, vl);
1212 if (!strcmp(st, "visible"))
1213 set_state(PART:"elm.text", "clicked", 0.0);
1214 set_state(PART:"bg", "clicked", 0.0);
1217 program { name: "item_unclick2";
1218 signal: "mouse,up,1";
1223 get_state(PART:"elm.text", st, 30, vl);
1224 if (!strcmp(st, "clicked"))
1225 set_state(PART:"elm.text", "visible", 0.0);
1226 set_state(PART:"bg", "default", 0.0);
1229 program { name: "disable_text";
1233 get_state(PART:"elm.text", st, 30, vl);
1234 if (!strcmp(st, "visible"))
1235 set_state(PART:"elm.text", "disabled_visible", 0.0);
1237 set_state(PART:"elm.text", "disabled", 0.0);
1238 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1241 program { name: "enable_text";
1245 get_state(PART:"elm.text", st, 30, vl);
1246 if (!strcmp(st, "disabled_visible"))
1247 set_state(PART:"elm.text", "visible", 0.0);
1249 set_state(PART:"elm.text", "default", 0.0);
1250 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1253 program { name: "text_show";
1254 signal: "elm,state,item,text,visible";
1259 get_state(PART:"elm.swallow.content", st, 30, vl);
1260 if (!strcmp(st, "icononly")) {
1261 set_state(PART:"elm.swallow.content", "visible", 0.0);
1262 set_state(PART:"padding_icon_text", "visible", 0.0);
1264 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1265 set_state(PART:"elm.text", "visible", 0.0);
1267 set_state(PART:"elm.text", "disabled_visible", 0.0);
1270 program { name: "text_hide";
1271 signal: "elm,state,item,text,hidden";
1276 get_state(PART:"elm.swallow.content", st, 30, vl);
1277 if (!strcmp(st, "visible")) {
1278 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1279 set_state(PART:"padding_icon_text", "icononly", 0.0);
1281 set_state(PART:"elm.text", "default", 0.0);
1284 program { name: "icon_show";
1285 signal: "elm,state,item,icon,visible";
1290 get_state(PART:"elm.text", st, 30, vl);
1291 if (!strcmp(st, "visible")) {
1292 set_state(PART:"elm.swallow.content", "visible", 0.0);
1293 set_state(PART:"padding_icon_text", "visible", 0.0);
1296 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1297 set_state(PART:"padding_icon_text", "icononly", 0.0);
1301 program { name: "icon_hide";
1302 signal: "elm,state,item,icon,hidden";
1304 action: STATE_SET "default" 0.0;
1305 target: "elm.swallow.content";
1310 /////////////////////////////////////////////////////////////////////////////////////////
1311 group { name: "elm/popup/item/landscape/default";
1312 inherit: "elm/popup/item/default";
1318 description { state: "default" 0.0;
1319 color: GENLIST_LIST_BG_COLOR;
1320 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1323 description { state: "clicked" 0.0;
1324 color: GENLIST_LIST_PRESS_COLOR;
1330 ////////////////////////////////////////////////////////////////////////////////////////
1331 group { name: "elm/label/base/popup/verticalbuttonstyle";
1334 style { name: "popup_desc_style_center";
1335 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";
1338 tag: "whitecolor" "+ color=#ffffff";
1343 part { name: "elm.text";
1347 description { state: "default" 0.0;
1349 style: "popup_desc_style_center";
1359 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1360 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1361 data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1366 description { state: "default" 0.0;
1367 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1371 part { name: "elm.rect.pad_btn_top";
1374 description { state: "default" 0.0;
1375 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1386 part { name:"actionbtn1";
1389 description { state: "default" 0.0;
1390 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1391 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1395 relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1399 part { name: "elm.rect.pad_btn";
1402 description { state: "default" 0.0;
1403 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1404 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1408 relative: 0.0 1.0; to: "actionbtn1";
1411 relative: 1.0 1.0; to: "actionbtn1";
1415 part { name:"actionbtn2";
1418 description { state: "default" 0.0;
1419 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1420 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1423 rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1426 part { name: "elm.rect.pad_btn2";
1429 description { state: "default" 0.0;
1430 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1431 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1435 relative: 0.0 1.0; to: "actionbtn2";
1438 relative: 1.0 1.0; to: "actionbtn2";
1442 part { name:"actionbtn3";
1445 description { state: "default" 0.0;
1446 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1447 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1451 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1458 group { name: "elm/popup/content/menustyle";
1459 alias: "elm/popup/content/menustyle_transparent";
1461 part { name: "left_padding";
1464 description { state: "default" 0.0;
1467 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1476 part{ name:"elm.swallow.content";
1479 description { state: "default" 0.0;
1480 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1481 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1494 part { name: "right_padding";
1497 description { state: "default" 0.0;
1500 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1512 group { name: "elm/popup/content/min_menustyle";
1513 alias: "elm/popup/content/min_menustyle_transparent";
1515 part { name: "left_padding";
1518 description { state: "default" 0.0;
1521 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1530 part{ name:"elm.swallow.content";
1533 description { state: "default" 0.0;
1534 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1547 part { name: "right_padding";
1550 description { state: "default" 0.0;
1553 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1565 group { name: "elm/popup/content/liststyle";
1566 alias: "elm/popup/content/liststyle_transparent";
1568 part { name: "left_top_padding";
1571 description { state: "default" 0.0;
1574 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1575 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1578 part{ name:"elm.swallow.content";
1581 description { state: "default" 0.0;
1582 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1583 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1588 to:"left_top_padding";
1596 part { name: "right_padding";
1599 description { state: "default" 0.0;
1602 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1614 group { name: "elm/popup/content/min_liststyle";
1615 alias: "elm/popup/content/min_liststyle_transparent";
1617 part { name: "left_top_padding";
1620 description { state: "default" 0.0;
1623 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1624 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1627 part{ name:"elm.swallow.content";
1630 description { state: "default" 0.0;
1631 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1636 to:"left_top_padding";
1644 part { name: "right_padding";
1647 description { state: "default" 0.0;
1650 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1663 group { name: "elm/popup/buttons1/default";
1664 alias: "elm/popup/buttons1/transparent";
1665 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1667 part{ name:"actionbtn1";
1670 description { state: "default" 0.0;
1671 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1672 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1674 rel1.relative: 0.5 0.0;
1675 rel2.relative: 0.5 1.0;
1681 group { name: "elm/popup/buttons2/default";
1682 alias: "elm/popup/buttons2/transparent";
1683 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1685 part { name: "left_pad_btn";
1688 description { state: "default" 0.0;
1689 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1690 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1693 rel1.relative: 0.0 0.0;
1696 part { name: "right_pad_btn";
1699 description { state: "default" 0.0;
1700 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1701 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1704 rel2.relative: 1.0 1.0;
1707 part { name:"actionbtn1";
1710 description { state: "default" 0.0;
1719 to: "elm.rect.pad_btn";
1723 part { name: "elm.rect.pad_btn";
1726 description { state: "default" 0.0;
1727 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1728 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1730 rel1.relative: 0.5 0.0;
1731 rel2.relative: 0.5 1.0;
1734 part { name:"actionbtn2";
1737 description { state: "default" 0.0;
1742 to: "elm.rect.pad_btn";
1746 to: "right_pad_btn";
1753 group { name: "elm/popup/buttons3/default";
1754 alias: "elm/popup/buttons3/menustyle";
1755 alias: "elm/popup/buttons3/transparent";
1756 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1758 part { name: "left_pad_btn";
1761 description { state: "default" 0.0;
1762 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1763 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1766 rel1.relative: 0.0 0.0;
1769 part { name: "right_pad_btn";
1772 description { state: "default" 0.0;
1773 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1774 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1777 rel2.relative: 1.0 1.0;
1780 part { name: "btn_area";
1783 description { state: "default" 0.0;
1791 to: "right_pad_btn";
1795 part{ name:"actionbtn1";
1798 description { state: "default" 0.0;
1807 to: "elm.rect.pad_btn";
1811 part { name: "elm.rect.pad_btn";
1814 description { state: "default" 0.0;
1815 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1816 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1818 rel1.relative: 0.33 0.0;
1819 rel1.to: "btn_area";
1820 rel2.relative: 0.33 1.0;
1821 rel2.to: "btn_area";
1824 part{ name:"actionbtn2";
1827 description { state: "default" 0.0;
1831 to: "elm.rect.pad_btn";
1835 to: "elm.rect.pad_btn2";
1839 part { name: "elm.rect.pad_btn2";
1842 description { state: "default" 0.0;
1843 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1844 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1846 rel1.relative: 0.67 0.0;
1847 rel1.to: "btn_area";
1848 rel2.relative: 0.67 1.0;
1849 rel2.to: "btn_area";
1852 part{ name:"actionbtn3";
1855 description { state: "default" 0.0;
1860 to: "elm.rect.pad_btn2";
1864 to: "right_pad_btn";
1871 group { name: "elm/popup/base/volumebarstyle";
1872 inherit: "elm/popup/base/default";
1873 alias: "elm/popup/base/volumebarstyle_transparent";
1875 image: "00_popup_bg.png" COMP;
1878 part { name: "elm.swallow.content";
1881 description { state: "default" 0.0;
1882 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
1887 to_y: "shadow_left_top_padding";
1892 to_y: "shadow_right_bottom_padding";
1895 description { state: "show_title_area" 0.0;
1896 inherit: "default" 0.0;
1900 to_y: "elm.bg.title";
1905 to_y: "shadow_right_bottom_padding";
1908 description { state: "show_action_area" 0.0;
1909 inherit: "default" 0.0;
1913 to_y: "shadow_left_top_padding";
1918 to_y: "elm.swallow.action_area";
1921 description { state: "show_action_title_area" 0.0;
1922 inherit: "default" 0.0;
1926 to_y: "elm.bg.title";
1931 to_y: "elm.swallow.action_area";
1938 group { name: "elm/popup/base/volumebarstyle_text";
1939 alias: "elm/popup/base/volumebarstyle_text_transparent";
1940 inherit: "elm/popup/base/volumebarstyle";
1942 part { name: "elm.swallow.content";
1945 description { state: "default" 0.0;
1946 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
1951 to_y: "shadow_left_top_padding";
1956 to_y: "shadow_right_bottom_padding";
1959 description { state: "show_title_area" 0.0;
1960 inherit: "default" 0.0;
1964 to_y: "elm.bg.title";
1969 to_y: "shadow_right_bottom_padding";
1972 description { state: "show_action_area" 0.0;
1973 inherit: "default" 0.0;
1977 to_y: "shadow_left_top_padding";
1982 to_y: "elm.swallow.action_area";
1985 description { state: "show_action_title_area" 0.0;
1986 inherit: "default" 0.0;
1990 to_y: "elm.bg.title";
1995 to_y: "elm.swallow.action_area";
2002 group { name: "elm/popup/base/content_expand";
2003 alias: "elm/popup/base/content_expand_transparent";
2005 image: "00_popup_bg.png" COMP;
2009 name: "shadow_right_bottom_padding";
2012 description { state: "default" 0.0;
2013 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2014 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2019 part { name: "base";
2022 description { state: "default" 0.0;
2023 rel1.to_x: "elm.swallow.content";
2024 rel2.to_x: "elm.bg.action_area";
2026 normal: "00_popup_bg.png";
2027 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2034 part { name: "access.base";
2036 description { state: "default" 0.0;
2043 part { name: "elm.bg.title";
2046 description { state: "default" 0.0;
2047 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2058 description { state: "visible" 0.0;
2059 inherit: "default" 0.0;
2063 part { name: "left_pad";
2066 description { state: "default" 0.0;
2067 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2068 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2071 rel1.to: "elm.bg.title";
2074 part { name: "right_pad";
2077 description { state: "default" 0.0;
2078 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2079 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2082 rel2.to: "elm.bg.title";
2085 part { name: "elm.swallow.title.icon";
2088 description { state: "default" 0.0;
2089 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2090 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2103 description { state: "visible" 0.0;
2104 inherit: "default" 0.0;
2108 part { name: "elm.text.title";
2111 description { state: "default" 0.0;
2113 style: "popup_title_style";
2114 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2115 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2130 description { state: "visible" 0.0;
2131 inherit: "default" 0.0;
2135 part { name: "elm.swallow.content";
2138 description { state: "default" 0.0;
2139 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2140 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2141 rel1.relative: 0.5 0.0;
2142 rel2.relative: 0.5 1.0;
2144 description { state: "show_title_area" 0.0;
2145 inherit: "default" 0.0;
2148 to_y: "elm.bg.title";
2151 description { state: "show_action_area" 0.0;
2152 inherit: "default" 0.0;
2155 to_y: "elm.bg.action_area";
2158 description { state: "show_action_title_area" 0.0;
2159 inherit: "default" 0.0;
2162 to_y: "elm.bg.title";
2166 to_y: "elm.bg.action_area";
2170 part { name: "elm.bg.action_area";
2173 description { state: "default" 0.0;
2174 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2180 to_y: "shadow_right_bottom_padding";
2184 to_y: "shadow_right_bottom_padding";
2188 description { state: "visible" 0.0;
2189 inherit: "default" 0.0;
2193 part { name: "elm.swallow.action_area";
2196 description { state: "default" 0.0;
2197 rel1.to: "elm.bg.action_area";
2198 rel2.to: "elm.bg.action_area";
2203 program { name: show_title_icon;
2204 signal: "elm,state,title,icon,visible";
2206 action: STATE_SET "visible" 0.0;
2207 target: "elm.swallow.title.icon";
2209 program { name: hide_title_icon;
2210 signal: "elm,state,title,icon,hidden";
2212 action: STATE_SET "default" 0.0;
2213 target: "elm.swallow.title.icon";
2215 program { name: show_title_text;
2216 signal: "elm,state,title,text,visible";
2218 action: STATE_SET "visible" 0.0;
2219 target: "elm.text.title";
2221 program { name: hide_title_text;
2222 signal: "elm,state,title,text,hidden";
2224 action: STATE_SET "default" 0.0;
2225 target: "elm.text.title";
2227 program { name: show_title_area;
2228 signal: "elm,state,title_area,visible";
2233 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2234 if (!strcmp(st, "visible"))
2235 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2237 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2238 set_state(PART:"elm.bg.title", "visible", 0.0);
2241 program { name: hide_title_area;
2242 signal: "elm,state,title_area,hidden";
2244 action: STATE_SET "default" 0.0;
2248 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2249 if (!strcmp(st, "visible"))
2250 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2252 set_state(PART:"elm.swallow.content", "default", 0.0);
2253 set_state(PART:"elm.bg.title", "default", 0.0);
2256 program { name: show_action_area;
2257 signal: "elm,state,action_area,visible";
2262 get_state(PART:"elm.bg.title", 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_action_area", 0.0);
2267 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2270 program { name: hide_action_area;
2271 signal: "elm,state,action_area,hidden";
2273 action: STATE_SET "default" 0.0;
2277 get_state(PART:"elm.bg.title", st, 30, vl);
2278 if (!strcmp(st, "visible"))
2279 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2281 set_state(PART:"elm.swallow.content", "default", 0.0);
2282 set_state(PART:"elm.bg.action_area", "default", 0.0);
2288 group { name: "elm/popup/buttons1/content_expand";
2289 alias: "elm/popup/buttons1/content_expand_transparent";
2290 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2292 part{ name:"actionbtn1";
2295 description { state: "default" 0.0;
2296 rel1.relative: 0.2 0.1;
2297 rel2.relative: 0.8 0.9;
2303 group { name: "elm/popup/buttons2/content_expand";
2304 alias: "elm/popup/buttons2/content_expand_transparent";
2305 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2307 part{ name:"actionbtn1";
2310 description { state: "default" 0.0;
2312 rel1.relative: 0.1 0.1;
2313 rel2.relative: 0.45 0.9;
2316 part{ name:"actionbtn2";
2319 description { state: "default" 0.0;
2321 rel1.relative: 0.55 0.1;
2322 rel2.relative: 0.9 0.9;
2328 group { name: "elm/popup/buttons3/content_expand";
2329 alias: "elm/popup/buttons3/content_expand_transparent";
2330 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2332 part{ name:"actionbtn1";
2335 description { state: "default" 0.0;
2337 rel1.relative: 0.05 0.1;
2338 rel2.relative: 0.3 0.9;
2341 part{ name:"actionbtn2";
2344 description { state: "default" 0.0;
2346 rel1.relative: 0.375 0.1;
2347 rel2.relative: 0.625 0.9;
2350 part{ name:"actionbtn3";
2353 description { state: "default" 0.0;
2355 rel1.relative: 0.7 0.1;
2356 rel2.relative: 0.95 0.9;
2362 group { name: "elm/popup/item/content_expand";
2363 alias: "elm/popup/item/content_expand_transparent";
2364 inherit: "elm/popup/item/default";
2369 description { state: "default" 0.0;
2370 color: 240 240 240 255;
2374 description { state: "clicked" 0.0;
2375 color: 190 170 150 255;
2381 group { name: "elm/popup/content/content_expand";
2382 alias: "elm/popup/content/content_expand_transparent";
2384 part{ name:"elm.swallow.content";
2387 description { state: "default" 0.0;
2393 #undef POPUP_ITEM_STATE_ENABLED
2394 #undef POPUP_ITEM_STATE_DISABLED