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";
34 alias: "elm/notify/center/content_no_vhpad";
35 alias: "elm/notify/center/dimrect";
36 alias: "elm/notify/center/indicator_norepeatevent";
41 description { state: "default" 0.0;
43 rel1.relative: 0.0 0.0;
44 rel2.relative: 1.0 1.0;
49 description { state: "default" 0.0;
61 part { name: "persp1";
63 description { state: "default" 0.0;
75 part { name: "elm.swallow.content";
79 description { state: "default" 0.0;
86 color[0]: 248 246 239 0;
87 color[1]: 248 246 239 0;
88 color[2]: 248 246 239 0;
89 color[3]: 248 246 239 0;
92 description { state: "visible" 0.0;
97 perspective: "persp1";
101 description { state: "end" 0.0;
110 part { name: "clipper";
113 description { state: "default" 0.0;
123 program { name: "show";
124 signal: "elm,action,show";
126 action: STATE_SET "default" 0.0;
127 target: "elm.swallow.content";
129 program { name: "show_1";
131 action: STATE_SET "default" 0.0;
132 target: "elm.swallow.content";
136 program { name: "end";
137 action: STATE_SET "visible" 0.0;
138 target: "elm.swallow.content";
139 transition: SIN_FAC 0.33 1.4;
142 program { name: "end2";
143 action: STATE_SET "end" 0.0;
144 target: "elm.swallow.content";
146 program { name: "hide";
147 signal: "elm,action,hide";
149 action: STATE_SET "default" 0.0;
150 target: "elm.swallow.content";
155 group { name: "elm/notify/center/transparent";
156 inherit: "elm/notify/center/popup";
157 alias: "elm/notify/center/verticalbuttonstyle_transparent";
158 alias: "elm/notify/center/menustyle_transparent";
159 alias: "elm/notify/center/min_menustyle_transparent";
160 alias: "elm/notify/center/liststyle_transparent";
161 alias: "elm/notify/center/min_liststyle_transparent";
162 alias: "elm/notify/center/customstyle_transparent";
163 alias: "elm/notify/center/volumebarstyle_transparent";
164 alias: "elm/notify/center/volumebarstyle_text_transparent";
165 alias: "elm/notify/center/content_expand_transparent";
167 part { name: "elm.swallow.content";
170 description { state: "default" 0.0;
173 description { state: "visible" 0.0;
176 description { state: "end" 0.0;
183 group { name: "elm/notify/block_events/popup";
184 alias: "elm/notify/block_events/verticalbuttonstyle";
185 alias: "elm/notify/block_events/menustyle";
186 alias: "elm/notify/block_events/min_menustyle";
187 alias: "elm/notify/block_events/liststyle";
188 alias: "elm/notify/block_events/min_liststyle";
189 alias: "elm/notify/block_events/customstyle";
190 alias: "elm/notify/block_events/volumebarstyle";
191 alias: "elm/notify/block_events/volumebarstyle_text";
192 alias: "elm/notify/block_events/content_expand";
193 alias: "elm/notify/block_events/content_no_vhpad";
195 part {name: "popup_indicator";
199 description { state: "default" 0.0;
202 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
203 rel2.relative: 1.0 0.0;
204 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
206 description { state: "show" 0.0;
207 inherit: "default" 0.0;
208 color: POPUP_DIM_BG_COLOR_INC;
210 description { state: "clicked" 0.0;
211 inherit: "default" 0.0;
212 color: POPUP_DIM_BG_COLOR_INC;
215 part { name: "block_events_color";
218 description { state: "default" 0.0;
221 to: "popup_indicator";
223 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
225 description { state: "show" 0.0;
226 inherit: "default" 0.0;
227 color: POPUP_DIM_BG_COLOR_INC;
229 description { state: "clicked" 0.0;
230 inherit: "default" 0.0;
231 color: POPUP_DIM_BG_COLOR_INC;
236 program { name: "show";
237 signal: "elm,action,show";
239 action: STATE_SET "default" 0.0;
240 target: "block_events_color";
241 target: "popup_indicator";
243 program { name: "show1";
245 action: STATE_SET "show" 0.0;
246 transition: SIN_FAC 0.33 0.5;
247 target: "block_events_color";
248 target: "popup_indicator";
250 program { name: "block_clicked";
251 signal: "mouse,clicked,1";
252 source: "block_events_color";
253 action: SIGNAL_EMIT "elm,action,click" "elm";
254 after: "deeper_block_color";
256 program { name: "indicator_clicked";
257 signal: "mouse,clicked,1";
258 source: "popup_indicator";
259 action: SIGNAL_EMIT "elm,action,click" "elm";
260 after: "deeper_block_color";
263 name: "deeper_block_color";
264 action: STATE_SET "clicked" 0.0;
265 target: "block_events_color";
266 target: "popup_indicator";
267 transition: LINEAR 0.2;
268 after: "default_block_color";
271 name: "default_block_color";
272 action: STATE_SET "show" 0.0;
273 target: "block_events_color";
274 target: "popup_indicator";
275 transition: LINEAR 0.2;
280 group { name: "elm/notify/block_events/indicator_norepeatevent";
281 inherit: "elm/notify/block_events/popup";
283 part { name: "popup_indicator";
287 description { state: "default" 0.0;
290 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
291 rel2.relative: 1.0 0.0;
292 color: POPUP_DIM_BG_DEFAULT_COLOR_INC;
294 description { state: "show" 0.0;
295 inherit: "default" 0.0;
296 color: POPUP_DIM_BG_COLOR_INC;
298 description { state: "clicked" 0.0;
299 inherit: "default" 0.0;
300 color: POPUP_DIM_BG_COLOR_INC;
306 group { name: "elm/notify/block_events/transparent";
307 alias: "elm/notify/block_events/verticalbuttonstyle_transparent";
308 alias: "elm/notify/block_events/menustyle_transparent";
309 alias: "elm/notify/block_events/min_menustyle_transparent";
310 alias: "elm/notify/block_events/liststyle_transparent";
311 alias: "elm/notify/block_events/min_liststyle_transparent";
312 alias: "elm/notify/block_events/customstyle_transparent";
313 alias: "elm/notify/block_events/volumebarstyle_transparent";
314 alias: "elm/notify/block_events/volumebarstyle_text_transparent";
315 alias: "elm/notify/block_events/content_expand_transparent";
317 part {name: "popup_indicator";
321 description { state: "default" 0.0;
324 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
325 rel2.relative: 1.0 0.0;
326 color: POPUP_DIM_BG_TRANS_COLOR_INC;
329 part { name: "block_events";
331 description { state: "default" 0.0;
334 to: "popup_indicator";
336 color: POPUP_DIM_BG_TRANS_COLOR_INC;
342 group { name: "elm/notify/block_events/indicator_norepeatevent_transparent";
343 inherit: "elm/notify/block_events/transparent";
345 part {name: "popup_indicator";
349 description { state: "default" 0.0;
352 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
353 rel2.relative: 1.0 0.0;
354 color: POPUP_DIM_BG_TRANS_COLOR_INC;
360 group { name: "elm/notify/block_events/dimrect";
361 inherit: "elm/notify/block_events/transparent";
363 part {name: "popup_indicator";
367 description { state: "default" 0.0;
370 min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
371 rel2.relative: 1.0 0.0;
372 color: POPUP_DIM_BG_COLOR_INC;
375 part { name: "block_events";
377 description { state: "default" 0.0;
380 to: "popup_indicator";
382 color: POPUP_DIM_BG_COLOR_INC;
388 group { name: "elm/label/base/popup/default";
389 alias: "elm/label/base/popup/content_expand";
390 alias: "elm/label/base/popup/transparent";
392 style { name: "popup_desc_style";
393 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";
396 tag: "whitecolor" "+ color=#ffffff";
401 part { name: "elm.text";
405 description { state: "default" 0.0;
406 min: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_W POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_H;
407 max: POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_W POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC_H;
409 style: "popup_desc_style";
417 group { name: "elm/popup/base/default";
418 alias: "elm/popup/base/transparent";
419 alias: "elm/popup/base/customstyle";
420 alias: "elm/popup/base/customstyle_transparent";
421 alias: "elm/popup/base/liststyle";
422 alias: "elm/popup/base/menustyle";
423 alias: "elm/popup/base/indicator_norepeatevent";
425 image: "00_popup_bg.png" COMP;
426 image: "00_popup_button_bg.png" COMP;
427 image: "00_popup_title_bg.png" COMP;
430 style { name: "popup_title_style";
431 base: "font=Tizen:style=Bold 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";
438 name:"shadow_left_top_padding";
441 description { state: "default" 0.0;
442 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
443 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
449 name:"shadow_right_bottom_padding";
452 description { state: "default" 0.0;
453 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
454 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
461 description { state: "default" 0.0;
462 min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
463 max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
465 normal: "00_popup_bg.png";
466 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
471 description { state: "landscape" 0.0;
472 inherit: "default" 0.0;
473 min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
474 max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
477 part { name: "elm.bg.title";
479 description { state: "default" 0.0;
480 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
481 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
486 normal: "00_popup_title_bg.png";
487 border: POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC;
492 to: "shadow_left_top_padding";
496 to_x: "shadow_right_bottom_padding";
497 to_y: "shadow_left_top_padding";
501 description { state: "visible" 0.0;
502 inherit: "default" 0.0;
505 description { state: "landscape" 0.0;
506 inherit: "default" 0.0;
507 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
508 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
510 description { state: "landscape_visible" 0.0;
511 inherit: "landscape" 0.0;
515 part { name: "action_top_padding";
518 description { state: "default" 0.0;
519 min: 0 POPUP_ACTION_DESC_TOP_PADDING;
520 max: 0 POPUP_ACTION_DESC_TOP_PADDING;
525 to_y: "shadow_left_top_padding";
529 to_y: "shadow_left_top_padding";
533 part { name: "label_top_padding";
536 description { state: "default" 0.0;
543 to_y: "shadow_left_top_padding";
547 to_y: "shadow_left_top_padding";
551 part { name: "label_bottom_padding";
554 description { state: "default" 0.0;
561 to_y: "shadow_right_bottom_padding";
565 to_y: "shadow_right_bottom_padding";
569 part { name: "title_left_top_padding";
572 description { state: "default" 0.0;
574 rel1.to: "elm.bg.title";
576 min: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
577 max: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
580 part { name: "title_right_bottom_padding";
583 description { state: "default" 0.0;
585 rel2.to: "elm.bg.title";
587 min: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
588 max: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
591 part { name: "icon_rect";
594 description { state: "default" 0.0;
599 to: "title_left_top_padding";
603 to_x: "title_left_top_padding";
604 to_y: "elm.bg.title";
608 description { state: "visible" 0.0;
609 inherit: "default" 0.0;
610 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
611 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
614 part { name: "padding_after_icon";
617 description { state: "default" 0.0;
629 description { state: "visible" 0.0;
630 inherit: "default" 0.0;
631 min: POPUP_TITLE_ICON_TEXT_PADDING_INC;
634 part { name: "elm.swallow.title.icon";
637 description { state: "default" 0.0;
638 rel1.to: "icon_rect";
639 rel2.to: "icon_rect";
642 part { name: "elm.text.title";
645 description { state: "default" 0.0;
648 style: "popup_title_style";
649 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
650 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
657 to: "padding_after_icon";
661 to: "title_right_bottom_padding";
666 part { name: "access.title";
669 description { state: "default" 0.0;
670 min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
671 max: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
675 to_x: "shadow_left_top_padding";
676 to_y: "elm.bg.title";
680 to_x: "shadow_right_bottom_padding";
681 to_y: "elm.bg.title";
685 description { state: "landscape" 0.0;
687 min: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
688 max: POPUP_BASE_DEFAULT_TITLE_LANDSCAPE_MIN_INC;
691 part { name: "elm.swallow.content";
694 description { state: "default" 0.0;
695 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
696 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
701 to_y: "label_top_padding";
706 to_y: "label_bottom_padding";
709 description { state: "show_title_area" 0.0;
710 inherit: "default" 0.0;
714 to_y: "elm.bg.title";
719 to_y: "shadow_right_bottom_padding";
722 description { state: "show_action_area" 0.0;
723 inherit: "default" 0.0;
727 to_y: "action_top_padding";
732 to_y: "elm.swallow.action_area";
735 description { state: "show_action_title_area" 0.0;
736 inherit: "default" 0.0;
740 to_y: "elm.bg.title";
745 to_y: "elm.swallow.action_area";
749 part { name: "access.body";
752 description { state: "default" 0.0;
756 to_x: "shadow_left_top_padding";
757 to_y: "elm.swallow.content";
761 to_x: "shadow_right_bottom_padding";
762 to_y: "elm.swallow.content";
767 part { name: "access.base";
770 description { state: "default" 0.0;
777 part { name: "left_part";
780 description { state: "default" 0.0;
781 min: POPUP_DESC_LEFT_PADDING 0;
791 part { name: "right_part";
794 description { state: "default" 0.0;
795 min: POPUP_DESC_RIGHT_PADDING 0;
805 part { name: "elm.bg.action_area";
807 description { state: "default" 0.0;
808 min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
813 normal: "00_popup_button_bg.png";
814 border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC;
826 description { state: "visible" 0.0;
827 inherit: "default" 0.0;
831 part { name: "elm.swallow.action_area";
834 description { state: "default" 0.0;
837 rel1.to: "elm.bg.action_area";
838 rel2.to: "elm.bg.action_area";
843 program { name: show_title_icon;
844 signal: "elm,state,title,icon,visible";
846 action: STATE_SET "visible" 0.0;
848 target: "padding_after_icon";
850 program { name: hide_title_icon;
851 signal: "elm,state,title,icon,hidden";
853 action: STATE_SET "default" 0.0;
854 target: "padding_after_icon";
857 program { name: show_title_area;
858 signal: "elm,state,title_area,visible";
863 get_state(PART:"elm.swallow.action_area", st, 30, vl);
864 if (!strcmp(st, "visible"))
865 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
867 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
868 get_state(PART:"base", st, 30, vl);
869 if (!strcmp(st, "landscape"))
870 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
872 set_state(PART:"elm.bg.title", "visible", 0.0);
875 program { name: hide_title_area;
876 signal: "elm,state,title_area,hidden";
878 action: STATE_SET "default" 0.0;
882 get_state(PART:"elm.swallow.action_area", st, 30, vl);
883 if (!strcmp(st, "visible"))
884 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
886 set_state(PART:"elm.swallow.content", "default", 0.0);
887 get_state(PART:"base", st, 30, vl);
888 if (!strcmp(st, "landscape"))
889 set_state(PART:"elm.bg.title", "landscape", 0.0);
891 set_state(PART:"elm.bg.title", "default", 0.0);
894 program { name: show_action_area;
895 signal: "elm,state,action_area,visible";
900 get_state(PART:"elm.bg.title", st, 30, vl);
901 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
902 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
904 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
905 set_state(PART:"elm.bg.action_area", "visible", 0.0);
908 program { name: hide_action_area;
909 signal: "elm,state,action_area,hidden";
911 action: STATE_SET "default" 0.0;
915 get_state(PART:"elm.bg.title", st, 30, vl);
916 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
917 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
919 set_state(PART:"elm.swallow.content", "default", 0.0);
920 set_state(PART:"elm.bg.action_area", "default", 0.0);
923 program { name: "change_to_landscape";
924 signal: "elm,state,landscape";
929 set_state(PART:"base", "landscape", 0.0);
930 get_state(PART:"elm.bg.title", st, 30, vl);
931 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
932 set_state(PART:"elm.bg.title", "landscape_visible", 0.0);
934 set_state(PART:"elm.bg.title", "landscape", 0.0);
936 after: "orientation_change";
938 program { name: "orientation_change";
939 action: SIGNAL_EMIT "elm,state,orientation,changed" "";
941 program { name: "change_to_portrait";
942 signal: "elm,state,portrait";
947 set_state(PART:"base", "default", 0.0);
948 get_state(PART:"elm.bg.title", st, 30, vl);
949 if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
950 set_state(PART:"elm.bg.title", "visible", 0.0);
952 set_state(PART:"elm.bg.title", "default", 0.0);
954 after: "orientation_change";
956 program { name: "landscape_mode";
958 signal: "elm,state,orient,90";
959 action: SIGNAL_EMIT "elm,state,landscape" "elm";
961 program { name: "landscape_mode2";
963 signal: "elm,state,orient,270";
964 action: SIGNAL_EMIT "elm,state,landscape" "elm";
966 program { name: "portrait_mode";
968 signal: "elm,state,orient,0";
969 action: SIGNAL_EMIT "elm,state,portrait" "elm";
971 program { name: "portrait_mode2";
973 signal: "elm,state,orient,180";
974 action: SIGNAL_EMIT "elm,state,portrait" "elm";
976 } /* end of programs */
979 group { name: "elm/popup/base/verticalbuttonstyle";
980 alias: "elm/popup/base/verticalbuttonstyle_transparent";
981 inherit: "elm/popup/base/default";
983 part { name: "elm.swallow.action_area";
986 description { state: "default" 0.0;
989 min: POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC;
993 to_y: "shadow_right_bottom_padding";
998 to_y: "shadow_right_bottom_padding";
1006 group { name: "elm/popup/base/content_no_vhpad";
1007 inherit: "elm/popup/base/default";
1008 alias: "elm/popup/base/min_menustyle";
1010 part { name: "label_top_padding";
1013 description { state: "default" 0.0;
1020 to_y: "shadow_left_top_padding";
1024 to_y: "shadow_left_top_padding";
1028 part { name: "label_bottom_padding";
1031 description { state: "default" 0.0;
1038 to_y: "shadow_right_bottom_padding";
1042 to_y: "shadow_right_bottom_padding";
1049 group { name: "elm/popup/content/default";
1050 alias: "elm/popup/content/transparent";
1051 alias: "elm/popup/content/customstyle";
1052 alias: "elm/popup/content/customstyle_transparent";
1053 alias: "elm/popup/content/indicator_norepeatevent";
1055 part { name: "pad_t";
1059 description { state: "default" 0.0;
1061 min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1062 max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
1074 part { name: "pad_l";
1077 description { state: "default" 0.0;
1078 min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1079 max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
1081 rel2.relative: 0.0 1.0;
1085 part { name: "pad_r";
1088 description { state: "default" 0.0;
1089 min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1090 max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
1092 rel1.relative: 1.0 0.0;
1096 part { name:"elm.swallow.content";
1099 description { state: "default" 0.0;
1113 part { name: "pad_b";
1116 description { state: "default" 0.0;
1118 min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1119 max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
1131 group { name: "elm/popup/content/content_no_vhpad";
1132 inherit: "elm/popup/content/default";
1133 alias: "elm/popup/content/min_menustyle";
1135 part { name: "pad_t";
1139 description { state: "default" 0.0;
1154 part { name: "pad_l";
1157 description { state: "default" 0.0;
1158 min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1159 max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
1161 rel2.relative: 0.0 1.0;
1165 part { name: "pad_r";
1168 description { state: "default" 0.0;
1169 min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1170 max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
1172 rel1.relative: 1.0 0.0;
1176 part { name: "pad_b";
1179 description { state: "default" 0.0;
1191 part { name:"elm.swallow.content";
1194 description { state: "default" 0.0;
1211 ///////////////////////////////////////////////////////////////////////////////
1213 group { name: "elm/popup/item/default";
1214 alias: "elm/popup/item/min_menustyle";
1216 public item_state = POPUP_ITEM_STATE_ENABLED;
1219 part { name: "event_blocker";
1221 description { state: "default" 0.0;
1229 description { state: "default" 0.0;
1230 color: GENLIST_LIST_BG_COLOR;
1231 min: POPUP_ITEM_BG_DEFAULT_MIN_INC;
1234 description { state: "clicked" 0.0;
1235 color: GENLIST_LIST_PRESS_COLOR;
1238 part { name: "padding_left_top";
1241 description { state: "default" 0.0;
1243 rel2.relative: 0.0 0.0;
1244 min: POPUP_ITEM_LEFT_MIN_PADDING_INC;
1248 part { name: "padding_right_bottom";
1251 description { state: "default" 0.0;
1253 rel1.relative: 1.0 1.0;
1254 min: POPUP_ITEM_RIGHT_MIN_PADDING_INC;
1258 part { name: "separator";
1262 description { state: "dafault" 0.0;
1263 color: GENLIST_LIST_LINE1_COLOR;
1269 part { name: "padding_icon_text";
1272 description { state: "default" 0.0; //when only icon or no icon is there
1276 to: "elm.swallow.content";
1278 rel2.to: "elm.swallow.content";
1282 description { state: "visible" 0.0; //when icon is visible
1283 inherit: "default" 0.0;
1284 min: POPUP_ITEM_ICON_TEXT_PADDING_INC;
1286 description { state: "icononly" 0.0;
1287 inherit: "default" 0.0;
1290 part { name: "elm.swallow.content";
1293 description { state: "default" 0.0;
1298 to: "padding_left_top";
1302 to_x: "padding_left_top";
1303 to_y: "padding_right_bottom";
1307 description { state: "visible" 0.0;
1314 to: "padding_left_top";
1318 to_x: "padding_left_top";
1319 to_y: "padding_right_bottom";
1322 aspect_preference: VERTICAL;
1324 description { state: "icononly" 0.0;
1329 to: "padding_left_top";
1333 to: "padding_right_bottom";
1336 aspect_preference: VERTICAL;
1339 part { name: "elm.text";
1343 description { state: "default" 0.0;
1347 to_x: "padding_icon_text";
1348 to_y: "padding_left_top";
1352 to:"padding_right_bottom";
1355 color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1359 font: "Tizen:style=Regular";
1360 size: GENLIST_LIST_MAIN_TEXT_SIZE;
1361 text_class: "list_item";
1364 description { state: "visible" 0.0;
1365 inherit: "default" 0.0;
1368 description { state: "clicked" 0.0;
1369 inherit: "default" 0.0;
1371 color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1373 description { state: "disabled" 0.0;
1374 inherit: "default" 0.0;
1375 color: POPUP_ITEM_TEXT_DISABLED_COLOR_INC;
1377 description { state: "disabled_visible" 0.0;
1378 inherit: "default" 0.0;
1379 color: POPUP_ITEM_TEXT_DISABLED_VISIBLE_COLOR_INC;
1383 part { name: "over1";
1386 ignore_flags: ON_HOLD;
1387 description { state: "default" 0.0;
1391 part { name: "over2";
1394 description { state: "default" 0.0;
1398 part { name: "disclip";
1400 description { state: "default" 0.0;
1403 description { state: "disabled" 0.0;
1409 program { name: "item_unclick";
1410 signal: "mouse,clicked,1";
1412 action: SIGNAL_EMIT "elm,action,click" "";
1415 program { name: "touch_snd";
1416 action: PLAY_SAMPLE "touch_sound" 1.0;
1418 program { name: "disable";
1419 signal: "elm,state,item,disabled";
1421 action: STATE_SET "disabled" 0.0;
1423 after: "disable_text";
1425 program { name: "enable";
1426 signal: "elm,state,item,enabled";
1428 action: STATE_SET "default" 0.0;
1430 after: "enable_text";
1432 program { name: "item_click2";
1433 signal: "mouse,down,1";
1438 get_state(PART:"elm.text", st, 30, vl);
1439 if (!strcmp(st, "visible"))
1440 set_state(PART:"elm.text", "clicked", 0.0);
1441 set_state(PART:"bg", "clicked", 0.0);
1444 program { name: "item_unclick2";
1445 signal: "mouse,up,1";
1450 get_state(PART:"elm.text", st, 30, vl);
1451 if (!strcmp(st, "clicked"))
1452 set_state(PART:"elm.text", "visible", 0.0);
1453 set_state(PART:"bg", "default", 0.0);
1456 program { name: "disable_text";
1460 get_state(PART:"elm.text", st, 30, vl);
1461 if (!strcmp(st, "visible"))
1462 set_state(PART:"elm.text", "disabled_visible", 0.0);
1464 set_state(PART:"elm.text", "disabled", 0.0);
1465 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
1468 program { name: "enable_text";
1472 get_state(PART:"elm.text", st, 30, vl);
1473 if (!strcmp(st, "disabled_visible"))
1474 set_state(PART:"elm.text", "visible", 0.0);
1476 set_state(PART:"elm.text", "default", 0.0);
1477 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
1480 program { name: "text_show";
1481 signal: "elm,state,item,text,visible";
1486 get_state(PART:"elm.swallow.content", st, 30, vl);
1487 if (!strcmp(st, "icononly")) {
1488 set_state(PART:"elm.swallow.content", "visible", 0.0);
1489 set_state(PART:"padding_icon_text", "visible", 0.0);
1491 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
1492 set_state(PART:"elm.text", "visible", 0.0);
1494 set_state(PART:"elm.text", "disabled_visible", 0.0);
1497 program { name: "text_hide";
1498 signal: "elm,state,item,text,hidden";
1503 get_state(PART:"elm.swallow.content", st, 30, vl);
1504 if (!strcmp(st, "visible")) {
1505 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1506 set_state(PART:"padding_icon_text", "icononly", 0.0);
1508 set_state(PART:"elm.text", "default", 0.0);
1511 program { name: "icon_show";
1512 signal: "elm,state,item,icon,visible";
1517 get_state(PART:"elm.text", st, 30, vl);
1518 if (!strcmp(st, "visible")) {
1519 set_state(PART:"elm.swallow.content", "visible", 0.0);
1520 set_state(PART:"padding_icon_text", "visible", 0.0);
1523 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1524 set_state(PART:"padding_icon_text", "icononly", 0.0);
1528 program { name: "icon_hide";
1529 signal: "elm,state,item,icon,hidden";
1531 action: STATE_SET "default" 0.0;
1532 target: "elm.swallow.content";
1537 /////////////////////////////////////////////////////////////////////////////////////////
1538 group { name: "elm/popup/item/landscape/default";
1539 inherit: "elm/popup/item/default";
1545 description { state: "default" 0.0;
1546 color: GENLIST_LIST_BG_COLOR;
1547 min: POPUP_ITEM_BG_LANDCAPE_MIN_INC;
1550 description { state: "clicked" 0.0;
1551 color: GENLIST_LIST_PRESS_COLOR;
1557 ////////////////////////////////////////////////////////////////////////////////////////
1558 group { name: "elm/label/base/popup/verticalbuttonstyle";
1561 style { name: "popup_desc_style_center";
1562 base: "font=Tizen:style=Regular font_size="POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC" align=center color="POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC" text_class=tizen";
1565 tag: "whitecolor" "+ color=#ffffff";
1570 part { name: "elm.text";
1574 description { state: "default" 0.0;
1576 style: "popup_desc_style_center";
1585 group { name: "elm/popup/buttons3/verticalbuttonstyle";
1586 alias: "elm/popup/buttons3/verticalbuttonstyle_transparent";
1587 data.item: "action_area_height" POPUP_BUTTON3_VERTICAL_ACTION_AREA_HEIGHT;
1591 description { state: "default" 0.0;
1594 normal: "00_popup_button_bg.png";
1595 border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC;
1600 part { name: "elm.rect.pad_btn_top";
1603 description { state: "default" 0.0;
1604 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC;
1612 part { name:"actionbtn1";
1615 description { state: "default" 0.0;
1616 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1617 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1622 to_y: "elm.rect.pad_btn_top";
1626 part { name: "elm.rect.pad_btn";
1629 description { state: "default" 0.0;
1630 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1631 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1644 part { name:"actionbtn2";
1647 description { state: "default" 0.0;
1648 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1649 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1652 rel1 { relative: 0 1.0;
1653 to_y: "elm.rect.pad_btn";
1657 part { name: "elm.rect.pad_btn2";
1660 description { state: "default" 0.0;
1661 min: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC;
1662 max: POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC;
1675 part { name:"actionbtn3";
1678 description { state: "default" 0.0;
1679 min: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1680 max: POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC;
1684 relative: 0.0 1.0; to_y: "elm.rect.pad_btn2";
1691 group { name: "elm/popup/content/menustyle";
1692 alias: "elm/popup/content/menustyle_transparent";
1694 part { name: "left_padding";
1697 description { state: "default" 0.0;
1700 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1709 part{ name:"elm.swallow.content";
1712 description { state: "default" 0.0;
1713 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1714 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1727 part { name: "right_padding";
1730 description { state: "default" 0.0;
1733 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1745 group { name: "elm/popup/content/min_menustyle";
1746 alias: "elm/popup/content/min_menustyle_transparent";
1748 part { name: "left_padding";
1751 description { state: "default" 0.0;
1754 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1763 part{ name:"elm.swallow.content";
1766 description { state: "default" 0.0;
1767 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1780 part { name: "right_padding";
1783 description { state: "default" 0.0;
1786 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1798 group { name: "elm/popup/content/liststyle";
1799 alias: "elm/popup/content/liststyle_transparent";
1801 part { name: "left_top_padding";
1804 description { state: "default" 0.0;
1807 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1808 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1811 part{ name:"elm.swallow.content";
1814 description { state: "default" 0.0;
1815 min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1816 max: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
1821 to:"left_top_padding";
1829 part { name: "right_padding";
1832 description { state: "default" 0.0;
1835 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1847 group { name: "elm/popup/content/min_liststyle";
1848 alias: "elm/popup/content/min_liststyle_transparent";
1850 part { name: "left_top_padding";
1853 description { state: "default" 0.0;
1856 min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1857 max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
1860 part{ name:"elm.swallow.content";
1863 description { state: "default" 0.0;
1864 min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
1869 to:"left_top_padding";
1877 part { name: "right_padding";
1880 description { state: "default" 0.0;
1883 min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
1895 group { name: "elm/popup/buttons1/default";
1896 alias: "elm/popup/buttons1/transparent";
1897 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1899 part{ name:"actionbtn1";
1902 description { state: "default" 0.0;
1903 min: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_INC;
1904 max: POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MAX_INC;
1906 rel1.relative: 0.5 0.0;
1907 rel2.relative: 0.5 1.0;
1913 group { name: "elm/popup/buttons2/default";
1914 alias: "elm/popup/buttons2/transparent";
1915 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1917 part { name: "left_pad_btn";
1920 description { state: "default" 0.0;
1921 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1922 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1925 rel1.relative: 0.0 0.0;
1928 part { name: "right_pad_btn";
1931 description { state: "default" 0.0;
1932 min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1933 max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
1936 rel2.relative: 1.0 1.0;
1939 part { name:"actionbtn1";
1942 description { state: "default" 0.0;
1951 to: "elm.rect.pad_btn";
1955 part { name: "elm.rect.pad_btn";
1958 description { state: "default" 0.0;
1959 min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1960 max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
1962 rel1.relative: 0.5 0.0;
1963 rel2.relative: 0.5 1.0;
1966 part { name:"actionbtn2";
1969 description { state: "default" 0.0;
1974 to: "elm.rect.pad_btn";
1978 to: "right_pad_btn";
1985 group { name: "elm/popup/buttons3/default";
1986 alias: "elm/popup/buttons3/menustyle";
1987 alias: "elm/popup/buttons3/transparent";
1988 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
1990 part { name: "left_pad_btn";
1993 description { state: "default" 0.0;
1994 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1995 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
1998 rel1.relative: 0.0 0.0;
2001 part { name: "right_pad_btn";
2004 description { state: "default" 0.0;
2005 min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
2006 max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
2009 rel2.relative: 1.0 1.0;
2012 part { name: "btn_area";
2015 description { state: "default" 0.0;
2023 to: "right_pad_btn";
2027 part{ name:"actionbtn1";
2030 description { state: "default" 0.0;
2039 to: "elm.rect.pad_btn";
2043 part { name: "elm.rect.pad_btn";
2046 description { state: "default" 0.0;
2047 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2048 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2050 rel1.relative: 0.33 0.0;
2051 rel1.to: "btn_area";
2052 rel2.relative: 0.33 1.0;
2053 rel2.to: "btn_area";
2056 part{ name:"actionbtn2";
2059 description { state: "default" 0.0;
2063 to: "elm.rect.pad_btn";
2067 to: "elm.rect.pad_btn2";
2071 part { name: "elm.rect.pad_btn2";
2074 description { state: "default" 0.0;
2075 min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2076 max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
2078 rel1.relative: 0.67 0.0;
2079 rel1.to: "btn_area";
2080 rel2.relative: 0.67 1.0;
2081 rel2.to: "btn_area";
2084 part{ name:"actionbtn3";
2087 description { state: "default" 0.0;
2092 to: "elm.rect.pad_btn2";
2096 to: "right_pad_btn";
2103 group { name: "elm/popup/base/volumebarstyle";
2104 inherit: "elm/popup/base/default";
2105 alias: "elm/popup/base/volumebarstyle_transparent";
2107 image: "00_popup_bg.png" COMP;
2110 part { name: "elm.swallow.content";
2113 description { state: "default" 0.0;
2114 min: POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC;
2119 to_y: "shadow_left_top_padding";
2124 to_y: "shadow_right_bottom_padding";
2127 description { state: "show_title_area" 0.0;
2128 inherit: "default" 0.0;
2132 to_y: "elm.bg.title";
2137 to_y: "shadow_right_bottom_padding";
2140 description { state: "show_action_area" 0.0;
2141 inherit: "default" 0.0;
2145 to_y: "shadow_left_top_padding";
2150 to_y: "elm.swallow.action_area";
2153 description { state: "show_action_title_area" 0.0;
2154 inherit: "default" 0.0;
2158 to_y: "elm.bg.title";
2163 to_y: "elm.swallow.action_area";
2170 group { name: "elm/popup/base/volumebarstyle_text";
2171 alias: "elm/popup/base/volumebarstyle_text_transparent";
2172 inherit: "elm/popup/base/volumebarstyle";
2174 part { name: "elm.swallow.content";
2177 description { state: "default" 0.0;
2178 min: POPUP_CONTENT_VOLUMEBAR_TEXT_STYLE_CONTENT_DEFAULT_MIN_INC;
2183 to_y: "shadow_left_top_padding";
2188 to_y: "shadow_right_bottom_padding";
2191 description { state: "show_title_area" 0.0;
2192 inherit: "default" 0.0;
2196 to_y: "elm.bg.title";
2201 to_y: "shadow_right_bottom_padding";
2204 description { state: "show_action_area" 0.0;
2205 inherit: "default" 0.0;
2209 to_y: "shadow_left_top_padding";
2214 to_y: "elm.swallow.action_area";
2217 description { state: "show_action_title_area" 0.0;
2218 inherit: "default" 0.0;
2222 to_y: "elm.bg.title";
2227 to_y: "elm.swallow.action_area";
2234 group { name: "elm/popup/base/content_expand";
2235 alias: "elm/popup/base/content_expand_transparent";
2237 image: "00_popup_bg.png" COMP;
2238 image: "00_popup_button_bg.png" COMP;
2239 image: "00_popup_title_bg.png" COMP;
2242 part { name: "base";
2244 description { state: "default" 0.0;
2245 rel1.to_x: "elm.swallow.content";
2246 rel2.to_x: "elm.swallow.content";
2248 normal: "00_popup_bg.png";
2249 border: POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC;
2256 name:"shadow_left_top_padding";
2259 description { state: "default" 0.0;
2260 min: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
2261 max: POPUP_DESC_LEFT_PADDING POPUP_DESC_TOP_PADDING;
2267 name:"shadow_right_bottom_padding";
2270 description { state: "default" 0.0;
2271 min: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2272 max: POPUP_DESC_RIGHT_PADDING POPUP_DESC_BOTTOM_PADDING;
2277 part { name: "elm.bg.title";
2279 description { state: "default" 0.0;
2280 min: POPUP_BASE_CONTENT_EXPAND_TITLE_DEFAULT_MIN_INC;
2285 normal: "00_popup_title_bg.png";
2286 border: POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC;
2291 to_x: "shadow_left_top_padding";
2296 to_x: "shadow_right_bottom_padding";
2300 description { state: "visible" 0.0;
2301 inherit: "default" 0.0;
2305 part { name: "left_pad";
2308 description { state: "default" 0.0;
2309 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2310 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2313 rel1.to: "elm.bg.title";
2316 part { name: "right_pad";
2319 description { state: "default" 0.0;
2320 min: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2321 max: POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC;
2324 rel2.to: "elm.bg.title";
2327 part { name: "elm.swallow.title.icon";
2330 description { state: "default" 0.0;
2331 min: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2332 max: POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC;
2345 description { state: "visible" 0.0;
2346 inherit: "default" 0.0;
2350 part { name: "elm.text.title";
2353 description { state: "default" 0.0;
2355 style: "popup_title_style";
2356 size: POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2357 size_range: POPUP_BASE_DEFAULT_TEXT_MIN_FONT_SIZE_INC POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC;
2373 description { state: "visible" 0.0;
2374 inherit: "default" 0.0;
2378 part { name: "elm.swallow.content";
2381 description { state: "default" 0.0;
2382 min: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2383 max: POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC;
2384 rel1.relative: 0.5 0.0;
2385 rel2.relative: 0.5 1.0;
2387 description { state: "show_title_area" 0.0;
2388 inherit: "default" 0.0;
2391 to_y: "elm.bg.title";
2394 description { state: "show_action_area" 0.0;
2395 inherit: "default" 0.0;
2398 to_y: "elm.bg.action_area";
2401 description { state: "show_action_title_area" 0.0;
2402 inherit: "default" 0.0;
2405 to_y: "elm.bg.title";
2409 to_y: "elm.bg.action_area";
2413 part { name: "elm.bg.action_area";
2415 description { state: "default" 0.0;
2416 min: POPUP_BASE_CONTENT_EXPAND_BG_DEFAULT_MIN_INC;
2421 normal: "00_popup_button_bg.png";
2422 border: POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC;
2427 to_x: "shadow_left_top_padding";
2432 to_x: "shadow_right_bottom_padding";
2436 description { state: "visible" 0.0;
2437 inherit: "default" 0.0;
2441 part { name: "elm.swallow.action_area";
2444 description { state: "default" 0.0;
2445 rel1.to: "elm.bg.action_area";
2446 rel2.to: "elm.bg.action_area";
2451 program { name: show_title_icon;
2452 signal: "elm,state,title,icon,visible";
2454 action: STATE_SET "visible" 0.0;
2455 target: "elm.swallow.title.icon";
2457 program { name: hide_title_icon;
2458 signal: "elm,state,title,icon,hidden";
2460 action: STATE_SET "default" 0.0;
2461 target: "elm.swallow.title.icon";
2463 program { name: show_title_text;
2464 signal: "elm,state,title,text,visible";
2466 action: STATE_SET "visible" 0.0;
2467 target: "elm.text.title";
2469 program { name: hide_title_text;
2470 signal: "elm,state,title,text,hidden";
2472 action: STATE_SET "default" 0.0;
2473 target: "elm.text.title";
2475 program { name: show_title_area;
2476 signal: "elm,state,title_area,visible";
2481 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2482 if (!strcmp(st, "visible"))
2483 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2485 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2486 set_state(PART:"elm.bg.title", "visible", 0.0);
2489 program { name: hide_title_area;
2490 signal: "elm,state,title_area,hidden";
2492 action: STATE_SET "default" 0.0;
2496 get_state(PART:"elm.swallow.action_area", st, 30, vl);
2497 if (!strcmp(st, "visible"))
2498 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2500 set_state(PART:"elm.swallow.content", "default", 0.0);
2501 set_state(PART:"elm.bg.title", "default", 0.0);
2504 program { name: show_action_area;
2505 signal: "elm,state,action_area,visible";
2510 get_state(PART:"elm.bg.title", st, 30, vl);
2511 if (!strcmp(st, "visible"))
2512 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
2514 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
2515 set_state(PART:"elm.bg.action_area", "visible", 0.0);
2518 program { name: hide_action_area;
2519 signal: "elm,state,action_area,hidden";
2521 action: STATE_SET "default" 0.0;
2525 get_state(PART:"elm.bg.title", st, 30, vl);
2526 if (!strcmp(st, "visible"))
2527 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
2529 set_state(PART:"elm.swallow.content", "default", 0.0);
2530 set_state(PART:"elm.bg.action_area", "default", 0.0);
2536 group { name: "elm/popup/buttons1/content_expand";
2537 alias: "elm/popup/buttons1/content_expand_transparent";
2538 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2540 part{ name:"actionbtn1";
2543 description { state: "default" 0.0;
2544 rel1.relative: 0.2 0.1;
2545 rel2.relative: 0.8 0.9;
2551 group { name: "elm/popup/buttons2/content_expand";
2552 alias: "elm/popup/buttons2/content_expand_transparent";
2553 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2555 part{ name:"actionbtn1";
2558 description { state: "default" 0.0;
2560 rel1.relative: 0.1 0.1;
2561 rel2.relative: 0.45 0.9;
2564 part{ name:"actionbtn2";
2567 description { state: "default" 0.0;
2569 rel1.relative: 0.55 0.1;
2570 rel2.relative: 0.9 0.9;
2576 group { name: "elm/popup/buttons3/content_expand";
2577 alias: "elm/popup/buttons3/content_expand_transparent";
2578 data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
2580 part{ name:"actionbtn1";
2583 description { state: "default" 0.0;
2585 rel1.relative: 0.05 0.1;
2586 rel2.relative: 0.3 0.9;
2589 part{ name:"actionbtn2";
2592 description { state: "default" 0.0;
2594 rel1.relative: 0.375 0.1;
2595 rel2.relative: 0.625 0.9;
2598 part{ name:"actionbtn3";
2601 description { state: "default" 0.0;
2603 rel1.relative: 0.7 0.1;
2604 rel2.relative: 0.95 0.9;
2610 group { name: "elm/popup/item/content_expand";
2611 alias: "elm/popup/item/content_expand_transparent";
2612 inherit: "elm/popup/item/default";
2617 description { state: "default" 0.0;
2618 color: 240 240 240 255;
2622 description { state: "clicked" 0.0;
2623 color: 190 170 150 255;
2629 group { name: "elm/popup/content/content_expand";
2630 alias: "elm/popup/content/content_expand_transparent";
2632 part{ name:"elm.swallow.content";
2635 description { state: "default" 0.0;
2641 #undef POPUP_ITEM_STATE_ENABLED
2642 #undef POPUP_ITEM_STATE_DISABLED