[Refactoring] remove toolbar progress style and images
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / progressbar.edc
index 54f3348..f2c96a3 100644 (file)
          image: "progress_slider_bar.9.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             type: RECT;
             mouse_events: 0;
          image: "00_progress_bar.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.padding.left";
             type: RECT;
             scale: 1;
          image: "00_progress_bar.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "base";
             type: RECT;
             scale: 1;
          image: "00_winset_list_progress_bar.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "base";
             type: RECT;
             scale: 1;
          }
       }
    }
-   group { name: "elm/progressbar/horizontal/toolbar_progress";
+
+   group { name: "elm/progressbar/horizontal/pending_list";
       images {
-         image: "00_toolbar_progress_bg.png" COMP;
-         image: "00_toolbar_progress_bar.png" COMP;
+         image: "00_progress_pending_01_bg.png" COMP;
+         image: "00_progress_pending_02_bg.png" COMP;
       }
       parts {
-         part { name: "elm.padding.left";
-            type: RECT;
-            scale: 1;
-            description {
-               state: "default" 0.0;
-               min: 0 0;
-               fixed: 1 0;
-               rel1 {
-                  relative: 0.0  0.0;
-                  offset: 0 0;
-                  }
-               rel2 {
-                  relative: 0.0  1.0;
-                  offset: 0 0;
-                  }
-               color: 0 0 0 0;
-               align: 0.0 0.0;
-            }
-         }
-         part { name: "elm.padding.right";
+         part { name: "access";
             type: RECT;
-            scale: 1;
-            description {
-               state: "default" 0.0;
-               min: 0 0;
-               fixed: 1 0;
-               rel1 {
-                  relative: 1.0  0.0;
-                  offset: 0 0;
-               }
-               rel2 {
-                  relative: 1.0  1.0;
-                  offset: 0 0;
-               }
-               color: 0 0 0 0;
-               align: 1.0 0.0;
-            }
-         }
-        part { name: "elm.background.progressbar";
-            mouse_events: 0;
-            scale: 1;
-            type: RECT;
-            description {
-               state: "default" 0.0;
-               rel1 {
-                  to_x: "elm.padding.left";
-                  relative: 1.0 0.0;
-                  offset: 0 0;
-               }
-               rel2 {
-                  to_x: "elm.padding.right";
-                  relative: 0.0 1.0;
-                  offset: 0 0;
-               }
-            }
-         }
-         part { name: "elm.swallow.bar";
-            mouse_events: 0;
-            scale: 1;
-            type: SWALLOW;
-            description {
-               min: 48 14;
-               max: 99999 14;
-               state: "default" 0.0;
-               rel1 {
-                  to: "elm.background.progressbar";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to: "elm.background.progressbar";
-                  relative: 1.0 1.0;
-               }
-            }
-         }
-         part { name: "elm.swallow.content";
-            type: SWALLOW;
-            scale: 1;
-            description { state: "default" 0.0;
-               visible: 0;
-               align: 0.0 0.5;
-               rel1 {
-                  offset: 0 0;
-                  to_y: "elm.background.progressbar";
-               }
-               rel2 {
-                  offset: 0 -1;
-                  relative: 0.0 1.0;
-                  to_y: "elm.background.progressbar";
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               aspect: 1.0 1.0;
-               aspect_preference: VERTICAL;
-               rel2.offset: 4 -1;
-            }
-         }
-         part { name: "elm.text";
-            type: TEXT;
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               visible: 0;
-               fixed: 1 1;
-               align: 0.0 0.5;
-               rel1.to_x: "elm.swallow.content";
-               rel1.relative: 1.0 0.0;
-               rel1.offset: -1 4;
-               rel2.to_x: "elm.swallow.content";
-               rel2.relative: 1.0 1.0;
-               rel2.offset: -1 -5;
-               color: PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
-               text {
-                  font: "Tizen:style=Roman";
-                  size: 10;
-                  min: 0 0;
-                  align: 0.0 0.5;
-                  text_class: "tizen";
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-               text.min: 1 1;
-               rel1.offset: 0 4;
-               rel2.offset: 0 -5;
-            }
-         }
-         part { name: "background";
-            mouse_events: 0;
-            scale: 1;
-            clip_to: "elm.background.progressbar";
-            description {
-               state: "default" 0.0;
-               rel1 {
-                  to: "elm.swallow.bar";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to: "elm.swallow.bar";
-                  relative: 1.0 1.0;
-                  offset: -1 -1;
-               }
-               image {
-                  normal: "00_toolbar_progress_bg.png";
-                  border: 6 6 0 0;
-               }
-            }
-         }
-         part { name: "elm.text.status";
-            type: TEXT;
-            mouse_events: 0;
-            scale: 1;
             description { state: "default" 0.0;
                fixed: 1 1;
-               visible: 0;
-               rel1 {
-                  to: "background";
-                  relative: 0.5 0.5;
-               }
-               rel2 {
-                  to: "background";
-                  relative: 0.5 0.5;
-               }
-               text {
-                  font: "Tizen:style=Roman";
-                  size: 10;
-                  min: 0 0;
-                  align: 0.5 0.0;
-                  text_class: "tizen";
-               }
-               color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
-            }
-            description { state: "show" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-               text.min: 1 1;
-            }
-         }
-         part { name: "elm.progress.progressbar";
-            mouse_events: 0;
-            scale: 1;
-            clip_to: "elm.background.progressbar";
-            description {
-               state: "default" 0.0;
-               min: 0 0;
-               fixed: 1 1;
-               rel1 {
-                  to: "elm.swallow.bar";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to_y: "elm.swallow.bar";
-                  to_x: "elm.cur.progressbar";
-                  offset: -1 -1;
-               }
-               image {
-                  normal: "00_toolbar_progress_bar.png";
-                  border: 6 6 0 0;
-               }
-            }
-            description {
-               state: "invert" 0.0;
-               inherit: "default" 0.0;
-               rel1 {
-                  to_y: "elm.swallow.bar";
-                  to_x: "elm.cur.progressbar";
-               }
-               rel2 {
-                  to: "elm.swallow.bar";
-                  relative: 1.0 1.0;
-               }
-            }
-            description {
-               state: "state_begin" 0.0;
-               inherit: "default" 0.0;
-               rel1 {
-                  to: "elm.swallow.bar";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to: "elm.swallow.bar";
-                  relative: 0.1 1.0;
-               }
-            }
-            description {
-               state: "state_end" 0.0;
-               inherit: "default" 0.0;
-               rel1 {
-                  to: "elm.swallow.bar";
-                  relative: 0.9 0.0;
-               }
-               rel2 {
-                  to: "elm.swallow.bar";
-                  relative: 1.0 1.0;
-               }
-            }
-         }
-         part { name: "text-bar";
-            type: TEXT;
-            mouse_events: 0;
-            scale: 1;
-            clip_to: "progress-rect";
-            //effect: SOFT_SHADOW;
-            scale: 0;
-            description { state: "default" 0.0;
-               align: 0.0 0.0;
-               fixed: 1 1;
-               visible: 0;
-               rel1.to: "elm.text.status";
-               rel1.offset: -1 -1;
-               rel2.to: "elm.text.status";
-               text {
-                  text_source: "elm.text.status";
-                  font: "Tizen:style=Roman";
-                  size: 10;
-                  min: 0 0;
-                  align: 0.0 0.0;
-                  text_class: "tizen";
-               }
-               color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
-            }
-            description { state: "show" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-               text.min: 1 1;
-            }
-         }
-         part { name: "elm.cur.progressbar";
-            mouse_events: 0;
-            scale: 1;
-            dragable {
-               confine: "background";
-               x: 1 1 1;
-               y: 0 0 0;
-            }
-            description { state: "default" 0.0;
-               min: 0 28;
-               fixed: 1 1;
-               visible: 0;
-               rel1 {
-                  to: "background";
-                  relative: 0 0;
-               }
-               rel2.to: "background";
-            }
-         }
-         part { name: "progress-rect";
-            mouse_events: 0;
-            scale: 1;
-            type: RECT;
-            description {
-               state: "default" 0.0;
-               rel1.to: "elm.progress.progressbar";
-               rel2.to: "elm.progress.progressbar";
+               color: 0 0 0 0;
             }
          }
-      }
-      programs {
-         program { name: "label_show";
-            signal: "elm,state,text,visible";
-            source: "elm";
-            action:  STATE_SET "visible" 0.0;
-            target: "elm.text";
-         }
-         program { name: "label_hide";
-            signal: "elm,state,text,hidden";
-            source: "elm";
-            action:  STATE_SET "default" 0.0;
-            target: "elm.text";
-         }
-         program { name: "icon_show";
-            signal: "elm,state,icon,visible";
-            source: "elm";
-            action:  STATE_SET "visible" 0.0;
-            target: "elm.swallow.content";
-         }
-         program { name: "icon_hide";
-            signal: "elm,state,icon,hidden";
-            source: "elm";
-            action:  STATE_SET "default" 0.0;
-            target: "elm.swallow.content";
-         }
-         program { name: "units_show";
-            signal: "elm,state,units,visible";
-            source: "elm";
-            action:  STATE_SET "show" 0.0;
-            target: "text-bar";
-            target: "elm.text.status";
-         }
-         program { name: "units_hide";
-            signal: "elm,state,units,hidden";
-            source: "elm";
-            action:  STATE_SET "default" 0.0;
-            target: "text-bar";
-            target: "elm.text.status";
-         }
-         program { name: "slide_to_end";
-            action:  STATE_SET "state_end" 0.0;
-            transition: LINEAR 0.5;
-            target: "elm.progress.progressbar";
-            after: "slide_to_begin";
-         }
-         program { name: "slide_to_begin";
-            signal: "elm,state,slide,begin";
-            action: STATE_SET "state_begin" 0.0;
-            target: "elm.progress.progressbar";
-            transition: LINEAR 0.5;
-            after: "slide_to_end";
-         }
-         program { name: "start_pulse";
-            signal: "elm,state,pulse,start";
-            source: "elm";
-            after: "slide_to_end";
-         }
-         program { name: "stop_pulse";
-            signal: "elm,state,pulse,stop";
-            source: "elm";
-            action: ACTION_STOP;
-            target: "slide_to_begin";
-            target: "slide_to_end";
-            target: "start_pulse";
-            after: "state_pulse";
-         }
-         program { name: "state_pulse";
-            signal: "elm,state,pulse";
-            source: "elm";
-            action: STATE_SET "state_begin" 0.0;
-            target: "elm.progress.progressbar";
-            after: "units_hide";
-         }
-         program { name: "state_fraction";
-            signal: "elm,state,fraction";
-            source: "elm";
-            action: ACTION_STOP;
-            target: "slide_to_begin";
-            target: "slide_to_end";
-            target: "start_pulse";
-            action: STATE_SET "default" 0.0;
-            target: "elm.progress.progressbar";
-         }
-         program { name: "set_invert_on";
-            signal: "elm,state,inverted,on";
-            source: "elm";
-            action:  STATE_SET "invert" 0.0;
-            target: "elm.progress.progressbar";
-         }
-         program { name: "set_invert_off";
-            signal: "elm,state,inverted,off";
-            source: "elm";
-            action:  STATE_SET "default" 0.0;
-            target: "elm.progress.progressbar";
-         }
-      }
-   }
-
-   group { name: "elm/progressbar/horizontal/pending_list";
-      images {
-         image: "00_progress_pending_01_bg.png" COMP;
-         image: "00_progress_pending_02_bg.png" COMP;
-      }
-      parts {
          part { name: "elm.background.progressbar";
             type: RECT;
             mouse_events: 0;
          image: "progress_slider_bar01.9.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.padding.left";
             type: RECT;
             scale: 1;
          image: "progress_slider_bar02.9.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.padding.left";
             type: RECT;
             scale: 1;
    }
 
 #define PROCESS_IMAGE(COLOR, SIZE, NUM) \
-   image: "process/"COLOR"/"SIZE"/00_list_process_"NUM".png" COMP;
+   image: ""COLOR"/"SIZE"/00_list_process_"NUM".png" COMP;
 
 #define PROCESS_IMAGES(COLOR, SIZE) \
    images { \
    description { state: "pulse" 0.#NUM; \
       inherit: "default" 0.0; \
       image { \
-         normal: "process/"COLOR"/"SIZE"/00_list_process_"NUM".png"; \
+         normal: ""COLOR"/"SIZE"/00_list_process_"NUM".png"; \
       } \
    }
 
          aspect: 1.0 1.0; \
          aspect_preference: BOTH; \
          image { \
-            normal: "process/"COLOR"/"SIZE"/00_list_process_01.png"; \
+            normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
          } \
       } \
       description { state: "pulse" 0.0; \
          inherit: "default" 0.0; \
          image { \
-            normal: "process/"COLOR"/"SIZE"/00_list_process_01.png"; \
+            normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
          } \
       } \
       PROGRESS_DESC(COLOR, SIZE, 01 ) \
 
    group { name: "elm/progressbar/horizontal/list_process";
       alias: "elm/progressbar/horizontal/process";
-      PROCESS_IMAGES("white", "63x63")
+      PROCESS_IMAGES("White", "63x63")
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;
             mouse_events: 0;
             scale: 1;
             clip_to: "elm.background.progressbar";
-            PROCESS_DESCS("white", "63x63", 63, 63)
+            PROCESS_DESCS("White", "63x63", 63, 63)
          }
       }
       script {
    }
 
    group { name: "elm/progressbar/horizontal/process_medium";
-      PROCESS_IMAGES("white", "54x54")
+      PROCESS_IMAGES("White", "54x54")
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;
             mouse_events: 0;
             scale: 1;
             clip_to: "elm.background.progressbar";
-            PROCESS_DESCS("white", "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("white", "36x36")
+      PROCESS_IMAGES("White", "36x36")
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;
             mouse_events: 0;
             scale: 1;
             clip_to: "elm.background.progressbar";
-            PROCESS_DESCS("white", "36x36", 36, 36)
+            PROCESS_DESCS("White", "36x36", 36, 36)
          }
       }
       script {
 // Black progressbar
    group { name: "elm/progressbar/horizontal/list_process_black";
       alias: "elm/progressbar/horizontal/process_black";
-      PROCESS_IMAGES("black", "63x63")
+      PROCESS_IMAGES("Black", "63x63")
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;
             mouse_events: 0;
             scale: 1;
             clip_to: "elm.background.progressbar";
-            PROCESS_DESCS("black", "63x63", 63, 63)
+            PROCESS_DESCS("Black", "63x63", 63, 63)
          }
       }
       script {
    }
 
    group { name: "elm/progressbar/horizontal/process_medium_black";
-      PROCESS_IMAGES("black", "54x54")
+      PROCESS_IMAGES("Black", "54x54")
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;
             mouse_events: 0;
             scale: 1;
             clip_to: "elm.background.progressbar";
-            PROCESS_DESCS("black", "54x54", 54, 54)
+            PROCESS_DESCS("Black", "54x54", 54, 54)
          }
       }
       script {
 
    group { name: "elm/progressbar/horizontal/list_process_small_black";
       alias: "elm/progressbar/horizontal/process_small_black";
-      PROCESS_IMAGES("black", "36x36")
+      PROCESS_IMAGES("Black", "36x36")
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;
             mouse_events: 0;
             scale: 1;
             clip_to: "elm.background.progressbar";
-            PROCESS_DESCS("black", "36x36", 36, 36)
+            PROCESS_DESCS("Black", "36x36", 36, 36)
          }
       }
       script {
          image: "00_progress_circle_bg_50.png" COMP;
       }
       parts {
+         part { name: "access";
+            type: RECT;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               color: 0 0 0 0;
+            }
+         }
          part { name: "elm.background.progressbar";
             mouse_events: 0;
             scale: 1;