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 ///////////////////////////////////////////////////////////////////////////////////////
21 group { name: "elm/progressbar/horizontal/default";
23 image: "progress_slider_bg.9.png" COMP;
24 image: "progress_slider_bar.9.png" COMP;
27 part { name: "elm.background.progressbar";
42 part { name: "elm.swallow.bar";
51 to_y: "elm.background.progressbar";
55 to: "elm.background.progressbar";
60 part { name: "elm.swallow.content";
63 description { state: "default" 0.0;
68 to_y: "elm.background.progressbar";
73 to_y: "elm.background.progressbar";
76 description { state: "visible" 0.0;
77 inherit: "default" 0.0;
80 aspect_preference: VERTICAL;
81 rel2.offset: 0 -1;//4 -1;
84 part { name: "background";
87 clip_to: "elm.background.progressbar";
91 to: "elm.swallow.bar";
95 to: "elm.swallow.bar";
100 normal: "progress_slider_bg.9.png";
105 part { name: "elm.text.status";
109 description { state: "default" 0.0;
121 font: "Tizen:style=Roman";
122 size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
127 color: PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC;
129 description { state: "show" 0.0;
130 inherit: "default" 0.0;
135 part { name: "elm.progress.progressbar";
138 clip_to: "elm.background.progressbar";
140 state: "default" 0.0;
144 to: "elm.swallow.bar";
148 to_y: "elm.swallow.bar";
149 to_x: "elm.cur.progressbar";
153 normal: "progress_slider_bar.9.png";
159 inherit: "default" 0.0;
161 to_y: "elm.swallow.bar";
162 to_x: "elm.cur.progressbar";
165 to: "elm.swallow.bar";
170 state: "state_begin" 0.0;
171 inherit: "default" 0.0;
173 to: "elm.swallow.bar";
177 to: "elm.swallow.bar";
182 state: "state_end" 0.0;
183 inherit: "default" 0.0;
185 to: "elm.swallow.bar";
189 to: "elm.swallow.bar";
194 part { name: "text-bar";
198 clip_to: "progress-rect";
199 //effect: SOFT_SHADOW;
201 description { state: "default" 0.0;
205 rel1.to: "elm.text.status";
207 rel2.to: "elm.text.status";
209 text_source: "elm.text.status";
210 font: "Tizen:style=Roman";
216 color: PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC;
218 description { state: "show" 0.0;
219 inherit: "default" 0.0;
224 part { name: "elm.cur.progressbar";
228 confine: "background";
232 description { state: "default" 0.0;
240 rel2.to: "background";
243 part { name: "progress-rect";
248 state: "default" 0.0;
249 rel1.to: "elm.progress.progressbar";
250 rel2.to: "elm.progress.progressbar";
253 part { name: "elm.padding.left";
257 state: "default" 0.0;
272 part { name: "elm.text";
276 description { state: "default" 0.0;
281 to_x: "elm.padding.left";
289 color: PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC;
291 font: "Tizen:style=Roman";
298 description { state: "visible" 0.0;
299 inherit: "default" 0.0;
306 program { name: "label_show";
307 signal: "elm,state,text,visible";
309 action: STATE_SET "visible" 0.0;
312 program { name: "label_hide";
313 signal: "elm,state,text,hidden";
315 action: STATE_SET "default" 0.0;
318 program { name: "icon_show";
319 signal: "elm,state,icon,visible";
321 action: STATE_SET "visible" 0.0;
322 target: "elm.swallow.content";
324 program { name: "icon_hide";
325 signal: "elm,state,icon,hidden";
327 action: STATE_SET "default" 0.0;
328 target: "elm.swallow.content";
330 program { name: "units_show";
331 signal: "elm,state,units,visible";
333 action: STATE_SET "show" 0.0;
335 target: "elm.text.status";
337 program { name: "units_hide";
338 signal: "elm,state,units,hidden";
340 action: STATE_SET "default" 0.0;
342 target: "elm.text.status";
344 program { name: "slide_to_end";
345 action: STATE_SET "state_end" 0.0;
346 transition: LINEAR 0.5;
347 target: "elm.progress.progressbar";
348 after: "slide_to_begin";
350 program { name: "slide_to_begin";
351 signal: "elm,state,slide,begin";
352 action: STATE_SET "state_begin" 0.0;
353 target: "elm.progress.progressbar";
354 transition: LINEAR 0.5;
355 after: "slide_to_end";
357 program { name: "start_pulse";
358 signal: "elm,state,pulse,start";
360 after: "slide_to_end";
362 program { name: "stop_pulse";
363 signal: "elm,state,pulse,stop";
366 target: "slide_to_begin";
367 target: "slide_to_end";
368 target: "start_pulse";
369 after: "state_pulse";
371 program { name: "state_pulse";
372 signal: "elm,state,pulse";
374 action: STATE_SET "state_begin" 0.0;
375 target: "elm.progress.progressbar";
378 program { name: "state_fraction";
379 signal: "elm,state,fraction";
382 target: "slide_to_begin";
383 target: "slide_to_end";
384 target: "start_pulse";
385 action: STATE_SET "default" 0.0;
386 target: "elm.progress.progressbar";
388 program { name: "set_invert_on";
389 signal: "elm,state,inverted,on";
391 action: STATE_SET "invert" 0.0;
392 target: "elm.progress.progressbar";
394 program { name: "set_invert_off";
395 signal: "elm,state,inverted,off";
397 action: STATE_SET "default" 0.0;
398 target: "elm.progress.progressbar";
403 group { name: "elm/progressbar/horizontal/list_progress";
405 image: "00_progress_bg.png" COMP;
406 image: "00_progress_bar.png" COMP;
409 part { name: "elm.padding.left";
413 state: "default" 0.0;
428 part { name: "elm.padding.right";
432 state: "default" 0.0;
447 part { name: "elm.background.progressbar";
452 state: "default" 0.0;
454 to_x: "elm.padding.left";
459 to_x: "elm.padding.right";
465 part { name: "elm.swallow.bar";
470 min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
471 max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
472 state: "default" 0.0;
474 to: "elm.background.progressbar";
478 to: "elm.background.progressbar";
483 part { name: "elm.swallow.content";
486 description { state: "default" 0.0;
491 to_y: "elm.background.progressbar";
496 to_y: "elm.background.progressbar";
499 description { state: "visible" 0.0;
500 inherit: "default" 0.0;
503 aspect_preference: VERTICAL;
507 part { name: "elm.text";
511 description { state: "default" 0.0;
515 rel1.to_x: "elm.swallow.content";
516 rel1.relative: 1.0 0.0;
517 rel2.to_x: "elm.swallow.content";
518 rel2.relative: 1.0 1.0;
519 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
521 font: "Tizen:style=Medium";
522 size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
528 description { state: "visible" 0.0;
529 inherit: "default" 0.0;
534 part { name: "background";
537 clip_to: "elm.background.progressbar";
539 state: "default" 0.0;
541 to: "elm.swallow.bar";
545 to: "elm.swallow.bar";
549 normal: "00_progress_bg.png";
550 border: PROGRESS_BG_IMAGE_BORDER_INC;
555 part { name: "elm.text.status";
559 description { state: "default" 0.0;
571 font: "Tizen:style=Medium";
572 size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
577 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
579 description { state: "show" 0.0;
580 inherit: "default" 0.0;
586 name: "bar.image.left.padding";
590 state: "default" 0.0;
592 min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
593 max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
595 rel1.to: "elm.swallow.bar";
598 to: "elm.swallow.bar";
604 name: "bar.image.right.padding";
608 state: "default" 0.0;
610 min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
611 max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
615 to: "elm.swallow.bar";
617 rel2.to: "elm.swallow.bar";
621 part { name: "drag.background";
625 clip_to: "elm.background.progressbar";
627 state: "default" 0.0;
630 to_x: "bar.image.left.padding";
631 to_y: "elm.swallow.bar";
635 to_x: "bar.image.right.padding";
636 to_y: "elm.swallow.bar";
641 part { name: "elm.progress.progressbar";
644 clip_to: "elm.background.progressbar";
646 state: "default" 0.0;
650 to_x: "bar.image.left.padding";
651 to_y: "elm.swallow.bar";
655 to_y: "elm.swallow.bar";
656 to_x: "elm.cur.progressbar";
660 normal: "00_progress_bar.png";
661 border: PROGRESS_BAR_IMAGE_BORDER_INC;
667 inherit: "default" 0.0;
669 to_y: "elm.swallow.bar";
670 to_x: "elm.cur.progressbar";
673 to_y: "elm.swallow.bar";
674 to_x: "bar.image.right.padding";
679 state: "state_begin" 0.0;
680 inherit: "default" 0.0;
682 to: "elm.swallow.bar";
686 to: "elm.swallow.bar";
691 state: "state_end" 0.0;
692 inherit: "default" 0.0;
694 to: "elm.swallow.bar";
698 to: "elm.swallow.bar";
703 part { name: "text-bar";
707 clip_to: "progress-rect";
708 //effect: SOFT_SHADOW;
710 description { state: "default" 0.0;
714 rel1.to: "elm.text.status";
716 rel2.to: "elm.text.status";
718 text_source: "elm.text.status";
719 font: "Tizen:style=Medium";
720 size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
725 color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
727 description { state: "show" 0.0;
728 inherit: "default" 0.0;
733 part { name: "elm.cur.progressbar";
737 confine: "drag.background";
741 description { state: "default" 0.0;
745 rel1.to: "drag.background";
746 rel2.to: "drag.background";
749 part { name: "progress-rect";
754 state: "default" 0.0;
755 rel1.to: "elm.progress.progressbar";
756 rel2.to: "elm.progress.progressbar";
761 program { name: "label_show";
762 signal: "elm,state,text,visible";
764 action: STATE_SET "visible" 0.0;
767 program { name: "label_hide";
768 signal: "elm,state,text,hidden";
770 action: STATE_SET "default" 0.0;
773 program { name: "icon_show";
774 signal: "elm,state,icon,visible";
776 action: STATE_SET "visible" 0.0;
777 target: "elm.swallow.content";
779 program { name: "icon_hide";
780 signal: "elm,state,icon,hidden";
782 action: STATE_SET "default" 0.0;
783 target: "elm.swallow.content";
785 program { name: "units_show";
786 signal: "elm,state,units,visible";
788 action: STATE_SET "show" 0.0;
790 target: "elm.text.status";
792 program { name: "units_hide";
793 signal: "elm,state,units,hidden";
795 action: STATE_SET "default" 0.0;
797 target: "elm.text.status";
799 program { name: "slide_to_end";
800 action: STATE_SET "state_end" 0.0;
801 transition: LINEAR 0.5;
802 target: "elm.progress.progressbar";
803 after: "slide_to_begin";
805 program { name: "slide_to_begin";
806 signal: "elm,state,slide,begin";
807 action: STATE_SET "state_begin" 0.0;
808 target: "elm.progress.progressbar";
809 transition: LINEAR 0.5;
810 after: "slide_to_end";
812 program { name: "start_pulse";
813 signal: "elm,state,pulse,start";
815 // after: "slide_to_end";
817 program { name: "stop_pulse";
818 signal: "elm,state,pulse,stop";
821 target: "slide_to_begin";
822 target: "slide_to_end";
823 target: "start_pulse";
824 //after: "state_pulse";
826 program { name: "state_pulse";
827 signal: "elm,state,pulse";
829 action: STATE_SET "state_begin" 0.0;
830 target: "elm.progress.progressbar";
833 program { name: "state_fraction";
834 signal: "elm,state,fraction";
837 target: "slide_to_begin";
838 target: "slide_to_end";
839 target: "start_pulse";
840 action: STATE_SET "default" 0.0;
841 target: "elm.progress.progressbar";
843 program { name: "set_invert_on";
844 signal: "elm,state,inverted,on";
846 action: STATE_SET "invert" 0.0;
847 target: "elm.progress.progressbar";
849 program { name: "set_invert_off";
850 signal: "elm,state,inverted,off";
852 action: STATE_SET "default" 0.0;
853 target: "elm.progress.progressbar";
858 group { name: "elm/progressbar/horizontal/list_title_progress";
860 image: "00_progress_bg.png" COMP;
861 image: "00_progress_bar.png" COMP;
868 state: "default" 0.0;
870 rel1 { relative: 0.0 0.0; }
871 rel2 { relative: 1.0 1.0; }
875 part { name: "elm.padding.left";
879 state: "default" 0.0;
883 rel1 { relative: 0.0 0.0; to: "base"; }
884 rel2 { relative: 0.0 1.0; to: "base"; }
889 part { name: "elm.padding.right";
893 state: "default" 0.0;
897 rel1 { relative: 1.0 0.0; to: "base"; }
898 rel2 { relative: 1.0 1.0; to: "base"; }
904 name: "elm.padding.top";
908 description { state: "default" 0.0;
913 rel1 { relative: 0.0 0.0; to: "base"; }
914 rel2 { relative: 1.0 0.0; to: "base"; }
919 name: "elm.padding.bottom";
923 description { state: "default" 0.0;
928 rel1 { relative: 0.0 1.0; to: "base"; }
929 rel2 { relative: 1.0 1.0; to: "base"; }
938 description { state: "default" 0.0;
942 rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
943 rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; }
948 part { name: "elm.background.progressbar";
953 state: "default" 0.0;
955 to_x: "elm.padding.left";
961 to_x: "elm.padding.right";
967 part { name: "elm.swallow.bar";
972 min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
973 max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
974 state: "default" 0.0;
976 to: "elm.background.progressbar";
980 to: "elm.background.progressbar";
985 part { name: "elm.swallow.content";
988 description { state: "default" 0.0;
993 to_y: "elm.background.progressbar";
998 to_y: "elm.background.progressbar";
1001 description { state: "visible" 0.0;
1002 inherit: "default" 0.0;
1005 aspect_preference: VERTICAL;
1009 part { name: "elm.text";
1013 description { state: "default" 0.0;
1017 rel1.to: "label_rect";
1018 rel2.to: "label_rect";
1019 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1021 font: "Tizen:style=Medium";
1022 size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1025 text_class: "tizen";
1028 description { state: "visible" 0.0;
1029 inherit: "default" 0.0;
1034 part { name: "background";
1037 clip_to: "elm.background.progressbar";
1039 state: "default" 0.0;
1041 to: "elm.swallow.bar";
1045 to: "elm.swallow.bar";
1049 normal: "00_progress_bg.png";
1050 border: PROGRESS_BG_IMAGE_BORDER_INC;
1055 part { name: "elm.text.status";
1059 description { state: "default" 0.0;
1071 font: "Tizen:style=Medium";
1072 size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1075 text_class: "tizen";
1077 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1079 description { state: "show" 0.0;
1080 inherit: "default" 0.0;
1086 name: "bar.image.left.padding";
1090 state: "default" 0.0;
1092 min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1093 max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1095 rel1.to: "elm.swallow.bar";
1098 to: "elm.swallow.bar";
1104 name: "bar.image.right.padding";
1108 state: "default" 0.0;
1110 min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1111 max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1115 to: "elm.swallow.bar";
1117 rel2.to: "elm.swallow.bar";
1121 part { name: "drag.background";
1125 clip_to: "elm.background.progressbar";
1127 state: "default" 0.0;
1130 to_x: "bar.image.left.padding";
1131 to_y: "elm.swallow.bar";
1135 to_x: "bar.image.right.padding";
1136 to_y: "elm.swallow.bar";
1141 part { name: "elm.progress.progressbar";
1144 clip_to: "elm.background.progressbar";
1146 state: "default" 0.0;
1150 to_x: "bar.image.left.padding";
1151 to_y: "elm.swallow.bar";
1155 to_y: "elm.swallow.bar";
1156 to_x: "elm.cur.progressbar";
1160 normal: "00_progress_bar.png";
1161 border: PROGRESS_BAR_IMAGE_BORDER_INC;
1166 state: "invert" 0.0;
1167 inherit: "default" 0.0;
1169 to_y: "elm.swallow.bar";
1170 to_x: "elm.cur.progressbar";
1173 to_y: "elm.swallow.bar";
1174 to_x: "bar.image.right.padding";
1179 state: "state_begin" 0.0;
1180 inherit: "default" 0.0;
1182 to: "elm.swallow.bar";
1186 to: "elm.swallow.bar";
1191 state: "state_end" 0.0;
1192 inherit: "default" 0.0;
1194 to: "elm.swallow.bar";
1198 to: "elm.swallow.bar";
1203 part { name: "text-bar";
1207 clip_to: "progress-rect";
1208 //effect: SOFT_SHADOW;
1210 description { state: "default" 0.0;
1214 rel1.to: "elm.text.status";
1216 rel2.to: "elm.text.status";
1218 text_source: "elm.text.status";
1219 font: "Tizen:style=Medium";
1220 size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
1223 text_class: "tizen";
1225 color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1227 description { state: "show" 0.0;
1228 inherit: "default" 0.0;
1233 part { name: "elm.cur.progressbar";
1237 confine: "drag.background";
1241 description { state: "default" 0.0;
1245 rel1.to: "drag.background";
1246 rel2.to: "drag.background";
1249 part { name: "progress-rect";
1254 state: "default" 0.0;
1255 rel1.to: "elm.progress.progressbar";
1256 rel2.to: "elm.progress.progressbar";
1261 program { name: "label_show";
1262 signal: "elm,state,text,visible";
1264 action: STATE_SET "visible" 0.0;
1267 program { name: "label_hide";
1268 signal: "elm,state,text,hidden";
1270 action: STATE_SET "default" 0.0;
1273 program { name: "icon_show";
1274 signal: "elm,state,icon,visible";
1276 action: STATE_SET "visible" 0.0;
1277 target: "elm.swallow.content";
1279 program { name: "icon_hide";
1280 signal: "elm,state,icon,hidden";
1282 action: STATE_SET "default" 0.0;
1283 target: "elm.swallow.content";
1285 program { name: "units_show";
1286 signal: "elm,state,units,visible";
1288 action: STATE_SET "show" 0.0;
1290 target: "elm.text.status";
1292 program { name: "units_hide";
1293 signal: "elm,state,units,hidden";
1295 action: STATE_SET "default" 0.0;
1297 target: "elm.text.status";
1299 program { name: "slide_to_end";
1300 action: STATE_SET "state_end" 0.0;
1301 transition: LINEAR 0.5;
1302 target: "elm.progress.progressbar";
1303 after: "slide_to_begin";
1305 program { name: "slide_to_begin";
1306 signal: "elm,state,slide,begin";
1307 action: STATE_SET "state_begin" 0.0;
1308 target: "elm.progress.progressbar";
1309 transition: LINEAR 0.5;
1310 after: "slide_to_end";
1312 program { name: "start_pulse";
1313 signal: "elm,state,pulse,start";
1315 // after: "slide_to_end";
1317 program { name: "stop_pulse";
1318 signal: "elm,state,pulse,stop";
1320 action: ACTION_STOP;
1321 target: "slide_to_begin";
1322 target: "slide_to_end";
1323 target: "start_pulse";
1324 //after: "state_pulse";
1326 program { name: "state_pulse";
1327 signal: "elm,state,pulse";
1329 action: STATE_SET "state_begin" 0.0;
1330 target: "elm.progress.progressbar";
1331 after: "units_hide";
1333 program { name: "state_fraction";
1334 signal: "elm,state,fraction";
1336 action: ACTION_STOP;
1337 target: "slide_to_begin";
1338 target: "slide_to_end";
1339 target: "start_pulse";
1340 action: STATE_SET "default" 0.0;
1341 target: "elm.progress.progressbar";
1343 program { name: "set_invert_on";
1344 signal: "elm,state,inverted,on";
1346 action: STATE_SET "invert" 0.0;
1347 target: "elm.progress.progressbar";
1349 program { name: "set_invert_off";
1350 signal: "elm,state,inverted,off";
1352 action: STATE_SET "default" 0.0;
1353 target: "elm.progress.progressbar";
1358 group { name: "elm/progressbar/horizontal/list_title_progress_text";
1360 image: "00_winset_list_progress_bg.png" COMP;
1361 image: "00_winset_list_progress_bar.png" COMP;
1364 part { name: "base";
1368 state: "default" 0.0;
1370 rel1 { relative: 0.0 0.0; }
1371 rel2 { relative: 1.0 1.0; }
1375 part { name: "elm.padding.left";
1379 state: "default" 0.0;
1383 rel1 { relative: 0.0 0.0; to: "base"; }
1384 rel2 { relative: 0.0 1.0; to: "base"; }
1389 part { name: "elm.padding.right";
1393 state: "default" 0.0;
1397 rel1 { relative: 1.0 0.0; to: "base"; }
1398 rel2 { relative: 1.0 1.0; to: "base"; }
1404 name: "elm.padding.top";
1408 description { state: "default" 0.0;
1413 rel1 { relative: 0.0 0.0; to: "base"; }
1414 rel2 { relative: 1.0 0.0; to: "base"; }
1419 name: "elm.padding.bottom";
1423 description { state: "default" 0.0;
1428 rel1 { relative: 0.0 1.0; to: "base"; }
1429 rel2 { relative: 1.0 1.0; to: "base"; }
1438 description { state: "default" 0.0;
1442 rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
1443 rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "base"; }
1448 part { name: "elm.background.progressbar";
1453 state: "default" 0.0;
1457 rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "label_rect"; }
1458 rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "label_rect"; }
1461 part { name: "elm.swallow.bar";
1467 state: "default" 0.0;
1468 rel1 { relative: 0.0 0.0; to: "elm.background.progressbar"; }
1469 rel2 { relative: 1.0 1.0; to: "elm.background.progressbar"; }
1472 part { name: "elm.swallow.content";
1475 description { state: "default" 0.0;
1481 rel1 { relative: 430/460 6/40; to: "label_rect"; }
1482 rel2 { relative: 1.0 36/40; to: "label_rect"; offset: 1 0;}
1484 description { state: "visible" 0.0;
1485 inherit: "default" 0.0;
1488 aspect_preference: VERTICAL;
1491 part { name: "elm.text";
1495 description { state: "default" 0.0;
1499 rel1 { relative: 0.0 0.0; to: "label_rect"; }
1500 rel2 { relative: 1.0 1.0; to: "label_rect"; }
1501 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1503 font: "Tizen:style=Medium";
1504 size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1507 text_class: "tizen";
1510 description { state: "visible" 0.0;
1511 inherit: "default" 0.0;
1516 part { name: "background";
1519 clip_to: "elm.background.progressbar";
1521 state: "default" 0.0;
1522 rel1 { relative: 0.0 0.0; to: "elm.swallow.bar"; }
1523 rel2 { relative: 1.0 1.0; to: "elm.swallow.bar"; }
1525 normal: "00_winset_list_progress_bg.png";
1530 part { name: "elm.progress.progressbar";
1533 clip_to: "elm.background.progressbar";
1535 state: "default" 0.0;
1538 rel1 { relative: 0.0 0.0; to: "elm.swallow.bar"; }
1539 rel2 { relative: 1.0 1.0; to_x: "elm.cur.progressbar"; to_y: "elm.swallow.bar"; offset: -1 -1; }
1541 normal: "00_winset_list_progress_bar.png";
1546 state: "invert" 0.0;
1547 inherit: "default" 0.0;
1549 to_y: "elm.swallow.bar";
1550 to_x: "elm.cur.progressbar";
1553 to: "elm.swallow.bar";
1558 state: "state_begin" 0.0;
1559 inherit: "default" 0.0;
1561 to: "elm.swallow.bar";
1565 to: "elm.swallow.bar";
1570 state: "state_end" 0.0;
1571 inherit: "default" 0.0;
1573 to: "elm.swallow.bar";
1577 to: "elm.swallow.bar";
1582 part { name: "text-bar";
1586 clip_to: "progress-rect";
1587 //effect: SOFT_SHADOW;
1589 description { state: "default" 0.0;
1593 rel1.to: "elm.text.status";
1595 rel2.to: "elm.text.status";
1597 text_source: "elm.text.status";
1598 font: "Tizen:style=Medium";
1599 size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
1602 text_class: "tizen";
1604 color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1606 description { state: "show" 0.0;
1607 inherit: "default" 0.0;
1612 part { name: "elm.cur.progressbar";
1616 confine: "background";
1620 description { state: "default" 0.0;
1628 rel2.to: "background";
1631 part { name: "progress-rect";
1636 state: "default" 0.0;
1637 rel1.to: "elm.progress.progressbar";
1638 rel2.to: "elm.progress.progressbar";
1641 part { name: "elm.text.status";
1645 description { state: "default" 0.0;
1651 to_y: "elm.padding.bottom";
1653 to_x:"elm.padding.left";
1656 to_y: "elm.padding.bottom";
1658 to_x:"elm.padding.left";
1661 font: "Tizen:style=Medium";
1662 size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1665 text_class: "tizen";
1667 color:PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1669 description { state: "show" 0.0;
1670 inherit: "default" 0.0;
1677 program { name: "label_show";
1678 signal: "elm,state,text,visible";
1680 action: STATE_SET "visible" 0.0;
1683 program { name: "label_hide";
1684 signal: "elm,state,text,hidden";
1686 action: STATE_SET "default" 0.0;
1689 program { name: "icon_show";
1690 signal: "elm,state,icon,visible";
1692 action: STATE_SET "visible" 0.0;
1693 target: "elm.swallow.content";
1695 program { name: "icon_hide";
1696 signal: "elm,state,icon,hidden";
1698 action: STATE_SET "default" 0.0;
1699 target: "elm.swallow.content";
1701 program { name: "units_show";
1702 signal: "elm,state,units,visible";
1704 action: STATE_SET "show" 0.0;
1706 target: "elm.text.status";
1708 program { name: "units_hide";
1709 signal: "elm,state,units,hidden";
1711 action: STATE_SET "default" 0.0;
1713 target: "elm.text.status";
1715 program { name: "slide_to_end";
1716 action: STATE_SET "state_end" 0.0;
1717 transition: LINEAR 0.5;
1718 target: "elm.progress.progressbar";
1719 after: "slide_to_begin";
1721 program { name: "slide_to_begin";
1722 signal: "elm,state,slide,begin";
1723 action: STATE_SET "state_begin" 0.0;
1724 target: "elm.progress.progressbar";
1725 transition: LINEAR 0.5;
1726 after: "slide_to_end";
1728 program { name: "start_pulse";
1729 signal: "elm,state,pulse,start";
1731 // after: "slide_to_end";
1733 program { name: "stop_pulse";
1734 signal: "elm,state,pulse,stop";
1736 action: ACTION_STOP;
1737 target: "slide_to_begin";
1738 target: "slide_to_end";
1739 target: "start_pulse";
1740 //after: "state_pulse";
1742 program { name: "state_pulse";
1743 signal: "elm,state,pulse";
1745 action: STATE_SET "state_begin" 0.0;
1746 target: "elm.progress.progressbar";
1747 after: "units_hide";
1749 program { name: "state_fraction";
1750 signal: "elm,state,fraction";
1752 action: ACTION_STOP;
1753 target: "slide_to_begin";
1754 target: "slide_to_end";
1755 target: "start_pulse";
1756 action: STATE_SET "default" 0.0;
1757 target: "elm.progress.progressbar";
1759 program { name: "set_invert_on";
1760 signal: "elm,state,inverted,on";
1762 action: STATE_SET "invert" 0.0;
1763 target: "elm.progress.progressbar";
1765 program { name: "set_invert_off";
1766 signal: "elm,state,inverted,off";
1768 action: STATE_SET "default" 0.0;
1769 target: "elm.progress.progressbar";
1773 group { name: "elm/progressbar/horizontal/toolbar_progress";
1775 image: "00_toolbar_progress_bg.png" COMP;
1776 image: "00_toolbar_progress_bar.png" COMP;
1779 part { name: "elm.padding.left";
1783 state: "default" 0.0;
1798 part { name: "elm.padding.right";
1802 state: "default" 0.0;
1817 part { name: "elm.background.progressbar";
1822 state: "default" 0.0;
1824 to_x: "elm.padding.left";
1829 to_x: "elm.padding.right";
1835 part { name: "elm.swallow.bar";
1842 state: "default" 0.0;
1844 to: "elm.background.progressbar";
1848 to: "elm.background.progressbar";
1853 part { name: "elm.swallow.content";
1856 description { state: "default" 0.0;
1861 to_y: "elm.background.progressbar";
1866 to_y: "elm.background.progressbar";
1869 description { state: "visible" 0.0;
1870 inherit: "default" 0.0;
1873 aspect_preference: VERTICAL;
1877 part { name: "elm.text";
1881 description { state: "default" 0.0;
1885 rel1.to_x: "elm.swallow.content";
1886 rel1.relative: 1.0 0.0;
1888 rel2.to_x: "elm.swallow.content";
1889 rel2.relative: 1.0 1.0;
1891 color: PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1893 font: "Tizen:style=Roman";
1897 text_class: "tizen";
1900 description { state: "visible" 0.0;
1901 inherit: "default" 0.0;
1908 part { name: "background";
1911 clip_to: "elm.background.progressbar";
1913 state: "default" 0.0;
1915 to: "elm.swallow.bar";
1919 to: "elm.swallow.bar";
1924 normal: "00_toolbar_progress_bg.png";
1929 part { name: "elm.text.status";
1933 description { state: "default" 0.0;
1945 font: "Tizen:style=Roman";
1949 text_class: "tizen";
1951 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1953 description { state: "show" 0.0;
1954 inherit: "default" 0.0;
1959 part { name: "elm.progress.progressbar";
1962 clip_to: "elm.background.progressbar";
1964 state: "default" 0.0;
1968 to: "elm.swallow.bar";
1972 to_y: "elm.swallow.bar";
1973 to_x: "elm.cur.progressbar";
1977 normal: "00_toolbar_progress_bar.png";
1982 state: "invert" 0.0;
1983 inherit: "default" 0.0;
1985 to_y: "elm.swallow.bar";
1986 to_x: "elm.cur.progressbar";
1989 to: "elm.swallow.bar";
1994 state: "state_begin" 0.0;
1995 inherit: "default" 0.0;
1997 to: "elm.swallow.bar";
2001 to: "elm.swallow.bar";
2006 state: "state_end" 0.0;
2007 inherit: "default" 0.0;
2009 to: "elm.swallow.bar";
2013 to: "elm.swallow.bar";
2018 part { name: "text-bar";
2022 clip_to: "progress-rect";
2023 //effect: SOFT_SHADOW;
2025 description { state: "default" 0.0;
2029 rel1.to: "elm.text.status";
2031 rel2.to: "elm.text.status";
2033 text_source: "elm.text.status";
2034 font: "Tizen:style=Roman";
2038 text_class: "tizen";
2040 color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
2042 description { state: "show" 0.0;
2043 inherit: "default" 0.0;
2048 part { name: "elm.cur.progressbar";
2052 confine: "background";
2056 description { state: "default" 0.0;
2064 rel2.to: "background";
2067 part { name: "progress-rect";
2072 state: "default" 0.0;
2073 rel1.to: "elm.progress.progressbar";
2074 rel2.to: "elm.progress.progressbar";
2079 program { name: "label_show";
2080 signal: "elm,state,text,visible";
2082 action: STATE_SET "visible" 0.0;
2085 program { name: "label_hide";
2086 signal: "elm,state,text,hidden";
2088 action: STATE_SET "default" 0.0;
2091 program { name: "icon_show";
2092 signal: "elm,state,icon,visible";
2094 action: STATE_SET "visible" 0.0;
2095 target: "elm.swallow.content";
2097 program { name: "icon_hide";
2098 signal: "elm,state,icon,hidden";
2100 action: STATE_SET "default" 0.0;
2101 target: "elm.swallow.content";
2103 program { name: "units_show";
2104 signal: "elm,state,units,visible";
2106 action: STATE_SET "show" 0.0;
2108 target: "elm.text.status";
2110 program { name: "units_hide";
2111 signal: "elm,state,units,hidden";
2113 action: STATE_SET "default" 0.0;
2115 target: "elm.text.status";
2117 program { name: "slide_to_end";
2118 action: STATE_SET "state_end" 0.0;
2119 transition: LINEAR 0.5;
2120 target: "elm.progress.progressbar";
2121 after: "slide_to_begin";
2123 program { name: "slide_to_begin";
2124 signal: "elm,state,slide,begin";
2125 action: STATE_SET "state_begin" 0.0;
2126 target: "elm.progress.progressbar";
2127 transition: LINEAR 0.5;
2128 after: "slide_to_end";
2130 program { name: "start_pulse";
2131 signal: "elm,state,pulse,start";
2133 after: "slide_to_end";
2135 program { name: "stop_pulse";
2136 signal: "elm,state,pulse,stop";
2138 action: ACTION_STOP;
2139 target: "slide_to_begin";
2140 target: "slide_to_end";
2141 target: "start_pulse";
2142 after: "state_pulse";
2144 program { name: "state_pulse";
2145 signal: "elm,state,pulse";
2147 action: STATE_SET "state_begin" 0.0;
2148 target: "elm.progress.progressbar";
2149 after: "units_hide";
2151 program { name: "state_fraction";
2152 signal: "elm,state,fraction";
2154 action: ACTION_STOP;
2155 target: "slide_to_begin";
2156 target: "slide_to_end";
2157 target: "start_pulse";
2158 action: STATE_SET "default" 0.0;
2159 target: "elm.progress.progressbar";
2161 program { name: "set_invert_on";
2162 signal: "elm,state,inverted,on";
2164 action: STATE_SET "invert" 0.0;
2165 target: "elm.progress.progressbar";
2167 program { name: "set_invert_off";
2168 signal: "elm,state,inverted,off";
2170 action: STATE_SET "default" 0.0;
2171 target: "elm.progress.progressbar";
2176 group { name: "elm/progressbar/horizontal/pending_list";
2178 image: "00_progress_pending_01.png" COMP;
2179 image: "00_progress_pending_02.png" COMP;
2182 part { name: "elm.background.progressbar";
2187 state: "default" 0.0;
2197 part { name: "elm.swallow.bar";
2202 min: 1 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
2203 max: 99999 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
2204 state: "default" 0.0;
2206 to: "elm.background.progressbar";
2210 to: "elm.background.progressbar";
2215 part { name: "elm.progress.progressbar";
2218 clip_to: "elm.background.progressbar";
2220 state: "default" 0.0;
2224 to: "elm.swallow.bar";
2228 to: "elm.swallow.bar";
2233 normal: "00_progress_pending_01.png";
2238 state: "state_begin" 0.0;
2239 inherit: "default" 0.0;
2242 state: "state_end" 0.0;
2243 inherit: "default" 0.0;
2245 normal: "00_progress_pending_02.png";
2252 program { name: "slide_to_end";
2253 action: STATE_SET "state_end" 0.0;
2255 target: "elm.progress.progressbar";
2256 after: "slide_to_begin";
2258 program { name: "slide_to_begin";
2259 signal: "elm,state,slide,begin";
2260 action: STATE_SET "state_begin" 0.0;
2261 target: "elm.progress.progressbar";
2263 after: "slide_to_end";
2265 program { name: "start_pulse";
2266 signal: "elm,state,pulse,start";
2268 after: "slide_to_end";
2270 program { name: "stop_pulse";
2271 signal: "elm,state,pulse,stop";
2273 action: ACTION_STOP;
2274 target: "slide_to_begin";
2275 target: "slide_to_end";
2276 target: "start_pulse";
2277 after: "init_pulse";
2279 program { name: "init_pulse";
2280 action: STATE_SET "default" 0.0;
2281 target: "elm.progress.progressbar";
2286 group { name: "elm/progressbar/horizontal/UIProgressViewStyleDefault";
2288 image: "progress_slider_bg01.9.png" COMP;
2289 image: "progress_slider_bar01.9.png" COMP;
2292 part { name: "elm.padding.left";
2296 state: "default" 0.0;
2312 part { name: "elm.padding.right";
2316 state: "default" 0.0;
2332 part { name: "elm.background.progressbar";
2337 state: "default" 0.0;
2339 to_x: "elm.padding.left";
2344 to_x: "elm.padding.right";
2350 part { name: "elm.swallow.bar";
2357 state: "default" 0.0;
2359 to: "elm.background.progressbar";
2363 to: "elm.background.progressbar";
2368 part { name: "elm.swallow.content";
2371 description { state: "default" 0.0;
2376 to_y: "elm.background.progressbar";
2381 to_y: "elm.background.progressbar";
2384 description { state: "visible" 0.0;
2385 inherit: "default" 0.0;
2388 aspect_preference: VERTICAL;
2392 part { name: "elm.text";
2396 description { state: "default" 0.0;
2400 rel1.to_x: "elm.swallow.content";
2401 rel1.relative: 1.0 0.0;
2403 rel2.to_x: "elm.swallow.content";
2404 rel2.relative: 1.0 1.0;
2406 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2408 font: "Tizen:style=Roman";
2412 text_class: "tizen";
2415 description { state: "visible" 0.0;
2416 inherit: "default" 0.0;
2423 part { name: "background";
2426 clip_to: "elm.background.progressbar";
2428 state: "default" 0.0;
2430 to: "elm.swallow.bar";
2434 to: "elm.swallow.bar";
2439 normal: "progress_slider_bg01.9.png";
2444 part { name: "elm.text.status";
2448 description { state: "default" 0.0;
2460 font: "Tizen:style=Roman";
2464 text_class: "tizen";
2466 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2468 description { state: "show" 0.0;
2469 inherit: "default" 0.0;
2474 part { name: "elm.progress.progressbar";
2477 clip_to: "elm.background.progressbar";
2479 state: "default" 0.0;
2483 to: "elm.swallow.bar";
2487 to_y: "elm.swallow.bar";
2488 to_x: "elm.cur.progressbar";
2492 normal: "progress_slider_bar01.9.png";
2497 state: "invert" 0.0;
2498 inherit: "default" 0.0;
2500 to_y: "elm.swallow.bar";
2501 to_x: "elm.cur.progressbar";
2504 to: "elm.swallow.bar";
2509 state: "state_begin" 0.0;
2510 inherit: "default" 0.0;
2512 to: "elm.swallow.bar";
2516 to: "elm.swallow.bar";
2521 state: "state_end" 0.0;
2522 inherit: "default" 0.0;
2524 to: "elm.swallow.bar";
2528 to: "elm.swallow.bar";
2533 part { name: "text-bar";
2537 clip_to: "progress-rect";
2538 //effect: SOFT_SHADOW;
2540 description { state: "default" 0.0;
2544 rel1.to: "elm.text.status";
2546 rel2.to: "elm.text.status";
2548 text_source: "elm.text.status";
2549 font: "Tizen:style=Roman";
2553 text_class: "tizen";
2555 color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
2557 description { state: "show" 0.0;
2558 inherit: "default" 0.0;
2563 part { name: "elm.cur.progressbar";
2567 confine: "background";
2571 description { state: "default" 0.0;
2579 rel2.to: "background";
2582 part { name: "progress-rect";
2587 state: "default" 0.0;
2588 rel1.to: "elm.progress.progressbar";
2589 rel2.to: "elm.progress.progressbar";
2594 program { name: "label_show";
2595 signal: "elm,state,text,visible";
2597 action: STATE_SET "visible" 0.0;
2600 program { name: "label_hide";
2601 signal: "elm,state,text,hidden";
2603 action: STATE_SET "default" 0.0;
2606 program { name: "icon_show";
2607 signal: "elm,state,icon,visible";
2609 action: STATE_SET "visible" 0.0;
2610 target: "elm.swallow.content";
2612 program { name: "icon_hide";
2613 signal: "elm,state,icon,hidden";
2615 action: STATE_SET "default" 0.0;
2616 target: "elm.swallow.content";
2618 program { name: "units_show";
2619 signal: "elm,state,units,visible";
2621 action: STATE_SET "show" 0.0;
2623 target: "elm.text.status";
2625 program { name: "units_hide";
2626 signal: "elm,state,units,hidden";
2628 action: STATE_SET "default" 0.0;
2630 target: "elm.text.status";
2632 program { name: "slide_to_end";
2633 action: STATE_SET "state_end" 0.0;
2634 transition: LINEAR 0.5;
2635 target: "elm.progress.progressbar";
2636 after: "slide_to_begin";
2638 program { name: "slide_to_begin";
2639 signal: "elm,state,slide,begin";
2640 action: STATE_SET "state_begin" 0.0;
2641 target: "elm.progress.progressbar";
2642 transition: LINEAR 0.5;
2643 after: "slide_to_end";
2645 program { name: "start_pulse";
2646 signal: "elm,state,pulse,start";
2648 after: "slide_to_end";
2650 program { name: "stop_pulse";
2651 signal: "elm,state,pulse,stop";
2653 action: ACTION_STOP;
2654 target: "slide_to_begin";
2655 target: "slide_to_end";
2656 target: "start_pulse";
2657 after: "state_pulse";
2659 program { name: "state_pulse";
2660 signal: "elm,state,pulse";
2662 action: STATE_SET "state_begin" 0.0;
2663 target: "elm.progress.progressbar";
2664 after: "units_hide";
2666 program { name: "state_fraction";
2667 signal: "elm,state,fraction";
2669 action: ACTION_STOP;
2670 target: "slide_to_begin";
2671 target: "slide_to_end";
2672 target: "start_pulse";
2673 action: STATE_SET "default" 0.0;
2674 target: "elm.progress.progressbar";
2676 program { name: "set_invert_on";
2677 signal: "elm,state,inverted,on";
2679 action: STATE_SET "invert" 0.0;
2680 target: "elm.progress.progressbar";
2682 program { name: "set_invert_off";
2683 signal: "elm,state,inverted,off";
2685 action: STATE_SET "default" 0.0;
2686 target: "elm.progress.progressbar";
2691 group { name: "elm/progressbar/horizontal/UIProgressViewStyleBar";
2693 image: "progress_slider_bg02.9.png" COMP;
2694 image: "progress_slider_bar02.9.png" COMP;
2697 part { name: "elm.padding.left";
2701 state: "default" 0.0;
2717 part { name: "elm.padding.right";
2721 state: "default" 0.0;
2737 part { name: "elm.background.progressbar";
2742 state: "default" 0.0;
2744 to_x: "elm.padding.left";
2749 to_x: "elm.padding.right";
2755 part { name: "elm.swallow.bar";
2762 state: "default" 0.0;
2764 to: "elm.background.progressbar";
2768 to: "elm.background.progressbar";
2773 part { name: "elm.swallow.content";
2776 description { state: "default" 0.0;
2781 to_y: "elm.background.progressbar";
2786 to_y: "elm.background.progressbar";
2789 description { state: "visible" 0.0;
2790 inherit: "default" 0.0;
2793 aspect_preference: VERTICAL;
2797 part { name: "elm.text";
2801 description { state: "default" 0.0;
2805 rel1.to_x: "elm.swallow.content";
2806 rel1.relative: 1.0 0.0;
2808 rel2.to_x: "elm.swallow.content";
2809 rel2.relative: 1.0 1.0;
2811 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2813 font: "Tizen:style=Roman";
2817 text_class: "tizen";
2820 description { state: "visible" 0.0;
2821 inherit: "default" 0.0;
2828 part { name: "background";
2831 clip_to: "elm.background.progressbar";
2833 state: "default" 0.0;
2835 to: "elm.swallow.bar";
2839 to: "elm.swallow.bar";
2844 normal: "progress_slider_bg02.9.png";
2849 part { name: "elm.text.status";
2853 description { state: "default" 0.0;
2865 font: "Tizen:style=Roman";
2869 text_class: "tizen";
2871 color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2873 description { state: "show" 0.0;
2874 inherit: "default" 0.0;
2879 part { name: "elm.progress.progressbar";
2882 clip_to: "elm.background.progressbar";
2884 state: "default" 0.0;
2888 to: "elm.swallow.bar";
2892 to_y: "elm.swallow.bar";
2893 to_x: "elm.cur.progressbar";
2897 normal: "progress_slider_bar02.9.png";
2902 state: "invert" 0.0;
2903 inherit: "default" 0.0;
2905 to_y: "elm.swallow.bar";
2906 to_x: "elm.cur.progressbar";
2909 to: "elm.swallow.bar";
2914 state: "state_begin" 0.0;
2915 inherit: "default" 0.0;
2917 to: "elm.swallow.bar";
2921 to: "elm.swallow.bar";
2926 state: "state_end" 0.0;
2927 inherit: "default" 0.0;
2929 to: "elm.swallow.bar";
2933 to: "elm.swallow.bar";
2938 part { name: "text-bar";
2942 clip_to: "progress-rect";
2943 //effect: SOFT_SHADOW;
2945 description { state: "default" 0.0;
2949 rel1.to: "elm.text.status";
2951 rel2.to: "elm.text.status";
2953 text_source: "elm.text.status";
2954 font: "Tizen:style=Roman";
2958 text_class: "tizen";
2960 color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
2962 description { state: "show" 0.0;
2963 inherit: "default" 0.0;
2968 part { name: "elm.cur.progressbar";
2972 confine: "background";
2976 description { state: "default" 0.0;
2984 rel2.to: "background";
2987 part { name: "progress-rect";
2992 state: "default" 0.0;
2993 rel1.to: "elm.progress.progressbar";
2994 rel2.to: "elm.progress.progressbar";
2999 program { name: "label_show";
3000 signal: "elm,state,text,visible";
3002 action: STATE_SET "visible" 0.0;
3005 program { name: "label_hide";
3006 signal: "elm,state,text,hidden";
3008 action: STATE_SET "default" 0.0;
3011 program { name: "icon_show";
3012 signal: "elm,state,icon,visible";
3014 action: STATE_SET "visible" 0.0;
3015 target: "elm.swallow.content";
3017 program { name: "icon_hide";
3018 signal: "elm,state,icon,hidden";
3020 action: STATE_SET "default" 0.0;
3021 target: "elm.swallow.content";
3023 program { name: "units_show";
3024 signal: "elm,state,units,visible";
3026 action: STATE_SET "show" 0.0;
3028 target: "elm.text.status";
3030 program { name: "units_hide";
3031 signal: "elm,state,units,hidden";
3033 action: STATE_SET "default" 0.0;
3035 target: "elm.text.status";
3037 program { name: "slide_to_end";
3038 action: STATE_SET "state_end" 0.0;
3039 transition: LINEAR 0.5;
3040 target: "elm.progress.progressbar";
3041 after: "slide_to_begin";
3043 program { name: "slide_to_begin";
3044 signal: "elm,state,slide,begin";
3045 action: STATE_SET "state_begin" 0.0;
3046 target: "elm.progress.progressbar";
3047 transition: LINEAR 0.5;
3048 after: "slide_to_end";
3050 program { name: "start_pulse";
3051 signal: "elm,state,pulse,start";
3053 after: "slide_to_end";
3055 program { name: "stop_pulse";
3056 signal: "elm,state,pulse,stop";
3058 action: ACTION_STOP;
3059 target: "slide_to_begin";
3060 target: "slide_to_end";
3061 target: "start_pulse";
3062 after: "state_pulse";
3064 program { name: "state_pulse";
3065 signal: "elm,state,pulse";
3067 action: STATE_SET "state_begin" 0.0;
3068 target: "elm.progress.progressbar";
3069 after: "units_hide";
3071 program { name: "state_fraction";
3072 signal: "elm,state,fraction";
3074 action: ACTION_STOP;
3075 target: "slide_to_begin";
3076 target: "slide_to_end";
3077 target: "start_pulse";
3078 action: STATE_SET "default" 0.0;
3079 target: "elm.progress.progressbar";
3081 program { name: "set_invert_on";
3082 signal: "elm,state,inverted,on";
3084 action: STATE_SET "invert" 0.0;
3085 target: "elm.progress.progressbar";
3087 program { name: "set_invert_off";
3088 signal: "elm,state,inverted,off";
3090 action: STATE_SET "default" 0.0;
3091 target: "elm.progress.progressbar";
3096 #define PROCESS_IMAGE(SIZE, NUM) \
3097 image: "process/"SIZE"/00_list_process_"NUM".png" COMP;
3099 #define PROCESS_IMAGES(SIZE) \
3101 PROCESS_IMAGE(SIZE, 01) \
3102 PROCESS_IMAGE(SIZE, 02) \
3103 PROCESS_IMAGE(SIZE, 03) \
3104 PROCESS_IMAGE(SIZE, 04) \
3105 PROCESS_IMAGE(SIZE, 05) \
3106 PROCESS_IMAGE(SIZE, 06) \
3107 PROCESS_IMAGE(SIZE, 07) \
3108 PROCESS_IMAGE(SIZE, 08) \
3109 PROCESS_IMAGE(SIZE, 09) \
3110 PROCESS_IMAGE(SIZE, 10) \
3111 PROCESS_IMAGE(SIZE, 11) \
3112 PROCESS_IMAGE(SIZE, 12) \
3113 PROCESS_IMAGE(SIZE, 13) \
3114 PROCESS_IMAGE(SIZE, 14) \
3115 PROCESS_IMAGE(SIZE, 15) \
3116 PROCESS_IMAGE(SIZE, 16) \
3117 PROCESS_IMAGE(SIZE, 17) \
3118 PROCESS_IMAGE(SIZE, 18) \
3119 PROCESS_IMAGE(SIZE, 19) \
3120 PROCESS_IMAGE(SIZE, 20) \
3121 PROCESS_IMAGE(SIZE, 21) \
3122 PROCESS_IMAGE(SIZE, 22) \
3123 PROCESS_IMAGE(SIZE, 23) \
3124 PROCESS_IMAGE(SIZE, 24) \
3125 PROCESS_IMAGE(SIZE, 25) \
3126 PROCESS_IMAGE(SIZE, 26) \
3127 PROCESS_IMAGE(SIZE, 27) \
3128 PROCESS_IMAGE(SIZE, 28) \
3129 PROCESS_IMAGE(SIZE, 29) \
3130 PROCESS_IMAGE(SIZE, 30) \
3133 #define PROGRESS_DESC(SIZE, NUM ) \
3134 description { state: "pulse" 0.#NUM; \
3135 inherit: "default" 0.0; \
3137 normal: "process/"SIZE"/00_list_process_"NUM".png"; \
3141 #define PROCESS_DESCS(SIZE, WIDTH, HEIGHT) \
3143 state: "default" 0.0; \
3144 min: WIDTH HEIGHT; \
3145 max: WIDTH HEIGHT; \
3147 aspect_preference: BOTH; \
3149 normal: "process/"SIZE"/00_list_process_01.png"; \
3152 description { state: "pulse" 0.0; \
3153 inherit: "default" 0.0; \
3155 normal: "process/"SIZE"/00_list_process_01.png"; \
3158 PROGRESS_DESC(SIZE, 01 ) \
3159 PROGRESS_DESC(SIZE, 03 ) \
3160 PROGRESS_DESC(SIZE, 04 ) \
3161 PROGRESS_DESC(SIZE, 05 ) \
3162 PROGRESS_DESC(SIZE, 06 ) \
3163 PROGRESS_DESC(SIZE, 07 ) \
3164 PROGRESS_DESC(SIZE, 08 ) \
3165 PROGRESS_DESC(SIZE, 09 ) \
3166 PROGRESS_DESC(SIZE, 10 ) \
3167 PROGRESS_DESC(SIZE, 11 ) \
3168 PROGRESS_DESC(SIZE, 12 ) \
3169 PROGRESS_DESC(SIZE, 13 ) \
3170 PROGRESS_DESC(SIZE, 14 ) \
3171 PROGRESS_DESC(SIZE, 15 ) \
3172 PROGRESS_DESC(SIZE, 16 ) \
3173 PROGRESS_DESC(SIZE, 17 ) \
3174 PROGRESS_DESC(SIZE, 18 ) \
3175 PROGRESS_DESC(SIZE, 19 ) \
3176 PROGRESS_DESC(SIZE, 20 ) \
3177 PROGRESS_DESC(SIZE, 21 ) \
3178 PROGRESS_DESC(SIZE, 22 ) \
3179 PROGRESS_DESC(SIZE, 23 ) \
3180 PROGRESS_DESC(SIZE, 24 ) \
3181 PROGRESS_DESC(SIZE, 25 ) \
3182 PROGRESS_DESC(SIZE, 26 ) \
3183 PROGRESS_DESC(SIZE, 27 ) \
3184 PROGRESS_DESC(SIZE, 28 ) \
3185 PROGRESS_DESC(SIZE, 29 ) \
3186 PROGRESS_DESC(SIZE, 30 )
3188 #define PROGRESSING_DELAY 0.07
3190 group { name: "elm/progressbar/horizontal/list_process";
3191 alias: "elm/progressbar/horizontal/process";
3192 PROCESS_IMAGES("63x63")
3194 part { name: "elm.background.progressbar";
3199 state: "default" 0.0;
3202 part { name: "elm.swallow.bar";
3206 description { state: "default" 0.0;
3212 part { name: "elm.swallow.content";
3215 description { state: "default" 0.0;
3221 part { name: "background";
3224 clip_to: "elm.background.progressbar";
3225 PROCESS_DESCS("63x63", 63, 63)
3232 program { name: "continue_pulse";
3235 state = get_float(pulse_state);
3236 set_state(PART:"background", "pulse", state);
3240 set_float(pulse_state, state);
3244 program { name: "delay";
3245 action: STATE_SET "pulse" 0.10;
3246 target: "background";
3247 in: PROGRESSING_DELAY 0.0;
3248 after: "continue_pulse";
3250 program { name: "start_pulse";
3251 signal: "elm,state,pulse,start";
3254 set_float(pulse_state, 0.0);
3256 after: "continue_pulse";
3258 program { name: "stop_pulse";
3259 signal: "elm,state,pulse,stop";
3261 action: ACTION_STOP;
3262 target: "continue_pulse";
3264 target: "start_pulse";
3265 after: "init_pulse";
3267 program { name: "init_pulse";
3268 action: STATE_SET "default" 0.0;
3269 target: "background";
3274 group { name: "elm/progressbar/horizontal/process_medium";
3275 PROCESS_IMAGES("54x54")
3277 part { name: "elm.background.progressbar";
3282 state: "default" 0.0;
3285 part { name: "elm.swallow.bar";
3289 description { state: "default" 0.0;
3295 part { name: "elm.swallow.content";
3298 description { state: "default" 0.0;
3304 part { name: "background";
3307 clip_to: "elm.background.progressbar";
3308 PROCESS_DESCS("54x54", 54, 54)
3315 program { name: "continue_pulse";
3318 state = get_float(pulse_state);
3319 set_state(PART:"background", "pulse", state);
3323 set_float(pulse_state, state);
3327 program { name: "delay";
3328 action: STATE_SET "pulse" 0.10;
3329 target: "background";
3330 in: PROGRESSING_DELAY 0.0;
3331 after: "continue_pulse";
3333 program { name: "start_pulse";
3334 signal: "elm,state,pulse,start";
3337 set_float(pulse_state, 0.0);
3339 after: "continue_pulse";
3341 program { name: "stop_pulse";
3342 signal: "elm,state,pulse,stop";
3344 action: ACTION_STOP;
3345 target: "continue_pulse";
3347 target: "start_pulse";
3348 after: "init_pulse";
3350 program { name: "init_pulse";
3351 action: STATE_SET "default" 0.0;
3352 target: "background";
3357 group { name: "elm/progressbar/horizontal/list_process_small";
3358 alias: "elm/progressbar/horizontal/process_small";
3359 PROCESS_IMAGES("36x36")
3361 part { name: "elm.background.progressbar";
3366 state: "default" 0.0;
3369 part { name: "elm.swallow.bar";
3373 description { state: "default" 0.0;
3379 part { name: "elm.swallow.content";
3382 description { state: "default" 0.0;
3388 part { name: "background";
3391 clip_to: "elm.background.progressbar";
3392 PROCESS_DESCS("36x36", 36, 36)
3399 program { name: "continue_pulse";
3402 state = get_float(pulse_state);
3403 set_state(PART:"background", "pulse", state);
3407 set_float(pulse_state, state);
3411 program { name: "delay";
3412 action: STATE_SET "pulse" 0.10;
3413 target: "background";
3414 in: PROGRESSING_DELAY 0.0;
3415 after: "continue_pulse";
3417 program { name: "start_pulse";
3418 signal: "elm,state,pulse,start";
3421 set_float(pulse_state, 0.0);
3423 after: "continue_pulse";
3425 program { name: "stop_pulse";
3426 signal: "elm,state,pulse,stop";
3428 action: ACTION_STOP;
3429 target: "continue_pulse";
3431 target: "start_pulse";
3432 after: "init_pulse";
3434 program { name: "init_pulse";
3435 action: STATE_SET "default" 0.0;
3436 target: "background";
3441 #define PROGRESS_BG_DESC( param_name, param_num ) \
3442 description { state: "pulse" 0.#param_num; \
3443 inherit: "default" 0.0; \
3445 normal: "00_winset_"#param_name"_process_"#param_num".png"; \
3449 group { name: "elm/progressbar/horizontal/toolbar_process";
3451 image: "00_winset_toolbar_process_01.png" COMP;
3452 image: "00_winset_toolbar_process_02.png" COMP;
3453 image: "00_winset_toolbar_process_03.png" COMP;
3454 image: "00_winset_toolbar_process_04.png" COMP;
3455 image: "00_winset_toolbar_process_05.png" COMP;
3456 image: "00_winset_toolbar_process_06.png" COMP;
3457 image: "00_winset_toolbar_process_07.png" COMP;
3458 image: "00_winset_toolbar_process_08.png" COMP;
3459 image: "00_winset_toolbar_process_09.png" COMP;
3460 image: "00_winset_toolbar_process_10.png" COMP;
3461 image: "00_winset_toolbar_process_11.png" COMP;
3462 image: "00_winset_toolbar_process_12.png" COMP;
3463 image: "00_winset_toolbar_process_13.png" COMP;
3464 image: "00_winset_toolbar_process_14.png" COMP;
3465 image: "00_winset_toolbar_process_15.png" COMP;
3466 image: "00_winset_toolbar_process_16.png" COMP;
3467 image: "00_winset_toolbar_process_17.png" COMP;
3468 image: "00_winset_toolbar_process_18.png" COMP;
3469 image: "00_winset_toolbar_process_19.png" COMP;
3470 image: "00_winset_toolbar_process_20.png" COMP;
3471 image: "00_winset_toolbar_process_21.png" COMP;
3472 image: "00_winset_toolbar_process_22.png" COMP;
3473 image: "00_winset_toolbar_process_23.png" COMP;
3474 image: "00_winset_toolbar_process_24.png" COMP;
3475 image: "00_winset_toolbar_process_25.png" COMP;
3476 image: "00_winset_toolbar_process_26.png" COMP;
3477 image: "00_winset_toolbar_process_27.png" COMP;
3478 image: "00_winset_toolbar_process_28.png" COMP;
3479 image: "00_winset_toolbar_process_29.png" COMP;
3480 image: "00_winset_toolbar_process_30.png" COMP;
3483 part { name: "elm.background.progressbar";
3488 state: "default" 0.0;
3491 part { name: "elm.swallow.bar";
3495 description { state: "default" 0.0;
3501 part { name: "elm.swallow.content";
3504 description { state: "default" 0.0;
3510 part { name: "background";
3513 clip_to: "elm.background.progressbar";
3515 state: "default" 0.0;
3520 aspect_preference: BOTH;
3522 normal: "00_winset_toolbar_process_01.png";
3525 description { state: "pulse" 0.0;
3526 inherit: "default" 0.0;
3528 normal: "00_winset_toolbar_process_01.png";
3531 PROGRESS_BG_DESC( toolbar, 01 )
3532 PROGRESS_BG_DESC( toolbar, 02 )
3533 PROGRESS_BG_DESC( toolbar, 03 )
3534 PROGRESS_BG_DESC( toolbar, 04 )
3535 PROGRESS_BG_DESC( toolbar, 05 )
3536 PROGRESS_BG_DESC( toolbar, 06 )
3537 PROGRESS_BG_DESC( toolbar, 07 )
3538 PROGRESS_BG_DESC( toolbar, 08 )
3539 PROGRESS_BG_DESC( toolbar, 09 )
3540 PROGRESS_BG_DESC( toolbar, 10 )
3541 PROGRESS_BG_DESC( toolbar, 11 )
3542 PROGRESS_BG_DESC( toolbar, 12 )
3543 PROGRESS_BG_DESC( toolbar, 13 )
3544 PROGRESS_BG_DESC( toolbar, 14 )
3545 PROGRESS_BG_DESC( toolbar, 15 )
3546 PROGRESS_BG_DESC( toolbar, 16 )
3547 PROGRESS_BG_DESC( toolbar, 17 )
3548 PROGRESS_BG_DESC( toolbar, 18 )
3549 PROGRESS_BG_DESC( toolbar, 19 )
3550 PROGRESS_BG_DESC( toolbar, 20 )
3551 PROGRESS_BG_DESC( toolbar, 21 )
3552 PROGRESS_BG_DESC( toolbar, 22 )
3553 PROGRESS_BG_DESC( toolbar, 23 )
3554 PROGRESS_BG_DESC( toolbar, 24 )
3555 PROGRESS_BG_DESC( toolbar, 25 )
3556 PROGRESS_BG_DESC( toolbar, 26 )
3557 PROGRESS_BG_DESC( toolbar, 27 )
3558 PROGRESS_BG_DESC( toolbar, 28 )
3559 PROGRESS_BG_DESC( toolbar, 29 )
3560 PROGRESS_BG_DESC( toolbar, 30 )
3567 program { name: "continue_pulse";
3570 state = get_float(pulse_state);
3571 set_state(PART:"background", "pulse", state);
3575 set_float(pulse_state, state);
3579 program { name: "delay";
3580 action: STATE_SET "pulse" 0.10;
3581 target: "background";
3582 in: PROGRESSING_DELAY 0.0;
3583 after: "continue_pulse";
3585 program { name: "start_pulse";
3586 signal: "elm,state,pulse,start";
3589 set_float(pulse_state, 0.0);
3591 after: "continue_pulse";
3593 program { name: "stop_pulse";
3594 signal: "elm,state,pulse,stop";
3596 action: ACTION_STOP;
3597 target: "continue_pulse";
3599 target: "start_pulse";
3600 after: "init_pulse";
3602 program { name: "init_pulse";
3603 action: STATE_SET "default" 0.0;
3604 target: "background";
3609 group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleWhiteLarge";
3611 image: "progress_01.png" COMP;
3612 image: "progress_02.png" COMP;
3613 image: "progress_03.png" COMP;
3614 image: "progress_04.png" COMP;
3615 image: "progress_05.png" COMP;
3616 image: "progress_06.png" COMP;
3617 image: "progress_07.png" COMP;
3618 image: "progress_08.png" COMP;
3619 image: "progress_09.png" COMP;
3620 image: "progress_10.png" COMP;
3621 image: "progress_11.png" COMP;
3622 image: "progress_12.png" COMP;
3625 part { name: "elm.background.progressbar";
3630 state: "default" 0.0;
3633 part { name: "elm.swallow.bar";
3637 description { state: "default" 0.0;
3643 part { name: "elm.swallow.content";
3646 description { state: "default" 0.0;
3652 part { name: "background";
3655 clip_to: "elm.background.progressbar";
3657 state: "default" 0.0;
3662 aspect_preference: BOTH;
3664 normal: "progress_01.png";
3669 inherit: "default" 0.0;
3671 normal: "progress_01.png";
3675 state: "pulse" 0.01;
3676 inherit: "default" 0.0;
3678 normal: "progress_01.png";
3682 state: "pulse" 0.02;
3683 inherit: "default" 0.0;
3685 normal: "progress_02.png";
3689 state: "pulse" 0.03;
3690 inherit: "default" 0.0;
3692 normal: "progress_03.png";
3696 state: "pulse" 0.04;
3697 inherit: "default" 0.0;
3699 normal: "progress_04.png";
3703 state: "pulse" 0.05;
3704 inherit: "default" 0.0;
3706 normal: "progress_05.png";
3710 state: "pulse" 0.06;
3711 inherit: "default" 0.0;
3713 normal: "progress_06.png";
3717 state: "pulse" 0.07;
3718 inherit: "default" 0.0;
3720 normal: "progress_07.png";
3724 state: "pulse" 0.08;
3725 inherit: "default" 0.0;
3727 normal: "progress_08.png";
3731 state: "pulse" 0.09;
3732 inherit: "default" 0.0;
3734 normal: "progress_09.png";
3738 state: "pulse" 0.10;
3739 inherit: "default" 0.0;
3741 normal: "progress_10.png";
3745 state: "pulse" 0.11;
3746 inherit: "default" 0.0;
3748 normal: "progress_11.png";
3752 state: "pulse" 0.12;
3753 inherit: "default" 0.0;
3755 normal: "progress_12.png";
3764 program { name: "continue_pulse";
3767 state = get_float(pulse_state);
3768 set_state(PART:"background", "pulse", state);
3772 set_float(pulse_state, state);
3776 program { name: "delay";
3777 action: STATE_SET "pulse" 0.10;
3778 target: "background";
3779 in: PROGRESSING_DELAY 0.0;
3780 after: "continue_pulse";
3782 program { name: "start_pulse";
3783 signal: "elm,state,pulse,start";
3786 set_float(pulse_state, 0.0);
3788 after: "continue_pulse";
3790 program { name: "stop_pulse";
3791 signal: "elm,state,pulse,stop";
3793 action: ACTION_STOP;
3794 target: "continue_pulse";
3796 target: "start_pulse";
3797 after: "init_pulse";
3799 program { name: "init_pulse";
3800 action: STATE_SET "default" 0.0;
3801 target: "background";
3806 group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleWhite";
3808 image: "progress_01_s.png" COMP;
3809 image: "progress_02_s.png" COMP;
3810 image: "progress_03_s.png" COMP;
3811 image: "progress_04_s.png" COMP;
3812 image: "progress_05_s.png" COMP;
3813 image: "progress_06_s.png" COMP;
3814 image: "progress_07_s.png" COMP;
3815 image: "progress_08_s.png" COMP;
3816 image: "progress_09_s.png" COMP;
3817 image: "progress_10_s.png" COMP;
3818 image: "progress_11_s.png" COMP;
3819 image: "progress_12_s.png" COMP;
3822 part { name: "elm.background.progressbar";
3827 state: "default" 0.0;
3830 part { name: "elm.swallow.bar";
3834 description { state: "default" 0.0;
3840 part { name: "elm.swallow.content";
3843 description { state: "default" 0.0;
3849 part { name: "background";
3852 clip_to: "elm.background.progressbar";
3854 state: "default" 0.0;
3859 aspect_preference: BOTH;
3861 normal: "progress_01_s.png";
3866 inherit: "default" 0.0;
3868 normal: "progress_01_s.png";
3872 state: "pulse" 0.01;
3873 inherit: "default" 0.0;
3875 normal: "progress_01_s.png";
3879 state: "pulse" 0.02;
3880 inherit: "default" 0.0;
3882 normal: "progress_02_s.png";
3886 state: "pulse" 0.03;
3887 inherit: "default" 0.0;
3889 normal: "progress_03_s.png";
3893 state: "pulse" 0.04;
3894 inherit: "default" 0.0;
3896 normal: "progress_04_s.png";
3900 state: "pulse" 0.05;
3901 inherit: "default" 0.0;
3903 normal: "progress_05_s.png";
3907 state: "pulse" 0.06;
3908 inherit: "default" 0.0;
3910 normal: "progress_06_s.png";
3914 state: "pulse" 0.07;
3915 inherit: "default" 0.0;
3917 normal: "progress_07_s.png";
3921 state: "pulse" 0.08;
3922 inherit: "default" 0.0;
3924 normal: "progress_08_s.png";
3928 state: "pulse" 0.09;
3929 inherit: "default" 0.0;
3931 normal: "progress_09_s.png";
3935 state: "pulse" 0.10;
3936 inherit: "default" 0.0;
3938 normal: "progress_10_s.png";
3942 state: "pulse" 0.11;
3943 inherit: "default" 0.0;
3945 normal: "progress_11_s.png";
3949 state: "pulse" 0.12;
3950 inherit: "default" 0.0;
3952 normal: "progress_12_s.png";
3961 program { name: "continue_pulse";
3964 state = get_float(pulse_state);
3965 set_state(PART:"background", "pulse", state);
3969 set_float(pulse_state, state);
3973 program { name: "delay";
3974 action: STATE_SET "pulse" 0.10;
3975 target: "background";
3976 in: PROGRESSING_DELAY 0.0;
3977 after: "continue_pulse";
3979 program { name: "start_pulse";
3980 signal: "elm,state,pulse,start";
3983 set_float(pulse_state, 0.0);
3985 after: "continue_pulse";
3987 program { name: "stop_pulse";
3988 signal: "elm,state,pulse,stop";
3990 action: ACTION_STOP;
3991 target: "continue_pulse";
3993 target: "start_pulse";
3994 after: "init_pulse";
3996 program { name: "init_pulse";
3997 action: STATE_SET "default" 0.0;
3998 target: "background";
4003 group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleGray";
4005 image: "progress_01_g.png" COMP;
4006 image: "progress_02_g.png" COMP;
4007 image: "progress_03_g.png" COMP;
4008 image: "progress_04_g.png" COMP;
4009 image: "progress_05_g.png" COMP;
4010 image: "progress_06_g.png" COMP;
4011 image: "progress_07_g.png" COMP;
4012 image: "progress_08_g.png" COMP;
4013 image: "progress_09_g.png" COMP;
4014 image: "progress_10_g.png" COMP;
4015 image: "progress_11_g.png" COMP;
4016 image: "progress_12_g.png" COMP;
4019 part { name: "elm.background.progressbar";
4024 state: "default" 0.0;
4027 part { name: "elm.swallow.bar";
4031 description { state: "default" 0.0;
4037 part { name: "elm.swallow.content";
4040 description { state: "default" 0.0;
4046 part { name: "background";
4049 clip_to: "elm.background.progressbar";
4051 state: "default" 0.0;
4056 aspect_preference: BOTH;
4058 normal: "progress_01_g.png";
4063 inherit: "default" 0.0;
4065 normal: "progress_01_g.png";
4069 state: "pulse" 0.01;
4070 inherit: "default" 0.0;
4072 normal: "progress_01_g.png";
4076 state: "pulse" 0.02;
4077 inherit: "default" 0.0;
4079 normal: "progress_02_g.png";
4083 state: "pulse" 0.03;
4084 inherit: "default" 0.0;
4086 normal: "progress_03_g.png";
4090 state: "pulse" 0.04;
4091 inherit: "default" 0.0;
4093 normal: "progress_04_g.png";
4097 state: "pulse" 0.05;
4098 inherit: "default" 0.0;
4100 normal: "progress_05_g.png";
4104 state: "pulse" 0.06;
4105 inherit: "default" 0.0;
4107 normal: "progress_06_g.png";
4111 state: "pulse" 0.07;
4112 inherit: "default" 0.0;
4114 normal: "progress_07_g.png";
4118 state: "pulse" 0.08;
4119 inherit: "default" 0.0;
4121 normal: "progress_08_g.png";
4125 state: "pulse" 0.09;
4126 inherit: "default" 0.0;
4128 normal: "progress_09_g.png";
4132 state: "pulse" 0.10;
4133 inherit: "default" 0.0;
4135 normal: "progress_10_g.png";
4139 state: "pulse" 0.11;
4140 inherit: "default" 0.0;
4142 normal: "progress_11_g.png";
4146 state: "pulse" 0.12;
4147 inherit: "default" 0.0;
4149 normal: "progress_12_g.png";
4158 program { name: "continue_pulse";
4161 state = get_float(pulse_state);
4162 set_state(PART:"background", "pulse", state);
4166 set_float(pulse_state, state);
4170 program { name: "delay";
4171 action: STATE_SET "pulse" 0.10;
4172 target: "background";
4173 in: PROGRESSING_DELAY 0.0;
4174 after: "continue_pulse";
4176 program { name: "start_pulse";
4177 signal: "elm,state,pulse,start";
4180 set_float(pulse_state, 0.0);
4182 after: "continue_pulse";
4184 program { name: "stop_pulse";
4185 signal: "elm,state,pulse,stop";
4187 action: ACTION_STOP;
4188 target: "continue_pulse";
4190 target: "start_pulse";
4191 after: "init_pulse";
4193 program { name: "init_pulse";
4194 action: STATE_SET "default" 0.0;
4195 target: "background";
4200 #define CIRCLE_PROGRESSING_DELAY 0.03
4201 #define PROGRESS_CIRCLE_TOTAL_STATES 50
4203 #define PROGRESS_CIRCLE_BG_DESC( param_num ) \
4204 description { state: "progress" 0.#param_num; \
4205 inherit: "default" 0.0; \
4207 normal: "00_progress_circle_bg_"#param_num".png"; \
4211 group { name: "elm/progressbar/horizontal/progress_circle";
4213 image: "00_progress_circle_bg.png" COMP;
4214 image: "00_progress_circle_bg_01.png" COMP;
4215 image: "00_progress_circle_bg_02.png" COMP;
4216 image: "00_progress_circle_bg_03.png" COMP;
4217 image: "00_progress_circle_bg_04.png" COMP;
4218 image: "00_progress_circle_bg_05.png" COMP;
4219 image: "00_progress_circle_bg_06.png" COMP;
4220 image: "00_progress_circle_bg_07.png" COMP;
4221 image: "00_progress_circle_bg_08.png" COMP;
4222 image: "00_progress_circle_bg_09.png" COMP;
4223 image: "00_progress_circle_bg_10.png" COMP;
4224 image: "00_progress_circle_bg_11.png" COMP;
4225 image: "00_progress_circle_bg_12.png" COMP;
4226 image: "00_progress_circle_bg_13.png" COMP;
4227 image: "00_progress_circle_bg_14.png" COMP;
4228 image: "00_progress_circle_bg_15.png" COMP;
4229 image: "00_progress_circle_bg_16.png" COMP;
4230 image: "00_progress_circle_bg_17.png" COMP;
4231 image: "00_progress_circle_bg_18.png" COMP;
4232 image: "00_progress_circle_bg_19.png" COMP;
4233 image: "00_progress_circle_bg_20.png" COMP;
4234 image: "00_progress_circle_bg_21.png" COMP;
4235 image: "00_progress_circle_bg_22.png" COMP;
4236 image: "00_progress_circle_bg_23.png" COMP;
4237 image: "00_progress_circle_bg_24.png" COMP;
4238 image: "00_progress_circle_bg_25.png" COMP;
4239 image: "00_progress_circle_bg_26.png" COMP;
4240 image: "00_progress_circle_bg_27.png" COMP;
4241 image: "00_progress_circle_bg_28.png" COMP;
4242 image: "00_progress_circle_bg_29.png" COMP;
4243 image: "00_progress_circle_bg_30.png" COMP;
4244 image: "00_progress_circle_bg_31.png" COMP;
4245 image: "00_progress_circle_bg_32.png" COMP;
4246 image: "00_progress_circle_bg_33.png" COMP;
4247 image: "00_progress_circle_bg_34.png" COMP;
4248 image: "00_progress_circle_bg_35.png" COMP;
4249 image: "00_progress_circle_bg_36.png" COMP;
4250 image: "00_progress_circle_bg_37.png" COMP;
4251 image: "00_progress_circle_bg_38.png" COMP;
4252 image: "00_progress_circle_bg_39.png" COMP;
4253 image: "00_progress_circle_bg_40.png" COMP;
4254 image: "00_progress_circle_bg_41.png" COMP;
4255 image: "00_progress_circle_bg_42.png" COMP;
4256 image: "00_progress_circle_bg_43.png" COMP;
4257 image: "00_progress_circle_bg_44.png" COMP;
4258 image: "00_progress_circle_bg_45.png" COMP;
4259 image: "00_progress_circle_bg_46.png" COMP;
4260 image: "00_progress_circle_bg_47.png" COMP;
4261 image: "00_progress_circle_bg_48.png" COMP;
4262 image: "00_progress_circle_bg_49.png" COMP;
4263 image: "00_progress_circle_bg_50.png" COMP;
4266 part { name: "elm.background.progressbar";
4271 state: "default" 0.0;
4274 part { name: "elm.swallow.bar";
4278 description { state: "default" 0.0;
4284 part { name: "elm.swallow.content";
4287 description { state: "default" 0.0;
4293 part { name: "elm.cur.progressbar";
4297 confine: "background";
4301 description { state: "default" 0.0;
4305 rel1.to: "background";
4306 rel2.to: "background";
4309 part { name: "background";
4312 clip_to: "elm.background.progressbar";
4314 state: "default" 0.0;
4315 min: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
4316 max: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
4318 aspect_preference: BOTH;
4320 normal: "00_progress_circle_bg.png";
4324 part { name: "progress_circle_img";
4327 clip_to: "elm.background.progressbar";
4329 state: "default" 0.0;
4337 aspect_preference: BOTH;
4339 normal: "00_progress_circle_bg.png";
4342 description { state: "progress" 0.0;
4343 inherit: "default" 0.0;
4345 normal: "00_progress_circle_bg.png";
4348 PROGRESS_CIRCLE_BG_DESC( 01 )
4349 PROGRESS_CIRCLE_BG_DESC( 02 )
4350 PROGRESS_CIRCLE_BG_DESC( 03 )
4351 PROGRESS_CIRCLE_BG_DESC( 04 )
4352 PROGRESS_CIRCLE_BG_DESC( 05 )
4353 PROGRESS_CIRCLE_BG_DESC( 06 )
4354 PROGRESS_CIRCLE_BG_DESC( 07 )
4355 PROGRESS_CIRCLE_BG_DESC( 08 )
4356 PROGRESS_CIRCLE_BG_DESC( 09 )
4357 PROGRESS_CIRCLE_BG_DESC( 10 )
4358 PROGRESS_CIRCLE_BG_DESC( 11 )
4359 PROGRESS_CIRCLE_BG_DESC( 12 )
4360 PROGRESS_CIRCLE_BG_DESC( 13 )
4361 PROGRESS_CIRCLE_BG_DESC( 14 )
4362 PROGRESS_CIRCLE_BG_DESC( 15 )
4363 PROGRESS_CIRCLE_BG_DESC( 16 )
4364 PROGRESS_CIRCLE_BG_DESC( 17 )
4365 PROGRESS_CIRCLE_BG_DESC( 18 )
4366 PROGRESS_CIRCLE_BG_DESC( 19 )
4367 PROGRESS_CIRCLE_BG_DESC( 20 )
4368 PROGRESS_CIRCLE_BG_DESC( 21 )
4369 PROGRESS_CIRCLE_BG_DESC( 22 )
4370 PROGRESS_CIRCLE_BG_DESC( 23 )
4371 PROGRESS_CIRCLE_BG_DESC( 24 )
4372 PROGRESS_CIRCLE_BG_DESC( 25 )
4373 PROGRESS_CIRCLE_BG_DESC( 26 )
4374 PROGRESS_CIRCLE_BG_DESC( 27 )
4375 PROGRESS_CIRCLE_BG_DESC( 28 )
4376 PROGRESS_CIRCLE_BG_DESC( 29 )
4377 PROGRESS_CIRCLE_BG_DESC( 30 )
4378 PROGRESS_CIRCLE_BG_DESC( 31 )
4379 PROGRESS_CIRCLE_BG_DESC( 32 )
4380 PROGRESS_CIRCLE_BG_DESC( 33 )
4381 PROGRESS_CIRCLE_BG_DESC( 34 )
4382 PROGRESS_CIRCLE_BG_DESC( 35 )
4383 PROGRESS_CIRCLE_BG_DESC( 36 )
4384 PROGRESS_CIRCLE_BG_DESC( 37 )
4385 PROGRESS_CIRCLE_BG_DESC( 38 )
4386 PROGRESS_CIRCLE_BG_DESC( 39 )
4387 PROGRESS_CIRCLE_BG_DESC( 40 )
4388 PROGRESS_CIRCLE_BG_DESC( 41 )
4389 PROGRESS_CIRCLE_BG_DESC( 42 )
4390 PROGRESS_CIRCLE_BG_DESC( 43 )
4391 PROGRESS_CIRCLE_BG_DESC( 44 )
4392 PROGRESS_CIRCLE_BG_DESC( 45 )
4393 PROGRESS_CIRCLE_BG_DESC( 46 )
4394 PROGRESS_CIRCLE_BG_DESC( 47 )
4395 PROGRESS_CIRCLE_BG_DESC( 48 )
4396 PROGRESS_CIRCLE_BG_DESC( 49 )
4397 PROGRESS_CIRCLE_BG_DESC( 50 )
4402 public curr_state = 0;
4403 public final_state = 0;
4404 public prev_state = 0;
4405 public max_state = 0; // maximum possible state, a normalized value
4406 public circle_zero_cross = 0; // whether circle crosses its Zero state or not.
4408 public progress_circle_state_change(){
4409 new Float:x, Float:y, Float:final, Float:max;
4410 max = PROGRESS_CIRCLE_TOTAL_STATES / 100.0;
4411 set_float(max_state, max);
4412 get_drag(PART:"elm.cur.progressbar", x, y);
4413 final = x * max; // calculate final state as per the set drag value
4414 set_float(final_state, final);
4415 if( final < get_float(prev_state) )
4416 set_int(circle_zero_cross, 1); // high value to low value, crosses zero state.
4418 set_int(circle_zero_cross, 0); // low value to high value, no need for zero state crossing.
4421 program { name: "circle_progress";
4423 new Float:curr, Float:final, Float:max;
4425 zero_cross = get_int(circle_zero_cross);
4426 max = get_float(max_state);
4427 curr = get_float(curr_state);
4428 set_state(PART:"progress_circle_img", "progress", curr);
4429 curr += 0.01; // for next immediate state.
4430 if( (curr > max) && (zero_cross == 1) )
4432 curr = 0.00; // once it crosses Zero state, reset its state.
4433 set_int(circle_zero_cross, 0);
4435 else if( curr > max ) return;
4437 final = get_float(final_state);
4438 zero_cross = get_int(circle_zero_cross);
4439 if( (curr > final) && (zero_cross == 0) )
4441 set_float(prev_state, get_float(curr_state));
4444 set_float(curr_state, curr);
4448 program { name: "delay";
4449 action: STATE_SET "progress" 0.10;
4450 target: "progress_circle_img";
4451 in: CIRCLE_PROGRESSING_DELAY 0.0;
4452 after: "circle_progress";
4454 program { name: "circle_start";
4455 signal: "elm,state,pulse,start";
4458 set_float(curr_state, 0.0);
4460 after: "circle_progress";
4462 program { name: "circle_stop";
4463 signal: "elm,state,pulse,stop";
4465 action: ACTION_STOP;
4466 target: "circle_progress";
4468 target: "circle_start";
4470 program { name: "circle_state_change";
4471 signal: "elm,state,change";
4474 progress_circle_state_change()
4476 after: "circle_progress";