[elm_genlist] [Fix] On touch in text area of genlist item, touch sound was not coming.
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / progressbar.edc
index 744b150..54f3348 100644 (file)
       }
    }
 
-#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 {
       }
    }
 
-   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;
-      }
+// 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;
             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";
-               }
-            }
+            PROCESS_DESCS("black", "63x63", 63, 63)
          }
       }
       script {
                state = get_float(pulse_state);
                set_state(PART:"background", "pulse", state);
                state += 0.01;
-               if( state > 0.12 )
+               if( state > 0.30 )
                   state = 0.01;
                set_float(pulse_state, state);
             }
-            after: "delay";
+               after: "delay";
          }
          program { name: "delay";
-             action: STATE_SET "pulse" 0.10;
-             target: "background";
-             in: PROGRESSING_DELAY 0.0;
-             after: "continue_pulse";
+            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";
       }
    }
 
-   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;
-      }
+   group { name: "elm/progressbar/horizontal/process_medium_black";
+      PROCESS_IMAGES("black", "54x54")
       parts {
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             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";
-               }
-            }
+            PROCESS_DESCS("black", "54x54", 54, 54)
          }
       }
       script {
                state = get_float(pulse_state);
                set_state(PART:"background", "pulse", state);
                state += 0.01;
-               if( state > 0.12 )
+               if( state > 0.30 )
                   state = 0.01;
                set_float(pulse_state, state);
             }
-            after: "delay";
+               after: "delay";
          }
          program { name: "delay";
             action: STATE_SET "pulse" 0.10;
                set_float(pulse_state, 0.0);
             }
             after: "continue_pulse";
-           }
+         }
          program { name: "stop_pulse";
             signal: "elm,state,pulse,stop";
             source: "elm";
       }
    }
 
-   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;
-      }
+   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;
             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";
-               }
-            }
+            PROCESS_DESCS("black", "36x36", 36, 36)
          }
       }
       script {
                state = get_float(pulse_state);
                set_state(PART:"background", "pulse", state);
                state += 0.01;
-               if( state > 0.12 )
+               if( state > 0.30 )
                   state = 0.01;
                set_float(pulse_state, state);
             }
-            after: "delay";
+               after: "delay";
          }
          program { name: "delay";
             action: STATE_SET "pulse" 0.10;