}
}
- group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleWhiteLarge";
- images {
- image: "progress_01.png" COMP;
- image: "progress_02.png" COMP;
- image: "progress_03.png" COMP;
- image: "progress_04.png" COMP;
- image: "progress_05.png" COMP;
- image: "progress_06.png" COMP;
- image: "progress_07.png" COMP;
- image: "progress_08.png" COMP;
- image: "progress_09.png" COMP;
- image: "progress_10.png" COMP;
- image: "progress_11.png" COMP;
- image: "progress_12.png" COMP;
- }
- 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";
- description {
- state: "default" 0.0;
- min: 60 60;
- max: 60 60;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "progress_01.png";
- }
- }
- description {
- state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "progress_01.png";
- }
- }
- description {
- state: "pulse" 0.01;
- inherit: "default" 0.0;
- image {
- normal: "progress_01.png";
- }
- }
- description {
- state: "pulse" 0.02;
- inherit: "default" 0.0;
- image {
- normal: "progress_02.png";
- }
- }
- description {
- state: "pulse" 0.03;
- inherit: "default" 0.0;
- image {
- normal: "progress_03.png";
- }
- }
- description {
- state: "pulse" 0.04;
- inherit: "default" 0.0;
- image {
- normal: "progress_04.png";
- }
- }
- description {
- state: "pulse" 0.05;
- inherit: "default" 0.0;
- image {
- normal: "progress_05.png";
- }
- }
- description {
- state: "pulse" 0.06;
- inherit: "default" 0.0;
- image {
- normal: "progress_06.png";
- }
- }
- description {
- state: "pulse" 0.07;
- inherit: "default" 0.0;
- image {
- normal: "progress_07.png";
- }
- }
- description {
- state: "pulse" 0.08;
- inherit: "default" 0.0;
- image {
- normal: "progress_08.png";
- }
- }
- description {
- state: "pulse" 0.09;
- inherit: "default" 0.0;
- image {
- normal: "progress_09.png";
- }
- }
- description {
- state: "pulse" 0.10;
- inherit: "default" 0.0;
- image {
- normal: "progress_10.png";
- }
- }
- description {
- state: "pulse" 0.11;
- inherit: "default" 0.0;
- image {
- normal: "progress_11.png";
- }
- }
- description {
- state: "pulse" 0.12;
- inherit: "default" 0.0;
- image {
- normal: "progress_12.png";
- }
- }
- }
- }
- 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.12 )
- 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/UIActivityIndicatorStyleWhite";
- images {
- image: "progress_01_s.png" COMP;
- image: "progress_02_s.png" COMP;
- image: "progress_03_s.png" COMP;
- image: "progress_04_s.png" COMP;
- image: "progress_05_s.png" COMP;
- image: "progress_06_s.png" COMP;
- image: "progress_07_s.png" COMP;
- image: "progress_08_s.png" COMP;
- image: "progress_09_s.png" COMP;
- image: "progress_10_s.png" COMP;
- image: "progress_11_s.png" COMP;
- image: "progress_12_s.png" COMP;
- }
- 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";
- description {
- state: "default" 0.0;
- min: 30 30;
- max: 30 30;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "progress_01_s.png";
- }
- }
- description {
- state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_s.png";
- }
- }
- description {
- state: "pulse" 0.01;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_s.png";
- }
- }
- description {
- state: "pulse" 0.02;
- inherit: "default" 0.0;
- image {
- normal: "progress_02_s.png";
- }
- }
- description {
- state: "pulse" 0.03;
- inherit: "default" 0.0;
- image {
- normal: "progress_03_s.png";
- }
- }
- description {
- state: "pulse" 0.04;
- inherit: "default" 0.0;
- image {
- normal: "progress_04_s.png";
- }
- }
- description {
- state: "pulse" 0.05;
- inherit: "default" 0.0;
- image {
- normal: "progress_05_s.png";
- }
- }
- description {
- state: "pulse" 0.06;
- inherit: "default" 0.0;
- image {
- normal: "progress_06_s.png";
- }
- }
- description {
- state: "pulse" 0.07;
- inherit: "default" 0.0;
- image {
- normal: "progress_07_s.png";
- }
- }
- description {
- state: "pulse" 0.08;
- inherit: "default" 0.0;
- image {
- normal: "progress_08_s.png";
- }
- }
- description {
- state: "pulse" 0.09;
- inherit: "default" 0.0;
- image {
- normal: "progress_09_s.png";
- }
- }
- description {
- state: "pulse" 0.10;
- inherit: "default" 0.0;
- image {
- normal: "progress_10_s.png";
- }
- }
- description {
- state: "pulse" 0.11;
- inherit: "default" 0.0;
- image {
- normal: "progress_11_s.png";
- }
- }
- description {
- state: "pulse" 0.12;
- inherit: "default" 0.0;
- image {
- normal: "progress_12_s.png";
- }
- }
- }
- }
- 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.12 )
- 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/UIActivityIndicatorStyleGray";
- images {
- image: "progress_01_g.png" COMP;
- image: "progress_02_g.png" COMP;
- image: "progress_03_g.png" COMP;
- image: "progress_04_g.png" COMP;
- image: "progress_05_g.png" COMP;
- image: "progress_06_g.png" COMP;
- image: "progress_07_g.png" COMP;
- image: "progress_08_g.png" COMP;
- image: "progress_09_g.png" COMP;
- image: "progress_10_g.png" COMP;
- image: "progress_11_g.png" COMP;
- image: "progress_12_g.png" COMP;
- }
- 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";
- description {
- state: "default" 0.0;
- min: 30 30;
- max: 30 30;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "progress_01_g.png";
- }
- }
- description {
- state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_g.png";
- }
- }
- description {
- state: "pulse" 0.01;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_g.png";
- }
- }
- description {
- state: "pulse" 0.02;
- inherit: "default" 0.0;
- image {
- normal: "progress_02_g.png";
- }
- }
- description {
- state: "pulse" 0.03;
- inherit: "default" 0.0;
- image {
- normal: "progress_03_g.png";
- }
- }
- description {
- state: "pulse" 0.04;
- inherit: "default" 0.0;
- image {
- normal: "progress_04_g.png";
- }
- }
- description {
- state: "pulse" 0.05;
- inherit: "default" 0.0;
- image {
- normal: "progress_05_g.png";
- }
- }
- description {
- state: "pulse" 0.06;
- inherit: "default" 0.0;
- image {
- normal: "progress_06_g.png";
- }
- }
- description {
- state: "pulse" 0.07;
- inherit: "default" 0.0;
- image {
- normal: "progress_07_g.png";
- }
- }
- description {
- state: "pulse" 0.08;
- inherit: "default" 0.0;
- image {
- normal: "progress_08_g.png";
- }
- }
- description {
- state: "pulse" 0.09;
- inherit: "default" 0.0;
- image {
- normal: "progress_09_g.png";
- }
- }
- description {
- state: "pulse" 0.10;
- inherit: "default" 0.0;
- image {
- normal: "progress_10_g.png";
- }
- }
- description {
- state: "pulse" 0.11;
- inherit: "default" 0.0;
- image {
- normal: "progress_11_g.png";
- }
- }
- description {
- state: "pulse" 0.12;
- inherit: "default" 0.0;
- image {
- normal: "progress_12_g.png";
- }
- }
- }
- }
- 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.12 )
- 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";
- }
- }
- }
-
#define CIRCLE_PROGRESSING_DELAY 0.03
#define PROGRESS_CIRCLE_TOTAL_STATES 50