3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 #define POPUP_ITEM_STATE_ENABLED 0
21 #define POPUP_ITEM_STATE_DISABLED 1
24 sample { name: "touch_sound" RAW;
25 source: "button-pressed.wav";
29 /*popup widget specific notify style style*/
30 group { name: "elm/notify/center/popup";
31 alias: "elm/notify/center/verticalbuttonstyle";
32 alias: "elm/notify/center/menustyle";
33 alias: "elm/notify/center/min_menustyle";
34 alias: "elm/notify/center/liststyle";
35 alias: "elm/notify/center/min_liststyle";
36 alias: "elm/notify/center/customstyle";
37 alias: "elm/notify/center/volumebarstyle";
38 alias: "elm/notify/center/volumebarstyle_text";
39 alias: "elm/notify/center/content_expand";
40 alias: "elm/notify/center/content_no_vhpad";
41 alias: "elm/notify/center/dimrect";
46 description { state: "default" 0.0;
48 rel1.relative: 0.0 0.0;
49 rel2.relative: 1.0 1.0;
54 description { state: "default" 0.0;
66 part { name: "persp1";
68 description { state: "default" 0.0;
80 part { name: "elm.swallow.content";
84 description { state: "default" 0.0;
94 description { state: "visible" 0.0;
100 perspective: "persp1";
104 description { state: "end" 0.0;
113 part { name: "clipper";
116 description { state: "default" 0.0;
122 color: 255 255 255 0;
124 description { state: "visible" 0.0;
126 color: 255 255 255 255;
128 description { state: "end" 0.0;
130 color: 255 255 255 255;
135 program { name: "show";
136 signal: "elm,action,show";
138 action: STATE_SET "default" 0.0;
139 target: "elm.swallow.content";
141 program { name: "show_1";
143 action: STATE_SET "default" 0.0;
144 target: "elm.swallow.content";
149 program { name: "end";
150 action: STATE_SET "visible" 0.0;
151 target: "elm.swallow.content";
152 transition: SIN_FAC 0.33 1.4;
155 program { name: "end1";
156 action: STATE_SET "visible" 0.0;
158 transition: SIN_FAC 0.33 0.5;
161 program { name: "end3";
162 action: STATE_SET "end" 0.0;
165 program { name: "end2";
166 action: STATE_SET "end" 0.0;
167 target: "elm.swallow.content";
169 program { name: "hide";
170 signal: "elm,action,hide";
172 action: STATE_SET "default" 0.0;
173 target: "elm.swallow.content";
178 group { name: "elm/notify/center/transparent";
179 inherit: "elm/notify/center/popup";
180 alias: "elm/notify/center/verticalbuttonstyle_transparent";
181 alias: "elm/notify/center/menustyle_transparent";
182 alias: "elm/notify/center/min_menustyle_transparent";
183 alias: "elm/notify/center/liststyle_transparent";
184 alias: "elm/notify/center/min_liststyle_transparent";
185 alias: "elm/notify/center/customstyle_transparent";
186 alias: "elm/notify/center/volumebarstyle_transparent";
187 alias: "elm/notify/center/volumebarstyle_text_transparent";
188 alias: "elm/notify/center/content_expand_transparent";
190 part { name: "elm.swallow.content";
193 description { state: "default" 0.0;
196 description { state: "visible" 0.0;
199 description { state: "end" 0.0;
206 group { name: "elm/notify/block_events/popup";
207 alias: "elm/notify/block_events/verticalbuttonstyle";
208 alias: "elm/notify/block_events/menustyle";
209 alias: "elm/notify/block_events/min_menustyle";
210 alias: "elm/notify/block_events/liststyle";
211 alias: "elm/notify/block_events/min_liststyle";
212 alias: "elm/notify/block_events/customstyle";
213 alias: "elm/notify/block_events/volumebarstyle";
214 alias: "elm/notify/block_events/volumebarstyle_text";
215 alias: "elm/notify/block_events/content_expand";
216 alias: "elm/notify/block_events/content_no_vhpad";
218 image: "00_popup_dim_lighting_v.png" COMP;
219 image: "00_popup_dim_lighting_h.png" COMP;
222 part { name: "block_events";
226 description { state: "default" 0.0;
227 image.normal: "00_popup_dim_lighting_v.png";
230 description { state: "landscape" 0.0;
231 image.normal: "00_popup_dim_lighting_h.png";
235 part {name: "popup_indicator";
239 description { state: "default" 0.0;
242 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
243 rel2.relative: 1.0 0.0;
244 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
246 description { state: "show" 0.0;
247 inherit: "default" 0.0;
248 color: POPUP_DIM_BG_COLOR_INC;
250 description { state: "clicked" 0.0;
251 inherit: "default" 0.0;
252 color: POPUP_DIM_BG_COLOR_INC;
255 part { name: "block_events_color";
258 description { state: "default" 0.0;
261 to: "popup_indicator";
263 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
265 description { state: "show" 0.0;
266 inherit: "default" 0.0;
267 color: POPUP_DIM_BG_COLOR_INC;
269 description { state: "clicked" 0.0;
270 inherit: "default" 0.0;
271 color: POPUP_DIM_BG_COLOR_INC;
276 program { name: "show";
277 signal: "elm,action,show";
279 action: STATE_SET "default" 0.0;
280 target: "block_events";
281 target: "block_events_color";
282 target: "popup_indicator";
284 program { name: "show1";
286 action: STATE_SET "show" 0.0;
287 transition: SIN_FAC 0.33 0.5;
288 target: "block_events_color";
289 target: "popup_indicator";
291 program { name: "block_clicked";
292 signal: "mouse,clicked,1";
293 source: "block_events_color";
294 action: SIGNAL_EMIT "elm,action,click" "elm";
295 after: "deeper_block_color";
297 program { name: "indicator_clicked";
298 signal: "mouse,clicked,1";
299 source: "popup_indicator";
300 action: SIGNAL_EMIT "elm,action,click" "elm";
301 after: "deeper_block_color";
304 name: "deeper_block_color";
305 action: STATE_SET "clicked" 0.0;
306 target: "block_events_color";
307 target: "popup_indicator";
308 transition: LINEAR 0.2;
309 after: "default_block_color";
312 name: "default_block_color";
313 action: STATE_SET "show" 0.0;
314 target: "block_events_color";
315 target: "popup_indicator";
316 transition: LINEAR 0.2;
318 program { name: "landscape_mode";
320 signal: "elm,state,orient,90";
321 action: STATE_SET "landscape" 0.0;
322 target: "block_events";
324 program { name: "landscape_mode2";
326 signal: "elm,state,orient,270";
327 action: STATE_SET "landscape" 0.0;
328 target: "block_events";
330 program { name: "portrait_mode";
332 signal: "elm,state,orient,0";
333 action: STATE_SET "default" 0.0;
334 target: "block_events";
336 program { name: "portrait_mode2";
338 signal: "elm,state,orient,180";
339 action: STATE_SET "default" 0.0;
340 target: "block_events";
345 group { name: "elm/notify/block_events/transparent";
346 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
347 alias: "elm/notify/block_events/menustyle_transparent";
348 alias: "elm/notify/block_events/min_menustyle_transparent";
349 alias: "elm/notify/block_events/liststyle_transparent";
350 alias: "elm/notify/block_events/min_liststyle_transparent";
351 alias: "elm/notify/block_events/customstyle_transparent";
352 alias: "elm/notify/block_events/volumebarstyle_transparent";
353 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
354 alias: "elm/notify/block_events/content_expand_transparent";
356 part {name: "popup_indicator";
360 description { state: "default" 0.0;
363 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
364 rel2.relative: 1.0 0.0;
365 color: POPUP_DIM_BG_TRANS_COLOR_INC;
368 part { name: "block_events";
370 description { state: "default" 0.0;
373 to: "popup_indicator";
375 color: POPUP_DIM_BG_TRANS_COLOR_INC;
381 group { name: "elm/notify/block_events/dimrect";
382 inherit: "elm/notify/block_events/transparent";
384 part {name: "popup_indicator";
388 description { state: "default" 0.0;
391 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
392 rel2.relative: 1.0 0.0;
393 color: POPUP_DIM_BG_COLOR_INC;
396 part { name: "block_events";
398 description { state: "default" 0.0;
401 to: "popup_indicator";
403 color: POPUP_DIM_BG_COLOR_INC;
409 group { name: "elm/label/base/popup/default";
410 alias: "elm/label/base/popup/content_expand";
411 alias: "elm/label/base/popup/transparent";
413 style { name: "popup_desc_style";
414 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";
417 tag: "whitecolor" "+ color=#ffffff";
422 part { name: "elm.text";
426 description { state: "default" 0.0;
427 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
428 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC;
430 style: "popup_desc_style";
438 group { name: "elm/popup/base/default";
439 alias: "elm/popup/base/transparent";
440 alias: "elm/popup/base/verticalbuttonstyle";
441 alias: "elm/popup/base/verticalbuttonstyle_transparent";
442 alias: "elm/popup/base/customstyle";
443 alias: "elm/popup/base/customstyle_transparent";
444 alias: "elm/popup/base/liststyle";
445 alias: "elm/popup/base/menustyle";
447 image: "00_popup_bg.png" COMP;
450 style { name: "popup_title_style";
451 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";
458 name:"shadow_left_top_padding";
461 description { state: "default" 0.0;
462 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
463 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
469 name:"shadow_right_bottom_padding";
472 description { state: "default" 0.0;
473 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
474 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
481 description { state: "default" 0.0;
482 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
483 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
485 normal: "00_popup_bg.png";
486 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
492 description { state: "landscape" 0.0;
493 inherit: "default" 0.0;
494 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
495 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
498 part { name: "elm.bg.title";
501 description { state: "default" 0.0;
502 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
503 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
508 to_y: "shadow_left_top_padding";
512 to_y: "shadow_left_top_padding";
515 description { state: "visible" 0.0;
516 inherit: "default" 0.0;
518 description { state: "landscape" 0.0;
519 inherit: "default" 0.0;
520 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
521 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
523 description { state: "landscape_visible" 0.0;
524 inherit: "landscape" 0.0;
527 part { name: "action_top_padding";
530 description { state: "default" 0.0;
531 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
532 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
537 to_y: "shadow_left_top_padding";
541 to_y: "shadow_left_top_padding";
545 part { name: "label_top_padding";
548 description { state: "default" 0.0;
555 to_y: "shadow_left_top_padding";
559 to_y: "shadow_left_top_padding";
563 part { name: "label_bottom_padding";
566 description { state: "default" 0.0;
573 to_y: "shadow_right_bottom_padding";
577 to_y: "shadow_right_bottom_padding";
581 part { name: "title_left_top_padding";
584 description { state: "default" 0.0;
586 rel1.to: "elm.bg.title";
588 min: 0 POPUP_TITLE_TOP_PADDING;
589 max: 0 POPUP_TITLE_TOP_PADDING;
592 part { name: "title_right_bottom_padding";
595 description { state: "default" 0.0;
597 rel2.to: "elm.bg.title";
599 min: 0 POPUP_TITLE_BOTTOM_PADDING;
600 max: 0 POPUP_TITLE_BOTTOM_PADDING;
603 part { name: "icon_rect";
606 description { state: "default" 0.0;
611 to: "title_left_top_padding";
615 to_x: "title_left_top_padding";
616 to_y: "elm.bg.title";
620 description { state: "visible" 0.0;
621 inherit: "default" 0.0;
622 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
623 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
626 part { name: "padding_after_icon";
629 description { state: "default" 0.0;
641 description { state: "visible" 0.0;
642 inherit: "default" 0.0;
643 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
646 part { name: "elm.swallow.title.icon";
649 description { state: "default" 0.0;
650 rel1.to: "icon_rect";
651 rel2.to: "icon_rect";
654 part { name: "elm.text.title";
657 description { state: "default" 0.0;
660 style: "popup_title_style";
661 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
662 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
669 to: "padding_after_icon";
673 to: "title_right_bottom_padding";
678 part { name: "access.title";
681 description { state: "default" 0.0;
685 to_x: "shadow_left_top_padding";
686 to_y: "elm.bg.title";
690 to_x: "shadow_right_bottom_padding";
691 to_y: "elm.bg.title";
696 part { name: "elm.swallow.content";
699 description { state: "default" 0.0;
700 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
701 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
706 to_y: "label_top_padding";
711 to_y: "label_bottom_padding";
714 description { state: "show_title_area" 0.0;
715 inherit: "default" 0.0;
719 to_y: "elm.bg.title";
724 to_y: "shadow_right_bottom_padding";
727 description { state: "show_action_area" 0.0;
728 inherit: "default" 0.0;
732 to_y: "action_top_padding";
737 to_y: "elm.swallow.action_area";
740 description { state: "show_action_title_area" 0.0;
741 inherit: "default" 0.0;
745 to_y: "elm.bg.title";
750 to_y: "elm.swallow.action_area";
754 part { name: "access.body";
757 description { state: "default" 0.0;
761 to_x: "shadow_left_top_padding";
762 to_y: "elm.swallow.content";
766 to_x: "shadow_right_bottom_padding";
767 to_y: "elm.swallow.content";
772 part { name: "access.base";
775 description { state: "default" 0.0;
782 part { name: "access.base";
785 description { state: "default" 0.0;
792 part { name: "elm.swallow.action_area";
795 description { state: "default" 0.0;
796 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
803 to_y: "shadow_right_bottom_padding";
808 to_y: "shadow_right_bottom_padding";
811 description { state: "visible" 0.0;
812 inherit: "default" 0.0;
818 program { name: show_title_icon;
819 signal: "elm,state,title,icon,visible";
821 action: STATE_SET "visible" 0.0;
823 target: "padding_after_icon";
825 program { name: hide_title_icon;
826 signal: "elm,state,title,icon,hidden";
828 action: STATE_SET "default" 0.0;
829 target: "padding_after_icon";
832 program { name: show_title_area;
833 signal: "elm,state,title_area,visible";
838 get_state(PART:"elm.swallow.action_area", st, 30, vl);
839 if (!strcmp(st, "visible"))
840 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
842 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
843 get_state(PART:"base", st, 30, vl);
844 if (!strcmp(st, "landscape"))
845 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
847 set_state(PART:"elm.bg.title", "visible", 0.0);
850 program { name: hide_title_area;
851 signal: "elm,state,title_area,hidden";
853 action: STATE_SET "default" 0.0;
857 get_state(PART:"elm.swallow.action_area", st, 30, vl);
858 if (!strcmp(st, "visible"))
859 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
861 set_state(PART:"elm.swallow.content", "default", 0.0);
862 get_state(PART:"base", st, 30, vl);
863 if (!strcmp(st, "landscape"))
864 set_state(PART:"elm.bg.title", "landscape", 0.0);
866 set_state(PART:"elm.bg.title", "default", 0.0);
869 program { name: show_action_area;
870 signal: "elm,state,action_area,visible";
875 get_state(PART:"elm.bg.title", st, 30, vl);
876 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
877 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
879 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
880 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
883 program { name: hide_action_area;
884 signal: "elm,state,action_area,hidden";
886 action: STATE_SET "default" 0.0;
890 get_state(PART:"elm.bg.title", st, 30, vl);
891 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
892 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
894 set_state(PART:"elm.swallow.content", "default", 0.0);
895 set_state(PART:"elm.swallow.action_area", "default", 0.0);
898 program { name: "change_to_landscape";
899 signal: "elm,state,landscape";
901 action: STATE_SET "landscape" 0.0;
903 target: "elm.bg.title";
904 after: "orientation_change";
906 program { name: "orientation_change";
907 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
909 program { name: "change_to_portrait";
910 signal: "elm,state,portrait";
912 action: STATE_SET "default" 0.0;
914 target: "elm.bg.title";
915 after: "orientation_change";
917 program { name: "landscape_mode";
919 signal: "elm,state,orient,90";
920 action: SIGNAL_EMIT "elm,state,landscape" "elm";
922 program { name: "landscape_mode2";
924 signal: "elm,state,orient,270";
925 action: SIGNAL_EMIT "elm,state,landscape" "elm";
927 program { name: "portrait_mode";
929 signal: "elm,state,orient,0";
930 action: SIGNAL_EMIT "elm,state,portrait" "elm";
932 program { name: "portrait_mode2";
934 signal: "elm,state,orient,180";
935 action: SIGNAL_EMIT "elm,state,portrait" "elm";
937 } /* end of programs */
940 group { name: "elm/popup/base/content_no_vhpad";
941 inherit: "elm/popup/base/default";
942 alias: "elm/popup/base/min_menustyle";
944 part { name: "label_top_padding";
947 description { state: "default" 0.0;
954 to_y: "shadow_left_top_padding";
958 to_y: "shadow_left_top_padding";
962 part { name: "label_bottom_padding";
965 description { state: "default" 0.0;
972 to_y: "shadow_right_bottom_padding";
976 to_y: "shadow_right_bottom_padding";
983 group { name: "elm/popup/content/default";
984 alias: "elm/popup/content/transparent";
985 alias: "elm/popup/content/customstyle";
986 alias: "elm/popup/content/customstyle_transparent";
988 part { name: "pad_t";
992 description { state: "default" 0.0;
994 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
995 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1007 part { name: "pad_l";
1010 description { state: "default" 0.0;
1011 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1012 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1014 rel2.relative: 0.0 1.0;
1018 part { name: "pad_r";
1021 description { state: "default" 0.0;
1022 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1023 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1025 rel1.relative: 1.0 0.0;
1029 part { name:"elm.swallow.content";
1032 description { state: "default" 0.0;
1046 part { name: "pad_b";
1049 description { state: "default" 0.0;
1051 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1052 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1064 group { name: "elm/popup/content/content_no_vhpad";
1065 inherit: "elm/popup/content/default";
1066 alias: "elm/popup/content/min_menustyle";
1068 part { name: "pad_t";
1072 description { state: "default" 0.0;
1074 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
1075 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
1087 part { name: "pad_l";
1090 description { state: "default" 0.0;
1091 min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1092 max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1094 rel2.relative: 0.0 1.0;
1098 part { name: "pad_r";
1101 description { state: "default" 0.0;
1102 min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1103 max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1105 rel1.relative: 1.0 0.0;
1109 part { name: "pad_b";
1112 description { state: "default" 0.0;
1114 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
1115 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
1127 ///////////////////////////////////////////////////////////////////////////////
1129 group { name: "elm/popup/item/default";
1130 alias: "elm/popup/item/min_menustyle";
1132 public item_state = POPUP_ITEM_STATE_ENABLED;
1135 part { name: "event_blocker";
1137 description { state: "default" 0.0;
1145 description { state: "default" 0.0;
1146 color: GENLIST_LIST_BG_COLOR;
1147 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1150 description { state: "clicked" 0.0;
1151 color: GENLIST_LIST_PRESS_COLOR;
1154 part { name: "padding_left_top";
1157 description { state: "default" 0.0;
1159 rel2.relative: 0.0 0.0;
1160 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1164 part { name: "padding_right_bottom";
1167 description { state: "default" 0.0;
1169 rel1.relative: 1.0 1.0;
1170 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1174 part { name: "separator";
1178 description { state: "dafault" 0.0;
1179 color: GENLIST_LIST_LINE1_COLOR;
1185 part { name: "padding_icon_text";
1188 description { state: "default" 0.0; //when only icon or no icon is there
1192 to: "elm.swallow.content";
1194 rel2.to: "elm.swallow.content";
1198 description { state: "visible" 0.0; //when icon is visible
1199 inherit: "default" 0.0;
1200 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1202 description { state: "icononly" 0.0;
1203 inherit: "default" 0.0;
1206 part { name: "elm.swallow.content";
1209 description { state: "default" 0.0;
1214 to: "padding_left_top";
1218 to_x: "padding_left_top";
1219 to_y: "padding_right_bottom";
1223 description { state: "visible" 0.0;
1230 to: "padding_left_top";
1234 to_x: "padding_left_top";
1235 to_y: "padding_right_bottom";
1238 aspect_preference: VERTICAL;
1240 description { state: "icononly" 0.0;
1245 to: "padding_left_top";
1249 to: "padding_right_bottom";
1252 aspect_preference: VERTICAL;
1255 part { name: "elm.text";
1259 description { state: "default" 0.0;
1263 to_x: "padding_icon_text";
1264 to_y: "padding_left_top";
1268 to:"padding_right_bottom";
1271 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1275 font: "Tizen:style=Regular";
1276 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1277 text_class: "list_item";
1280 description { state: "visible" 0.0;
1281 inherit: "default" 0.0;
1284 description { state: "clicked" 0.0;
1285 inherit: "default" 0.0;
1287 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1289 description { state: "disabled" 0.0;
1290 inherit: "default" 0.0;
1291 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1293 description { state: "disabled_visible" 0.0;
1294 inherit: "default" 0.0;
1295 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1299 part { name: "over1";
1302 ignore_flags: ON_HOLD;
1303 description { state: "default" 0.0;
1307 part { name: "over2";
1310 description { state: "default" 0.0;
1314 part { name: "disclip";
1316 description { state: "default" 0.0;
1319 description { state: "disabled" 0.0;
1325 program { name: "item_unclick";
1326 signal: "mouse,clicked,1";
1328 action: SIGNAL_EMIT "elm,action,click" "";
1331 program { name: "touch_snd";
1332 action: PLAY_SAMPLE "touch_sound" 1.0;
1334 program { name: "disable";
1335 signal: "elm,state,item,disabled";
1337 action: STATE_SET "disabled" 0.0;
1339 after: "disable_text";
1341 program { name: "enable";
1342 signal: "elm,state,item,enabled";
1344 action: STATE_SET "default" 0.0;
1346 after: "enable_text";
1348 program { name: "item_click2";
1349 signal: "mouse,down,1";
1354 get_state(PART:"elm.text", st, 30, vl);
1355 if (!strcmp(st, "visible"))
1356 set_state(PART:"elm.text", "clicked", 0.0);
1357 set_state(PART:"bg", "clicked", 0.0);
1360 program { name: "item_unclick2";
1361 signal: "mouse,up,1";
1366 get_state(PART:"elm.text", st, 30, vl);
1367 if (!strcmp(st, "clicked"))
1368 set_state(PART:"elm.text", "visible", 0.0);
1369 set_state(PART:"bg", "default", 0.0);
1372 program { name: "disable_text";
1376 get_state(PART:"elm.text", st, 30, vl);
1377 if (!strcmp(st, "visible"))
1378 set_state(PART:"elm.text", "disabled_visible", 0.0);
1380 set_state(PART:"elm.text", "disabled", 0.0);
1381 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1384 program { name: "enable_text";
1388 get_state(PART:"elm.text", st, 30, vl);
1389 if (!strcmp(st, "disabled_visible"))
1390 set_state(PART:"elm.text", "visible", 0.0);
1392 set_state(PART:"elm.text", "default", 0.0);
1393 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1396 program { name: "text_show";
1397 signal: "elm,state,item,text,visible";
1402 get_state(PART:"elm.swallow.content", st, 30, vl);
1403 if (!strcmp(st, "icononly")) {
1404 set_state(PART:"elm.swallow.content", "visible", 0.0);
1405 set_state(PART:"padding_icon_text", "visible", 0.0);
1407 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1408 set_state(PART:"elm.text", "visible", 0.0);
1410 set_state(PART:"elm.text", "disabled_visible", 0.0);
1413 program { name: "text_hide";
1414 signal: "elm,state,item,text,hidden";
1419 get_state(PART:"elm.swallow.content", st, 30, vl);
1420 if (!strcmp(st, "visible")) {
1421 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1422 set_state(PART:"padding_icon_text", "icononly", 0.0);
1424 set_state(PART:"elm.text", "default", 0.0);
1427 program { name: "icon_show";
1428 signal: "elm,state,item,icon,visible";
1433 get_state(PART:"elm.text", st, 30, vl);
1434 if (!strcmp(st, "visible")) {
1435 set_state(PART:"elm.swallow.content", "visible", 0.0);
1436 set_state(PART:"padding_icon_text", "visible", 0.0);
1439 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1440 set_state(PART:"padding_icon_text", "icononly", 0.0);
1444 program { name: "icon_hide";
1445 signal: "elm,state,item,icon,hidden";
1447 action: STATE_SET "default" 0.0;
1448 target: "elm.swallow.content";
1453 /////////////////////////////////////////////////////////////////////////////////////////
1454 group { name: "elm/popup/item/landscape/default";
1455 inherit: "elm/popup/item/default";
1461 description { state: "default" 0.0;
1462 color: GENLIST_LIST_BG_COLOR;
1463 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1466 description { state: "clicked" 0.0;
1467 color: GENLIST_LIST_PRESS_COLOR;
1473 ////////////////////////////////////////////////////////////////////////////////////////
1474 group { name: "elm/label/base/popup/verticalbuttonstyle";
1477 style { name: "popup_desc_style_center";
1478 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";
1481 tag: "whitecolor" "+ color=#ffffff";
1486 part { name: "elm.text";
1490 description { state: "default" 0.0;
1492 style: "popup_desc_style_center";
1502 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1503 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1504 data.item: "action_area_height" POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT;
1509 description { state: "default" 0.0;
1510 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
1514 part { name: "elm.rect.pad_btn_top";
1517 description { state: "default" 0.0;
1518 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1529 part { name:"actionbtn1";
1532 description { state: "default" 0.0;
1533 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1534 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1538 relative: 0.0 1.0; to_y: "elm.rect.pad_btn_top";
1542 part { name: "elm.rect.pad_btn";
1545 description { state: "default" 0.0;
1546 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1547 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1551 relative: 0.0 1.0; to: "actionbtn1";
1554 relative: 1.0 1.0; to: "actionbtn1";
1558 part { name:"actionbtn2";
1561 description { state: "default" 0.0;
1562 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1563 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1566 rel1 { relative: 0 1.0; to_y: "elm.rect.pad_btn"; }
1569 part { name: "elm.rect.pad_btn2";
1572 description { state: "default" 0.0;
1573 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1574 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1578 relative: 0.0 1.0; to: "actionbtn2";
1581 relative: 1.0 1.0; to: "actionbtn2";
1585 part { name:"actionbtn3";
1588 description { state: "default" 0.0;
1589 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1590 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1594 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1601 group { name: "elm/popup/content/menustyle";
1602 alias: "elm/popup/content/menustyle_transparent";
1604 part { name: "left_padding";
1607 description { state: "default" 0.0;
1610 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1619 part{ name:"elm.swallow.content";
1622 description { state: "default" 0.0;
1623 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1624 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1637 part { name: "right_padding";
1640 description { state: "default" 0.0;
1643 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1655 group { name: "elm/popup/content/min_menustyle";
1656 alias: "elm/popup/content/min_menustyle_transparent";
1658 part { name: "left_padding";
1661 description { state: "default" 0.0;
1664 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1673 part{ name:"elm.swallow.content";
1676 description { state: "default" 0.0;
1677 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1690 part { name: "right_padding";
1693 description { state: "default" 0.0;
1696 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1708 group { name: "elm/popup/content/liststyle";
1709 alias: "elm/popup/content/liststyle_transparent";
1711 part { name: "left_top_padding";
1714 description { state: "default" 0.0;
1717 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1718 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1721 part{ name:"elm.swallow.content";
1724 description { state: "default" 0.0;
1725 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1726 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1731 to:"left_top_padding";
1739 part { name: "right_padding";
1742 description { state: "default" 0.0;
1745 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1757 group { name: "elm/popup/content/min_liststyle";
1758 alias: "elm/popup/content/min_liststyle_transparent";
1760 part { name: "left_top_padding";
1763 description { state: "default" 0.0;
1766 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1767 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1770 part{ name:"elm.swallow.content";
1773 description { state: "default" 0.0;
1774 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1779 to:"left_top_padding";
1787 part { name: "right_padding";
1790 description { state: "default" 0.0;
1793 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1805 group { name: "elm/popup/buttons1/default";
1806 alias: "elm/popup/buttons1/transparent";
1807 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1809 part{ name:"actionbtn1";
1812 description { state: "default" 0.0;
1813 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1814 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1816 rel1.relative: 0.5 0.0;
1817 rel2.relative: 0.5 1.0;
1823 group { name: "elm/popup/buttons2/default";
1824 alias: "elm/popup/buttons2/transparent";
1825 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1827 part { name: "left_pad_btn";
1830 description { state: "default" 0.0;
1831 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1832 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1835 rel1.relative: 0.0 0.0;
1838 part { name: "right_pad_btn";
1841 description { state: "default" 0.0;
1842 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1843 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1846 rel2.relative: 1.0 1.0;
1849 part { name:"actionbtn1";
1852 description { state: "default" 0.0;
1861 to: "elm.rect.pad_btn";
1865 part { name: "elm.rect.pad_btn";
1868 description { state: "default" 0.0;
1869 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1870 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1872 rel1.relative: 0.5 0.0;
1873 rel2.relative: 0.5 1.0;
1876 part { name:"actionbtn2";
1879 description { state: "default" 0.0;
1884 to: "elm.rect.pad_btn";
1888 to: "right_pad_btn";
1895 group { name: "elm/popup/buttons3/default";
1896 alias: "elm/popup/buttons3/menustyle";
1897 alias: "elm/popup/buttons3/transparent";
1898 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1900 part { name: "left_pad_btn";
1903 description { state: "default" 0.0;
1904 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1905 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1908 rel1.relative: 0.0 0.0;
1911 part { name: "right_pad_btn";
1914 description { state: "default" 0.0;
1915 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1916 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1919 rel2.relative: 1.0 1.0;
1922 part { name: "btn_area";
1925 description { state: "default" 0.0;
1933 to: "right_pad_btn";
1937 part{ name:"actionbtn1";
1940 description { state: "default" 0.0;
1949 to: "elm.rect.pad_btn";
1953 part { name: "elm.rect.pad_btn";
1956 description { state: "default" 0.0;
1957 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1958 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1960 rel1.relative: 0.33 0.0;
1961 rel1.to: "btn_area";
1962 rel2.relative: 0.33 1.0;
1963 rel2.to: "btn_area";
1966 part{ name:"actionbtn2";
1969 description { state: "default" 0.0;
1973 to: "elm.rect.pad_btn";
1977 to: "elm.rect.pad_btn2";
1981 part { name: "elm.rect.pad_btn2";
1984 description { state: "default" 0.0;
1985 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1986 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1988 rel1.relative: 0.67 0.0;
1989 rel1.to: "btn_area";
1990 rel2.relative: 0.67 1.0;
1991 rel2.to: "btn_area";
1994 part{ name:"actionbtn3";
1997 description { state: "default" 0.0;
2002 to: "elm.rect.pad_btn2";
2006 to: "right_pad_btn";
2013 group { name: "elm/popup/base/volumebarstyle";
2014 inherit: "elm/popup/base/default";
2015 alias: "elm/popup/base/volumebarstyle_transparent";
2017 image: "00_popup_bg.png" COMP;
2020 part { name: "elm.swallow.content";
2023 description { state: "default" 0.0;
2024 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
2029 to_y: "shadow_left_top_padding";
2034 to_y: "shadow_right_bottom_padding";
2037 description { state: "show_title_area" 0.0;
2038 inherit: "default" 0.0;
2042 to_y: "elm.bg.title";
2047 to_y: "shadow_right_bottom_padding";
2050 description { state: "show_action_area" 0.0;
2051 inherit: "default" 0.0;
2055 to_y: "shadow_left_top_padding";
2060 to_y: "elm.swallow.action_area";
2063 description { state: "show_action_title_area" 0.0;
2064 inherit: "default" 0.0;
2068 to_y: "elm.bg.title";
2073 to_y: "elm.swallow.action_area";
2080 group { name: "elm/popup/base/volumebarstyle_text";
2081 alias: "elm/popup/base/volumebarstyle_text_transparent";
2082 inherit: "elm/popup/base/volumebarstyle";
2084 part { name: "elm.swallow.content";
2087 description { state: "default" 0.0;
2088 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
2093 to_y: "shadow_left_top_padding";
2098 to_y: "shadow_right_bottom_padding";
2101 description { state: "show_title_area" 0.0;
2102 inherit: "default" 0.0;
2106 to_y: "elm.bg.title";
2111 to_y: "shadow_right_bottom_padding";
2114 description { state: "show_action_area" 0.0;
2115 inherit: "default" 0.0;
2119 to_y: "shadow_left_top_padding";
2124 to_y: "elm.swallow.action_area";
2127 description { state: "show_action_title_area" 0.0;
2128 inherit: "default" 0.0;
2132 to_y: "elm.bg.title";
2137 to_y: "elm.swallow.action_area";
2144 group { name: "elm/popup/base/content_expand";
2145 alias: "elm/popup/base/content_expand_transparent";
2147 image: "00_popup_bg.png" COMP;
2151 name: "shadow_right_bottom_padding";
2154 description { state: "default" 0.0;
2155 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2156 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2161 part { name: "base";
2164 description { state: "default" 0.0;
2165 rel1.to_x: "elm.swallow.content";
2166 rel2.to_x: "elm.bg.action_area";
2168 normal: "00_popup_bg.png";
2169 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2176 part { name: "access.base";
2178 description { state: "default" 0.0;
2185 part { name: "elm.bg.title";
2188 description { state: "default" 0.0;
2189 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2200 description { state: "visible" 0.0;
2201 inherit: "default" 0.0;
2205 part { name: "left_pad";
2208 description { state: "default" 0.0;
2209 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2210 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2213 rel1.to: "elm.bg.title";
2216 part { name: "right_pad";
2219 description { state: "default" 0.0;
2220 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2221 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2224 rel2.to: "elm.bg.title";
2227 part { name: "elm.swallow.title.icon";
2230 description { state: "default" 0.0;
2231 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2232 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2245 description { state: "visible" 0.0;
2246 inherit: "default" 0.0;
2250 part { name: "elm.text.title";
2253 description { state: "default" 0.0;
2255 style: "popup_title_style";
2256 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2257 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2272 description { state: "visible" 0.0;
2273 inherit: "default" 0.0;
2277 part { name: "elm.swallow.content";
2280 description { state: "default" 0.0;
2281 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2282 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2283 rel1.relative: 0.5 0.0;
2284 rel2.relative: 0.5 1.0;
2286 description { state: "show_title_area" 0.0;
2287 inherit: "default" 0.0;
2290 to_y: "elm.bg.title";
2293 description { state: "show_action_area" 0.0;
2294 inherit: "default" 0.0;
2297 to_y: "elm.bg.action_area";
2300 description { state: "show_action_title_area" 0.0;
2301 inherit: "default" 0.0;
2304 to_y: "elm.bg.title";
2308 to_y: "elm.bg.action_area";
2312 part { name: "elm.bg.action_area";
2315 description { state: "default" 0.0;
2316 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2322 to_y: "shadow_right_bottom_padding";
2326 to_y: "shadow_right_bottom_padding";
2330 description { state: "visible" 0.0;
2331 inherit: "default" 0.0;
2335 part { name: "elm.swallow.action_area";
2338 description { state: "default" 0.0;
2339 rel1.to: "elm.bg.action_area";
2340 rel2.to: "elm.bg.action_area";
2345 program { name: show_title_icon;
2346 signal: "elm,state,title,icon,visible";
2348 action: STATE_SET "visible" 0.0;
2349 target: "elm.swallow.title.icon";
2351 program { name: hide_title_icon;
2352 signal: "elm,state,title,icon,hidden";
2354 action: STATE_SET "default" 0.0;
2355 target: "elm.swallow.title.icon";
2357 program { name: show_title_text;
2358 signal: "elm,state,title,text,visible";
2360 action: STATE_SET "visible" 0.0;
2361 target: "elm.text.title";
2363 program { name: hide_title_text;
2364 signal: "elm,state,title,text,hidden";
2366 action: STATE_SET "default" 0.0;
2367 target: "elm.text.title";
2369 program { name: show_title_area;
2370 signal: "elm,state,title_area,visible";
2375 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2376 if (!strcmp(st, "visible"))
2377 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2379 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2380 set_state(PART:"elm.bg.title", "visible", 0.0);
2383 program { name: hide_title_area;
2384 signal: "elm,state,title_area,hidden";
2386 action: STATE_SET "default" 0.0;
2390 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2391 if (!strcmp(st, "visible"))
2392 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2394 set_state(PART:"elm.swallow.content", "default", 0.0);
2395 set_state(PART:"elm.bg.title", "default", 0.0);
2398 program { name: show_action_area;
2399 signal: "elm,state,action_area,visible";
2404 get_state(PART:"elm.bg.title", st, 30, vl);
2405 if (!strcmp(st, "visible"))
2406 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2408 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2409 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2412 program { name: hide_action_area;
2413 signal: "elm,state,action_area,hidden";
2415 action: STATE_SET "default" 0.0;
2419 get_state(PART:"elm.bg.title", st, 30, vl);
2420 if (!strcmp(st, "visible"))
2421 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2423 set_state(PART:"elm.swallow.content", "default", 0.0);
2424 set_state(PART:"elm.bg.action_area", "default", 0.0);
2430 group { name: "elm/popup/buttons1/content_expand";
2431 alias: "elm/popup/buttons1/content_expand_transparent";
2432 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2434 part{ name:"actionbtn1";
2437 description { state: "default" 0.0;
2438 rel1.relative: 0.2 0.1;
2439 rel2.relative: 0.8 0.9;
2445 group { name: "elm/popup/buttons2/content_expand";
2446 alias: "elm/popup/buttons2/content_expand_transparent";
2447 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2449 part{ name:"actionbtn1";
2452 description { state: "default" 0.0;
2454 rel1.relative: 0.1 0.1;
2455 rel2.relative: 0.45 0.9;
2458 part{ name:"actionbtn2";
2461 description { state: "default" 0.0;
2463 rel1.relative: 0.55 0.1;
2464 rel2.relative: 0.9 0.9;
2470 group { name: "elm/popup/buttons3/content_expand";
2471 alias: "elm/popup/buttons3/content_expand_transparent";
2472 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2474 part{ name:"actionbtn1";
2477 description { state: "default" 0.0;
2479 rel1.relative: 0.05 0.1;
2480 rel2.relative: 0.3 0.9;
2483 part{ name:"actionbtn2";
2486 description { state: "default" 0.0;
2488 rel1.relative: 0.375 0.1;
2489 rel2.relative: 0.625 0.9;
2492 part{ name:"actionbtn3";
2495 description { state: "default" 0.0;
2497 rel1.relative: 0.7 0.1;
2498 rel2.relative: 0.95 0.9;
2504 group { name: "elm/popup/item/content_expand";
2505 alias: "elm/popup/item/content_expand_transparent";
2506 inherit: "elm/popup/item/default";
2511 description { state: "default" 0.0;
2512 color: 240 240 240 255;
2516 description { state: "clicked" 0.0;
2517 color: 190 170 150 255;
2523 group { name: "elm/popup/content/content_expand";
2524 alias: "elm/popup/content/content_expand_transparent";
2526 part{ name:"elm.swallow.content";
2529 description { state: "default" 0.0;
2535 #undef POPUP_ITEM_STATE_ENABLED
2536 #undef POPUP_ITEM_STATE_DISABLED