[fastscroll] modify rollover for white theme
authorMinseok Kim <minseok3.kim@samsung.com>
Tue, 24 Jul 2012 07:32:43 +0000 (16:32 +0900)
committerMinseok Kim <minseok3.kim@samsung.com>
Tue, 24 Jul 2012 07:32:43 +0000 (16:32 +0900)
themes/widgets/index.edc

index 2365a9a..bc45789 100644 (file)
@@ -27,8 +27,6 @@
       }
       images {
          image: "00_fast_scroll_popup_bg.png" COMP;
-         image: "00_fast_scroll_rollover_bg.png" COMP;
-         image: "00_fast_scroll_rollover_index_1_bg.png" COMP;
       }
       data{
          item: "min_obj_height" "32";
                color: 0 0 0 0;
             }
          }
-         part { name: "index.1.bg.image.middle";
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               visible: 0;
-               rel1 {
-                  to: "elm.swallow.index.1";
-                  offset: 0 0;
-               }
-               rel2 {
-                  to: "elm.swallow.index.1";
-                  offset: 0 0;
-               }
-               image {
-                  normal: "00_fast_scroll_rollover_index_1_bg.png";
-                  border: INDEX_BG_NINEPATCH_INC;
-                  border_scale: 1;
-               }
-               fill.smooth: 0;
-            }
-            description { state: "active" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         }
          part { name: "elm.swallow.index.1";
             type: SWALLOW;
             scale: 1;
                color: 255 255 255 255;
             }
          }
-         part { name: "index.0.bg.image.middle";
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               rel1 {
-                  to: "elm.swallow.index.0";
-                  offset: 0 0;
-               }
-               rel2 {
-                  to: "elm.swallow.index.0";
-                  offset: 0 0;
-               }
-               image {
-                  normal: "00_fast_scroll_rollover_bg.png";
-                  border: INDEX_BG_NINEPATCH_INC;
-                  border_scale: 1;
-               }
-               fill.smooth: 0;
-               visible: 0;
-               }
-            description { state: "active" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-        }
         part { name: "elm.swallow.index.0";
             type: SWALLOW;
             clip_to: "clip";
             transition: DECELERATE 0.3;
             target: "elm.swallow.index.0";
             target: "clip";
-            target: "index.0.bg.image.middle";
             after: "enable_timer";
          }
          program { name: "index0.inactive";
             transition: DECELERATE 0.3;
             target: "elm.swallow.index.0";
             target: "clip";
-            target: "index.0.bg.image.middle";
          }
          program { name: "index1.inactive";
             signal: "elm,state,level,0";
             transition: DECELERATE 0.3;
             target: "elm.swallow.index.1";
             target: "clip2";
-            target: "index.1.bg.image.middle";
          }
          program { name: "index1.active";
             signal: "elm,state,level,1";
             transition: DECELERATE 0.3;
             target: "elm.swallow.index.1";
             target: "clip2";
-            target: "index.1.bg.image.middle";
          }
          program { name: "index.active";
             signal: "elm,indicator,state,active";
             target: "clip2";
             target: "elm.swallow.index.0";
             target: "clip";
-            target: "index.0.bg.image.middle";
             target: "elm.text";
             target: "button_image";
          }
             description {
                state: "active" 0.0;
                inherit: "default" 0.0;
-               visible: 0;
+               visible: 1;
             }
          }
          part { name: "bottom.line";
             }
             description {
                state: "active" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
+               rel1 {
+                  relative: 0.0 0.0; offset: 0 -INDEX_ITEM_HEIGHT_INC;
+               }
+               rel2 {
+                  relative: 0.0 1.0; offset: 1 +INDEX_ITEM_HEIGHT_INC;
+               }
+               color: INDEX_SCROLL_BG_COLOR_INC;
             }
          }
          part { name: "item.bg";
                state: "default" 0.0;
                visible: 0;
                rel1 {
-                  relative: 0.0 0.0;
+                  relative: 0.0 0.0; offset: 0 -INDEX_ITEM_HEIGHT_INC;
                }
                rel2 {
-                  relative: 1.0 1.0;
+                  relative: 1.0 1.0; offset: 0 +INDEX_ITEM_HEIGHT_INC;
                }
                image {
                   normal: "00_fast_scroll_rollover_bg_focus_bg.png";