}
}
-#define PROCESS_IMAGE(SIZE, NUM) \
- image: "process/white/"SIZE"/00_list_process_"NUM".png" COMP;
+#define PROCESS_IMAGE(COLOR, SIZE, NUM) \
+ image: "process/"COLOR"/"SIZE"/00_list_process_"NUM".png" COMP;
-#define PROCESS_IMAGES(SIZE) \
+#define PROCESS_IMAGES(COLOR, SIZE) \
images { \
- PROCESS_IMAGE(SIZE, 01) \
- PROCESS_IMAGE(SIZE, 02) \
- PROCESS_IMAGE(SIZE, 03) \
- PROCESS_IMAGE(SIZE, 04) \
- PROCESS_IMAGE(SIZE, 05) \
- PROCESS_IMAGE(SIZE, 06) \
- PROCESS_IMAGE(SIZE, 07) \
- PROCESS_IMAGE(SIZE, 08) \
- PROCESS_IMAGE(SIZE, 09) \
- PROCESS_IMAGE(SIZE, 10) \
- PROCESS_IMAGE(SIZE, 11) \
- PROCESS_IMAGE(SIZE, 12) \
- PROCESS_IMAGE(SIZE, 13) \
- PROCESS_IMAGE(SIZE, 14) \
- PROCESS_IMAGE(SIZE, 15) \
- PROCESS_IMAGE(SIZE, 16) \
- PROCESS_IMAGE(SIZE, 17) \
- PROCESS_IMAGE(SIZE, 18) \
- PROCESS_IMAGE(SIZE, 19) \
- PROCESS_IMAGE(SIZE, 20) \
- PROCESS_IMAGE(SIZE, 21) \
- PROCESS_IMAGE(SIZE, 22) \
- PROCESS_IMAGE(SIZE, 23) \
- PROCESS_IMAGE(SIZE, 24) \
- PROCESS_IMAGE(SIZE, 25) \
- PROCESS_IMAGE(SIZE, 26) \
- PROCESS_IMAGE(SIZE, 27) \
- PROCESS_IMAGE(SIZE, 28) \
- PROCESS_IMAGE(SIZE, 29) \
- PROCESS_IMAGE(SIZE, 30) \
+ PROCESS_IMAGE(COLOR, SIZE, 01) \
+ PROCESS_IMAGE(COLOR, SIZE, 02) \
+ PROCESS_IMAGE(COLOR, SIZE, 03) \
+ PROCESS_IMAGE(COLOR, SIZE, 04) \
+ PROCESS_IMAGE(COLOR, SIZE, 05) \
+ PROCESS_IMAGE(COLOR, SIZE, 06) \
+ PROCESS_IMAGE(COLOR, SIZE, 07) \
+ PROCESS_IMAGE(COLOR, SIZE, 08) \
+ PROCESS_IMAGE(COLOR, SIZE, 09) \
+ PROCESS_IMAGE(COLOR, SIZE, 10) \
+ PROCESS_IMAGE(COLOR, SIZE, 11) \
+ PROCESS_IMAGE(COLOR, SIZE, 12) \
+ PROCESS_IMAGE(COLOR, SIZE, 13) \
+ PROCESS_IMAGE(COLOR, SIZE, 14) \
+ PROCESS_IMAGE(COLOR, SIZE, 15) \
+ PROCESS_IMAGE(COLOR, SIZE, 16) \
+ PROCESS_IMAGE(COLOR, SIZE, 17) \
+ PROCESS_IMAGE(COLOR, SIZE, 18) \
+ PROCESS_IMAGE(COLOR, SIZE, 19) \
+ PROCESS_IMAGE(COLOR, SIZE, 20) \
+ PROCESS_IMAGE(COLOR, SIZE, 21) \
+ PROCESS_IMAGE(COLOR, SIZE, 22) \
+ PROCESS_IMAGE(COLOR, SIZE, 23) \
+ PROCESS_IMAGE(COLOR, SIZE, 24) \
+ PROCESS_IMAGE(COLOR, SIZE, 25) \
+ PROCESS_IMAGE(COLOR, SIZE, 26) \
+ PROCESS_IMAGE(COLOR, SIZE, 27) \
+ PROCESS_IMAGE(COLOR, SIZE, 28) \
+ PROCESS_IMAGE(COLOR, SIZE, 29) \
+ PROCESS_IMAGE(COLOR, SIZE, 30) \
}
-#define PROGRESS_DESC(SIZE, NUM ) \
+#define PROGRESS_DESC(COLOR, SIZE, NUM ) \
description { state: "pulse" 0.#NUM; \
inherit: "default" 0.0; \
image { \
- normal: "process/white/"SIZE"/00_list_process_"NUM".png"; \
+ normal: "process/"COLOR"/"SIZE"/00_list_process_"NUM".png"; \
} \
}
-#define PROCESS_DESCS(SIZE, WIDTH, HEIGHT) \
+#define PROCESS_DESCS(COLOR, SIZE, WIDTH, HEIGHT) \
description { \
state: "default" 0.0; \
min: WIDTH HEIGHT; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image { \
- normal: "process/white/"SIZE"/00_list_process_01.png"; \
+ normal: "process/"COLOR"/"SIZE"/00_list_process_01.png"; \
} \
} \
description { state: "pulse" 0.0; \
inherit: "default" 0.0; \
image { \
- normal: "process/white/"SIZE"/00_list_process_01.png"; \
+ normal: "process/"COLOR"/"SIZE"/00_list_process_01.png"; \
} \
} \
- PROGRESS_DESC(SIZE, 01 ) \
- PROGRESS_DESC(SIZE, 03 ) \
- PROGRESS_DESC(SIZE, 04 ) \
- PROGRESS_DESC(SIZE, 05 ) \
- PROGRESS_DESC(SIZE, 06 ) \
- PROGRESS_DESC(SIZE, 07 ) \
- PROGRESS_DESC(SIZE, 08 ) \
- PROGRESS_DESC(SIZE, 09 ) \
- PROGRESS_DESC(SIZE, 10 ) \
- PROGRESS_DESC(SIZE, 11 ) \
- PROGRESS_DESC(SIZE, 12 ) \
- PROGRESS_DESC(SIZE, 13 ) \
- PROGRESS_DESC(SIZE, 14 ) \
- PROGRESS_DESC(SIZE, 15 ) \
- PROGRESS_DESC(SIZE, 16 ) \
- PROGRESS_DESC(SIZE, 17 ) \
- PROGRESS_DESC(SIZE, 18 ) \
- PROGRESS_DESC(SIZE, 19 ) \
- PROGRESS_DESC(SIZE, 20 ) \
- PROGRESS_DESC(SIZE, 21 ) \
- PROGRESS_DESC(SIZE, 22 ) \
- PROGRESS_DESC(SIZE, 23 ) \
- PROGRESS_DESC(SIZE, 24 ) \
- PROGRESS_DESC(SIZE, 25 ) \
- PROGRESS_DESC(SIZE, 26 ) \
- PROGRESS_DESC(SIZE, 27 ) \
- PROGRESS_DESC(SIZE, 28 ) \
- PROGRESS_DESC(SIZE, 29 ) \
- PROGRESS_DESC(SIZE, 30 )
+ PROGRESS_DESC(COLOR, SIZE, 01 ) \
+ PROGRESS_DESC(COLOR, SIZE, 03 ) \
+ PROGRESS_DESC(COLOR, SIZE, 04 ) \
+ PROGRESS_DESC(COLOR, SIZE, 05 ) \
+ PROGRESS_DESC(COLOR, SIZE, 06 ) \
+ PROGRESS_DESC(COLOR, SIZE, 07 ) \
+ PROGRESS_DESC(COLOR, SIZE, 08 ) \
+ PROGRESS_DESC(COLOR, SIZE, 09 ) \
+ PROGRESS_DESC(COLOR, SIZE, 10 ) \
+ PROGRESS_DESC(COLOR, SIZE, 11 ) \
+ PROGRESS_DESC(COLOR, SIZE, 12 ) \
+ PROGRESS_DESC(COLOR, SIZE, 13 ) \
+ PROGRESS_DESC(COLOR, SIZE, 14 ) \
+ PROGRESS_DESC(COLOR, SIZE, 15 ) \
+ PROGRESS_DESC(COLOR, SIZE, 16 ) \
+ PROGRESS_DESC(COLOR, SIZE, 17 ) \
+ PROGRESS_DESC(COLOR, SIZE, 18 ) \
+ PROGRESS_DESC(COLOR, SIZE, 19 ) \
+ PROGRESS_DESC(COLOR, SIZE, 20 ) \
+ PROGRESS_DESC(COLOR, SIZE, 21 ) \
+ PROGRESS_DESC(COLOR, SIZE, 22 ) \
+ PROGRESS_DESC(COLOR, SIZE, 23 ) \
+ PROGRESS_DESC(COLOR, SIZE, 24 ) \
+ PROGRESS_DESC(COLOR, SIZE, 25 ) \
+ PROGRESS_DESC(COLOR, SIZE, 26 ) \
+ PROGRESS_DESC(COLOR, SIZE, 27 ) \
+ PROGRESS_DESC(COLOR, SIZE, 28 ) \
+ PROGRESS_DESC(COLOR, SIZE, 29 ) \
+ PROGRESS_DESC(COLOR, SIZE, 30 )
#define PROGRESSING_DELAY 0.07
group { name: "elm/progressbar/horizontal/list_process";
alias: "elm/progressbar/horizontal/process";
- PROCESS_IMAGES("63x63")
+ PROCESS_IMAGES("white", "63x63")
parts {
part { name: "elm.background.progressbar";
mouse_events: 0;
mouse_events: 0;
scale: 1;
clip_to: "elm.background.progressbar";
- PROCESS_DESCS("63x63", 63, 63)
+ PROCESS_DESCS("white", "63x63", 63, 63)
}
}
script {
}
group { name: "elm/progressbar/horizontal/process_medium";
- PROCESS_IMAGES("54x54")
+ PROCESS_IMAGES("white", "54x54")
parts {
part { name: "elm.background.progressbar";
mouse_events: 0;
mouse_events: 0;
scale: 1;
clip_to: "elm.background.progressbar";
- PROCESS_DESCS("54x54", 54, 54)
+ PROCESS_DESCS("white", "54x54", 54, 54)
}
}
script {
group { name: "elm/progressbar/horizontal/list_process_small";
alias: "elm/progressbar/horizontal/process_small";
- PROCESS_IMAGES("36x36")
+ PROCESS_IMAGES("white", "36x36")
parts {
part { name: "elm.background.progressbar";
mouse_events: 0;
mouse_events: 0;
scale: 1;
clip_to: "elm.background.progressbar";
- PROCESS_DESCS("36x36", 36, 36)
+ PROCESS_DESCS("white", "36x36", 36, 36)
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.30 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+// Black progressbar
+ group { name: "elm/progressbar/horizontal/list_process_black";
+ alias: "elm/progressbar/horizontal/process_black";
+ PROCESS_IMAGES("black", "63x63")
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ PROCESS_DESCS("black", "63x63", 63, 63)
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.30 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/process_medium_black";
+ PROCESS_IMAGES("black", "54x54")
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ PROCESS_DESCS("black", "54x54", 54, 54)
+ }
+ }
+ script {
+ public pulse_state;
+ }
+ programs {
+ program { name: "continue_pulse";
+ script {
+ new Float:state;
+ state = get_float(pulse_state);
+ set_state(PART:"background", "pulse", state);
+ state += 0.01;
+ if( state > 0.30 )
+ state = 0.01;
+ set_float(pulse_state, state);
+ }
+ after: "delay";
+ }
+ program { name: "delay";
+ action: STATE_SET "pulse" 0.10;
+ target: "background";
+ in: PROGRESSING_DELAY 0.0;
+ after: "continue_pulse";
+ }
+ program { name: "start_pulse";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ script {
+ set_float(pulse_state, 0.0);
+ }
+ after: "continue_pulse";
+ }
+ program { name: "stop_pulse";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: ACTION_STOP;
+ target: "continue_pulse";
+ target: "delay";
+ target: "start_pulse";
+ after: "init_pulse";
+ }
+ program { name: "init_pulse";
+ action: STATE_SET "default" 0.0;
+ target: "background";
+ }
+ }
+ }
+
+ group { name: "elm/progressbar/horizontal/list_process_small_black";
+ alias: "elm/progressbar/horizontal/process_small_black";
+ PROCESS_IMAGES("black", "36x36")
+ parts {
+ part { name: "elm.background.progressbar";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.bar";
+ mouse_events: 0;
+ scale: 1;
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "background";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "elm.background.progressbar";
+ PROCESS_DESCS("black", "36x36", 36, 36)
}
}
script {