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_bg.png" COMP;
2179 image: "00_progress_pending_02_bg.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_bg.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_bg.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(COLOR, SIZE, NUM) \
3097 image: ""COLOR"/"SIZE"/00_list_process_"NUM".png" COMP;
3099 #define PROCESS_IMAGES(COLOR, SIZE) \
3101 PROCESS_IMAGE(COLOR, SIZE, 01) \
3102 PROCESS_IMAGE(COLOR, SIZE, 02) \
3103 PROCESS_IMAGE(COLOR, SIZE, 03) \
3104 PROCESS_IMAGE(COLOR, SIZE, 04) \
3105 PROCESS_IMAGE(COLOR, SIZE, 05) \
3106 PROCESS_IMAGE(COLOR, SIZE, 06) \
3107 PROCESS_IMAGE(COLOR, SIZE, 07) \
3108 PROCESS_IMAGE(COLOR, SIZE, 08) \
3109 PROCESS_IMAGE(COLOR, SIZE, 09) \
3110 PROCESS_IMAGE(COLOR, SIZE, 10) \
3111 PROCESS_IMAGE(COLOR, SIZE, 11) \
3112 PROCESS_IMAGE(COLOR, SIZE, 12) \
3113 PROCESS_IMAGE(COLOR, SIZE, 13) \
3114 PROCESS_IMAGE(COLOR, SIZE, 14) \
3115 PROCESS_IMAGE(COLOR, SIZE, 15) \
3116 PROCESS_IMAGE(COLOR, SIZE, 16) \
3117 PROCESS_IMAGE(COLOR, SIZE, 17) \
3118 PROCESS_IMAGE(COLOR, SIZE, 18) \
3119 PROCESS_IMAGE(COLOR, SIZE, 19) \
3120 PROCESS_IMAGE(COLOR, SIZE, 20) \
3121 PROCESS_IMAGE(COLOR, SIZE, 21) \
3122 PROCESS_IMAGE(COLOR, SIZE, 22) \
3123 PROCESS_IMAGE(COLOR, SIZE, 23) \
3124 PROCESS_IMAGE(COLOR, SIZE, 24) \
3125 PROCESS_IMAGE(COLOR, SIZE, 25) \
3126 PROCESS_IMAGE(COLOR, SIZE, 26) \
3127 PROCESS_IMAGE(COLOR, SIZE, 27) \
3128 PROCESS_IMAGE(COLOR, SIZE, 28) \
3129 PROCESS_IMAGE(COLOR, SIZE, 29) \
3130 PROCESS_IMAGE(COLOR, SIZE, 30) \
3133 #define PROGRESS_DESC(COLOR, SIZE, NUM ) \
3134 description { state: "pulse" 0.#NUM; \
3135 inherit: "default" 0.0; \
3137 normal: ""COLOR"/"SIZE"/00_list_process_"NUM".png"; \
3141 #define PROCESS_DESCS(COLOR, SIZE, WIDTH, HEIGHT) \
3143 state: "default" 0.0; \
3144 min: WIDTH HEIGHT; \
3145 max: WIDTH HEIGHT; \
3147 aspect_preference: BOTH; \
3149 normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
3152 description { state: "pulse" 0.0; \
3153 inherit: "default" 0.0; \
3155 normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
3158 PROGRESS_DESC(COLOR, SIZE, 01 ) \
3159 PROGRESS_DESC(COLOR, SIZE, 03 ) \
3160 PROGRESS_DESC(COLOR, SIZE, 04 ) \
3161 PROGRESS_DESC(COLOR, SIZE, 05 ) \
3162 PROGRESS_DESC(COLOR, SIZE, 06 ) \
3163 PROGRESS_DESC(COLOR, SIZE, 07 ) \
3164 PROGRESS_DESC(COLOR, SIZE, 08 ) \
3165 PROGRESS_DESC(COLOR, SIZE, 09 ) \
3166 PROGRESS_DESC(COLOR, SIZE, 10 ) \
3167 PROGRESS_DESC(COLOR, SIZE, 11 ) \
3168 PROGRESS_DESC(COLOR, SIZE, 12 ) \
3169 PROGRESS_DESC(COLOR, SIZE, 13 ) \
3170 PROGRESS_DESC(COLOR, SIZE, 14 ) \
3171 PROGRESS_DESC(COLOR, SIZE, 15 ) \
3172 PROGRESS_DESC(COLOR, SIZE, 16 ) \
3173 PROGRESS_DESC(COLOR, SIZE, 17 ) \
3174 PROGRESS_DESC(COLOR, SIZE, 18 ) \
3175 PROGRESS_DESC(COLOR, SIZE, 19 ) \
3176 PROGRESS_DESC(COLOR, SIZE, 20 ) \
3177 PROGRESS_DESC(COLOR, SIZE, 21 ) \
3178 PROGRESS_DESC(COLOR, SIZE, 22 ) \
3179 PROGRESS_DESC(COLOR, SIZE, 23 ) \
3180 PROGRESS_DESC(COLOR, SIZE, 24 ) \
3181 PROGRESS_DESC(COLOR, SIZE, 25 ) \
3182 PROGRESS_DESC(COLOR, SIZE, 26 ) \
3183 PROGRESS_DESC(COLOR, SIZE, 27 ) \
3184 PROGRESS_DESC(COLOR, SIZE, 28 ) \
3185 PROGRESS_DESC(COLOR, SIZE, 29 ) \
3186 PROGRESS_DESC(COLOR, 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("White", "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("White", "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("White", "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("White", "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("White", "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("White", "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 // Black progressbar
3442 group { name: "elm/progressbar/horizontal/list_process_black";
3443 alias: "elm/progressbar/horizontal/process_black";
3444 PROCESS_IMAGES("Black", "63x63")
3446 part { name: "elm.background.progressbar";
3451 state: "default" 0.0;
3454 part { name: "elm.swallow.bar";
3458 description { state: "default" 0.0;
3464 part { name: "elm.swallow.content";
3467 description { state: "default" 0.0;
3473 part { name: "background";
3476 clip_to: "elm.background.progressbar";
3477 PROCESS_DESCS("Black", "63x63", 63, 63)
3484 program { name: "continue_pulse";
3487 state = get_float(pulse_state);
3488 set_state(PART:"background", "pulse", state);
3492 set_float(pulse_state, state);
3496 program { name: "delay";
3497 action: STATE_SET "pulse" 0.10;
3498 target: "background";
3499 in: PROGRESSING_DELAY 0.0;
3500 after: "continue_pulse";
3502 program { name: "start_pulse";
3503 signal: "elm,state,pulse,start";
3506 set_float(pulse_state, 0.0);
3508 after: "continue_pulse";
3510 program { name: "stop_pulse";
3511 signal: "elm,state,pulse,stop";
3513 action: ACTION_STOP;
3514 target: "continue_pulse";
3516 target: "start_pulse";
3517 after: "init_pulse";
3519 program { name: "init_pulse";
3520 action: STATE_SET "default" 0.0;
3521 target: "background";
3526 group { name: "elm/progressbar/horizontal/process_medium_black";
3527 PROCESS_IMAGES("Black", "54x54")
3529 part { name: "elm.background.progressbar";
3534 state: "default" 0.0;
3537 part { name: "elm.swallow.bar";
3541 description { state: "default" 0.0;
3547 part { name: "elm.swallow.content";
3550 description { state: "default" 0.0;
3556 part { name: "background";
3559 clip_to: "elm.background.progressbar";
3560 PROCESS_DESCS("Black", "54x54", 54, 54)
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/list_process_small_black";
3610 alias: "elm/progressbar/horizontal/process_small_black";
3611 PROCESS_IMAGES("Black", "36x36")
3613 part { name: "elm.background.progressbar";
3618 state: "default" 0.0;
3621 part { name: "elm.swallow.bar";
3625 description { state: "default" 0.0;
3631 part { name: "elm.swallow.content";
3634 description { state: "default" 0.0;
3640 part { name: "background";
3643 clip_to: "elm.background.progressbar";
3644 PROCESS_DESCS("Black", "36x36", 36, 36)
3651 program { name: "continue_pulse";
3654 state = get_float(pulse_state);
3655 set_state(PART:"background", "pulse", state);
3659 set_float(pulse_state, state);
3663 program { name: "delay";
3664 action: STATE_SET "pulse" 0.10;
3665 target: "background";
3666 in: PROGRESSING_DELAY 0.0;
3667 after: "continue_pulse";
3669 program { name: "start_pulse";
3670 signal: "elm,state,pulse,start";
3673 set_float(pulse_state, 0.0);
3675 after: "continue_pulse";
3677 program { name: "stop_pulse";
3678 signal: "elm,state,pulse,stop";
3680 action: ACTION_STOP;
3681 target: "continue_pulse";
3683 target: "start_pulse";
3684 after: "init_pulse";
3686 program { name: "init_pulse";
3687 action: STATE_SET "default" 0.0;
3688 target: "background";
3693 #define CIRCLE_PROGRESSING_DELAY 0.03
3694 #define PROGRESS_CIRCLE_TOTAL_STATES 50
3696 #define PROGRESS_CIRCLE_BG_DESC( param_num ) \
3697 description { state: "progress" 0.#param_num; \
3698 inherit: "default" 0.0; \
3700 normal: "00_progress_circle_bg_"#param_num".png"; \
3704 group { name: "elm/progressbar/horizontal/progress_circle";
3706 image: "00_progress_circle_bg.png" COMP;
3707 image: "00_progress_circle_bg_01.png" COMP;
3708 image: "00_progress_circle_bg_02.png" COMP;
3709 image: "00_progress_circle_bg_03.png" COMP;
3710 image: "00_progress_circle_bg_04.png" COMP;
3711 image: "00_progress_circle_bg_05.png" COMP;
3712 image: "00_progress_circle_bg_06.png" COMP;
3713 image: "00_progress_circle_bg_07.png" COMP;
3714 image: "00_progress_circle_bg_08.png" COMP;
3715 image: "00_progress_circle_bg_09.png" COMP;
3716 image: "00_progress_circle_bg_10.png" COMP;
3717 image: "00_progress_circle_bg_11.png" COMP;
3718 image: "00_progress_circle_bg_12.png" COMP;
3719 image: "00_progress_circle_bg_13.png" COMP;
3720 image: "00_progress_circle_bg_14.png" COMP;
3721 image: "00_progress_circle_bg_15.png" COMP;
3722 image: "00_progress_circle_bg_16.png" COMP;
3723 image: "00_progress_circle_bg_17.png" COMP;
3724 image: "00_progress_circle_bg_18.png" COMP;
3725 image: "00_progress_circle_bg_19.png" COMP;
3726 image: "00_progress_circle_bg_20.png" COMP;
3727 image: "00_progress_circle_bg_21.png" COMP;
3728 image: "00_progress_circle_bg_22.png" COMP;
3729 image: "00_progress_circle_bg_23.png" COMP;
3730 image: "00_progress_circle_bg_24.png" COMP;
3731 image: "00_progress_circle_bg_25.png" COMP;
3732 image: "00_progress_circle_bg_26.png" COMP;
3733 image: "00_progress_circle_bg_27.png" COMP;
3734 image: "00_progress_circle_bg_28.png" COMP;
3735 image: "00_progress_circle_bg_29.png" COMP;
3736 image: "00_progress_circle_bg_30.png" COMP;
3737 image: "00_progress_circle_bg_31.png" COMP;
3738 image: "00_progress_circle_bg_32.png" COMP;
3739 image: "00_progress_circle_bg_33.png" COMP;
3740 image: "00_progress_circle_bg_34.png" COMP;
3741 image: "00_progress_circle_bg_35.png" COMP;
3742 image: "00_progress_circle_bg_36.png" COMP;
3743 image: "00_progress_circle_bg_37.png" COMP;
3744 image: "00_progress_circle_bg_38.png" COMP;
3745 image: "00_progress_circle_bg_39.png" COMP;
3746 image: "00_progress_circle_bg_40.png" COMP;
3747 image: "00_progress_circle_bg_41.png" COMP;
3748 image: "00_progress_circle_bg_42.png" COMP;
3749 image: "00_progress_circle_bg_43.png" COMP;
3750 image: "00_progress_circle_bg_44.png" COMP;
3751 image: "00_progress_circle_bg_45.png" COMP;
3752 image: "00_progress_circle_bg_46.png" COMP;
3753 image: "00_progress_circle_bg_47.png" COMP;
3754 image: "00_progress_circle_bg_48.png" COMP;
3755 image: "00_progress_circle_bg_49.png" COMP;
3756 image: "00_progress_circle_bg_50.png" COMP;
3759 part { name: "elm.background.progressbar";
3764 state: "default" 0.0;
3767 part { name: "elm.swallow.bar";
3771 description { state: "default" 0.0;
3777 part { name: "elm.swallow.content";
3780 description { state: "default" 0.0;
3786 part { name: "elm.cur.progressbar";
3790 confine: "background";
3794 description { state: "default" 0.0;
3798 rel1.to: "background";
3799 rel2.to: "background";
3802 part { name: "background";
3805 clip_to: "elm.background.progressbar";
3807 state: "default" 0.0;
3808 min: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
3809 max: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
3811 aspect_preference: BOTH;
3813 normal: "00_progress_circle_bg.png";
3817 part { name: "progress_circle_img";
3820 clip_to: "elm.background.progressbar";
3822 state: "default" 0.0;
3830 aspect_preference: BOTH;
3832 normal: "00_progress_circle_bg.png";
3835 description { state: "progress" 0.0;
3836 inherit: "default" 0.0;
3838 normal: "00_progress_circle_bg.png";
3841 PROGRESS_CIRCLE_BG_DESC( 01 )
3842 PROGRESS_CIRCLE_BG_DESC( 02 )
3843 PROGRESS_CIRCLE_BG_DESC( 03 )
3844 PROGRESS_CIRCLE_BG_DESC( 04 )
3845 PROGRESS_CIRCLE_BG_DESC( 05 )
3846 PROGRESS_CIRCLE_BG_DESC( 06 )
3847 PROGRESS_CIRCLE_BG_DESC( 07 )
3848 PROGRESS_CIRCLE_BG_DESC( 08 )
3849 PROGRESS_CIRCLE_BG_DESC( 09 )
3850 PROGRESS_CIRCLE_BG_DESC( 10 )
3851 PROGRESS_CIRCLE_BG_DESC( 11 )
3852 PROGRESS_CIRCLE_BG_DESC( 12 )
3853 PROGRESS_CIRCLE_BG_DESC( 13 )
3854 PROGRESS_CIRCLE_BG_DESC( 14 )
3855 PROGRESS_CIRCLE_BG_DESC( 15 )
3856 PROGRESS_CIRCLE_BG_DESC( 16 )
3857 PROGRESS_CIRCLE_BG_DESC( 17 )
3858 PROGRESS_CIRCLE_BG_DESC( 18 )
3859 PROGRESS_CIRCLE_BG_DESC( 19 )
3860 PROGRESS_CIRCLE_BG_DESC( 20 )
3861 PROGRESS_CIRCLE_BG_DESC( 21 )
3862 PROGRESS_CIRCLE_BG_DESC( 22 )
3863 PROGRESS_CIRCLE_BG_DESC( 23 )
3864 PROGRESS_CIRCLE_BG_DESC( 24 )
3865 PROGRESS_CIRCLE_BG_DESC( 25 )
3866 PROGRESS_CIRCLE_BG_DESC( 26 )
3867 PROGRESS_CIRCLE_BG_DESC( 27 )
3868 PROGRESS_CIRCLE_BG_DESC( 28 )
3869 PROGRESS_CIRCLE_BG_DESC( 29 )
3870 PROGRESS_CIRCLE_BG_DESC( 30 )
3871 PROGRESS_CIRCLE_BG_DESC( 31 )
3872 PROGRESS_CIRCLE_BG_DESC( 32 )
3873 PROGRESS_CIRCLE_BG_DESC( 33 )
3874 PROGRESS_CIRCLE_BG_DESC( 34 )
3875 PROGRESS_CIRCLE_BG_DESC( 35 )
3876 PROGRESS_CIRCLE_BG_DESC( 36 )
3877 PROGRESS_CIRCLE_BG_DESC( 37 )
3878 PROGRESS_CIRCLE_BG_DESC( 38 )
3879 PROGRESS_CIRCLE_BG_DESC( 39 )
3880 PROGRESS_CIRCLE_BG_DESC( 40 )
3881 PROGRESS_CIRCLE_BG_DESC( 41 )
3882 PROGRESS_CIRCLE_BG_DESC( 42 )
3883 PROGRESS_CIRCLE_BG_DESC( 43 )
3884 PROGRESS_CIRCLE_BG_DESC( 44 )
3885 PROGRESS_CIRCLE_BG_DESC( 45 )
3886 PROGRESS_CIRCLE_BG_DESC( 46 )
3887 PROGRESS_CIRCLE_BG_DESC( 47 )
3888 PROGRESS_CIRCLE_BG_DESC( 48 )
3889 PROGRESS_CIRCLE_BG_DESC( 49 )
3890 PROGRESS_CIRCLE_BG_DESC( 50 )
3895 public curr_state = 0;
3896 public final_state = 0;
3897 public prev_state = 0;
3898 public max_state = 0; // maximum possible state, a normalized value
3899 public circle_zero_cross = 0; // whether circle crosses its Zero state or not.
3901 public progress_circle_state_change(){
3902 new Float:x, Float:y, Float:final, Float:max;
3903 max = PROGRESS_CIRCLE_TOTAL_STATES / 100.0;
3904 set_float(max_state, max);
3905 get_drag(PART:"elm.cur.progressbar", x, y);
3906 final = x * max; // calculate final state as per the set drag value
3907 set_float(final_state, final);
3908 if( final < get_float(prev_state) )
3909 set_int(circle_zero_cross, 1); // high value to low value, crosses zero state.
3911 set_int(circle_zero_cross, 0); // low value to high value, no need for zero state crossing.
3914 program { name: "circle_progress";
3916 new Float:curr, Float:final, Float:max;
3918 zero_cross = get_int(circle_zero_cross);
3919 max = get_float(max_state);
3920 curr = get_float(curr_state);
3921 set_state(PART:"progress_circle_img", "progress", curr);
3922 curr += 0.01; // for next immediate state.
3923 if( (curr > max) && (zero_cross == 1) )
3925 curr = 0.00; // once it crosses Zero state, reset its state.
3926 set_int(circle_zero_cross, 0);
3928 else if( curr > max ) return;
3930 final = get_float(final_state);
3931 zero_cross = get_int(circle_zero_cross);
3932 if( (curr > final) && (zero_cross == 0) )
3934 set_float(prev_state, get_float(curr_state));
3937 set_float(curr_state, curr);
3941 program { name: "delay";
3942 action: STATE_SET "progress" 0.10;
3943 target: "progress_circle_img";
3944 in: CIRCLE_PROGRESSING_DELAY 0.0;
3945 after: "circle_progress";
3947 program { name: "circle_start";
3948 signal: "elm,state,pulse,start";
3951 set_float(curr_state, 0.0);
3953 after: "circle_progress";
3955 program { name: "circle_stop";
3956 signal: "elm,state,pulse,stop";
3958 action: ACTION_STOP;
3959 target: "circle_progress";
3961 target: "circle_start";
3963 program { name: "circle_state_change";
3964 signal: "elm,state,change";
3967 progress_circle_state_change()
3969 after: "circle_progress";