[fastscroll] modified for white theme
authorMinseok Kim <minseok3.kim@samsung.com>
Fri, 20 Jul 2012 10:52:17 +0000 (19:52 +0900)
committerMinseok Kim <minseok3.kim@samsung.com>
Fri, 20 Jul 2012 11:33:30 +0000 (20:33 +0900)
themes/images/tizen-hd/00_fast_scroll_popup_bg.png
themes/images/tizen-hd/00_fast_scroll_rollover_bg_focus_bg.png [new file with mode: 0755]
themes/inc/tizen-hd-inc.edc
themes/widgets/index.edc

index b8f0b9a..b94ae82 100755 (executable)
Binary files a/themes/images/tizen-hd/00_fast_scroll_popup_bg.png and b/themes/images/tizen-hd/00_fast_scroll_popup_bg.png differ
diff --git a/themes/images/tizen-hd/00_fast_scroll_rollover_bg_focus_bg.png b/themes/images/tizen-hd/00_fast_scroll_rollover_bg_focus_bg.png
new file mode 100755 (executable)
index 0000000..eae55b2
Binary files /dev/null and b/themes/images/tizen-hd/00_fast_scroll_rollover_bg_focus_bg.png differ
index c86e688..8c84e4a 100644 (file)
 #define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC 8 0 5 5
 #define CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC 32
 
-#define INDEX_BG_NINEPATCH_INC 6 6 6 6
-#define INDEX_ITEM_WIDTH_INC 30
-#define INDEX_ITEM_HEIGHT_INC 30
+#define INDEX_BG_NINEPATCH_INC 4 4 4 4
+#define INDEX_ITEM_WIDTH_INC 46
+#define INDEX_ITEM_HEIGHT_INC 33
 #define INDEX_LEVEL_PADDING_INC 70
-#define INDEX_1ST_LEVEL_POPUP_WIDTH_INC 138
-#define INDEX_2ND_LEVEL_POPUP_WIDTH_INC 168
-#define INDEX_POPUP_HEIGHT_INC 140
-#define INDEX_ROLLOVER_TEXT_SIZE_INC 22
-#define INDEX_POPUP_BG_NINEPATCH_INC 12 16 12 22
-#define INDEX_POPUP_TEXT_SIZE_INC 78
-#define INDEX_ROLLOVER_TEXT_COLOR_INC 180 180 180 255
-#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 200 200 200 255
-#define INDEX_POPUP_TEXT_COLOR_INC 249 249 249 255
+#define INDEX_1ST_LEVEL_POPUP_WIDTH_INC 202
+#define INDEX_2ND_LEVEL_POPUP_WIDTH_INC 202
+#define INDEX_POPUP_HEIGHT_INC 182
+#define INDEX_ROLLOVER_TEXT_SIZE_INC 26
+#define INDEX_POPUP_BG_NINEPATCH_INC 12 12 12 12
+#define INDEX_POPUP_TEXT_SIZE_INC 138
+#define INDEX_ROLLOVER_TEXT_COLOR_INC 147 183 201 255
+#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 0 175 207 255
+#define INDEX_POPUP_TEXT_COLOR_INC 0 175 207 255
+#define INDEX_SCROLL_BG_COLOR_INC 25 25 25 255
+#define INDEX_BOTTOM_LINE_COLOR_INC 45 48 48 255
+#define INDEX_LEFT_LINE_COLOR_INC 105 105 105 255
 
 #define INDEX_PAGECONTROL_IND_INC 52 52
 #define INDEX_PAGECONTROL_IND_MIN_INC 24 24
index 637b85e..2365a9a 100644 (file)
       alias: "elm/index/item_odd/vertical/default";
       data.item: "stacking" "above";
       data.item: "selectraise" "on";
+      images {
+         image: "00_fast_scroll_rollover_bg_focus_bg.png" COMP;
+      }
       parts {
+         part { name: "scroll.bg";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               visible: 1;
+               rel1.to: "elm.text";
+               rel2.to: "elm.text";
+               color: INDEX_SCROLL_BG_COLOR_INC;
+            }
+            description {
+               state: "active" 0.0;
+               inherit: "default" 0.0;
+               visible: 0;
+            }
+         }
+         part { name: "bottom.line";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               visible: 1;
+               rel1 {
+                  relative: 0.0 1.0; offset: 0 -1;
+               }
+               rel2 {
+                  relative: 1.0 1.0;
+               }
+               color: INDEX_BOTTOM_LINE_COLOR_INC;
+            }
+         }
+         part { name: "left.line";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               visible: 1;
+               rel1 {
+                  relative: 0.0 0.0;
+               }
+               rel2 {
+                  relative: 0.0 1.0; offset: 1 0;
+               }
+               color: INDEX_LEFT_LINE_COLOR_INC;
+            }
+            description {
+               state: "active" 0.0;
+               inherit: "default" 0.0;
+               visible: 0;
+            }
+         }
+         part { name: "item.bg";
+            type: IMAGE;
+            mouse_events: 0;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               visible: 0;
+               rel1 {
+                  relative: 0.0 0.0;
+               }
+               rel2 {
+                  relative: 1.0 1.0;
+               }
+               image {
+                  normal: "00_fast_scroll_rollover_bg_focus_bg.png";
+                  border: INDEX_BG_NINEPATCH_INC;
+                  border_scale: 1;
+               }
+            }
+            description {
+               state: "active" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
+            }
+         }
          part { name: "elm.text";
             type: TEXT;
             mouse_events: 0;
             signal: "elm,state,active";
             source: "elm";
             action: STATE_SET "active" 0.0;
-            transition: DECELERATE 1.0;
+            transition: DECELERATE 0.0;
             target: "elm.text";
+            target: "item.bg";
+            target: "left.line";
+            target: "scroll.bg";
          }
          program { name: "inactive";
             signal: "elm,state,inactive";
             source: "elm";
             action: STATE_SET "default" 0.0;
-            transition: DECELERATE 0.1;
+            transition: DECELERATE 0.0;
             target: "elm.text";
+            target: "item.bg";
+            target: "left.line";
+            target: "scroll.bg";
          }
       }
    }