rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=c9368163430eb5eadb55a6ebc47eccde9044f9b3

commit c9368163430eb5eadb55a6ebc47eccde9044f9b3
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Fri Feb 5 18:19:30 2016 +0200

    Revert "genlist.edc: use scroller color_class, update colorclasses (return 
80 82 83 color)"
    
    This reverts commit 5adfa8c14c0e8fdd0a8062f02443d793e6560694.
    
    This commit broke the home tab bg color. please be careful when change the 
color and colorclass
    
    Change-Id: I3acd4e18e7d2f0f2f9e54f0bfa9569ffab9dd5c9
---
 data/macros.edc                         | 10 --------
 data/themes/default/widgets/genlist.edc | 43 +++++++++++++++++++++++++++------
 2 files changed, 36 insertions(+), 17 deletions(-)

diff --git a/data/macros.edc b/data/macros.edc
index 5454882..f7a9bf7 100644
--- a/data/macros.edc
+++ b/data/macros.edc
@@ -106,20 +106,10 @@ color_classes {
       color3: 0 0 0 0;
    }
    color_class { name: "bg_main";
-      color: 80 82 83 255;
-      color2: 0 0 0 0;
-      color3: 0 0 0 0;
-   }
-   color_class { name: "bg_scroller";
       color: 52 53 54 255;
       color2: 0 0 0 0;
       color3: 0 0 0 0;
    }
-   color_class { name: "bg_scroller_disabled";
-      color: 100 102 104 146;
-      color2: 0 0 0 0;
-      color3: 0 0 0 0;
-   }
    color_class { name: "bg_entry";
       color: 46 48 49 255;
       color2: 0 0 0 0;
diff --git a/data/themes/default/widgets/genlist.edc 
b/data/themes/default/widgets/genlist.edc
index 9ebade3..1ada209 100644
--- a/data/themes/default/widgets/genlist.edc
+++ b/data/themes/default/widgets/genlist.edc
@@ -1715,10 +1715,10 @@ group { name: "elm/genlist/base/default";
       part { name: "bg";
          type: RECT;
          description { state: "default" 0.0;
-            color_class: "bg_scroller";
+            color_class: "bg_main";
          }
          description { state: "disabled" 0.0;
-            color_class: "bg_scroller_disabled";
+            color: 0 0 0 0;
          }
       }
       part { name: "sb_vbar";
@@ -1757,8 +1757,10 @@ group { name: "elm/genlist/base/default";
          }
       }
       part { name: "sb_vbar_p1";
-         type: SPACER;
+         type: RECT;
+         clip_to: "sb_vbar";
          description { state: "default" 0.0;
+            color: 0 0 0 0;
             rel1 {
                to: "sb_vbar";
             }
@@ -1769,8 +1771,10 @@ group { name: "elm/genlist/base/default";
          }
       }
       part { name: "sb_vbar_p2";
-         type: SPACER;
+         type: RECT;
+         clip_to: "sb_vbar";
          description { state: "default" 0.0;
+            color: 0 0 0 0;
             rel1 {
                relative: 0.0 1.0;
                to: "elm.dragable.vbar";
@@ -1840,9 +1844,11 @@ group { name: "elm/genlist/base/default";
          }
       }
       part { name: "sb_hbar_p1";
-         type: SPACER;
+         type: RECT;
+         clip_to: "sb_hbar";
          description { state: "default" 0.0;
             fixed: 1 1;
+            color: 0 0 0 0;
             rel1 {
                to: "sb_hbar";
             }
@@ -1853,8 +1859,10 @@ group { name: "elm/genlist/base/default";
          }
       }
       part { name: "sb_hbar_p2";
-         type: SPACER;
+         type: RECT;
+         clip_to: "sb_hbar";
          description { state: "default" 0.0;
+            color: 0 0 0 0;
             rel1 {
                relative: 1.0 0.0;
                to: "elm.dragable.hbar";
@@ -2147,6 +2155,25 @@ group { name: "elm/genlist/base/default";
             }
          }
       }
+      part { name: "shadow";
+         type: IMAGE;
+         repeat_events: 1;
+         description { state: "default" 0.0;
+            image {
+               normal: "section-border.png";
+               border: 10 10 10 11;
+               middle: DEFAULT;
+            }
+         }
+         description { state: "disabled" 0.0;
+            color: 255 255 255 127;
+            image {
+               normal: "section-border.png";
+               border: 10 10 10 11;
+               middle: DEFAULT;
+            }
+         }
+      }
    }
    programs {
       program { name: "v_mouse_down";
@@ -2279,18 +2306,20 @@ group { name: "elm/genlist/base/default";
          source: "elm";
          action: STATE_SET "disabled" 0.00;
          target: "bg";
+         target: "shadow";
       }
       program { name: "enabled";
          signal: "elm,state,enabled";
          source: "elm";
          action: STATE_SET "default" 0.00;
          target: "bg";
+         target: "shadow";
       }
    }
 }
 
 #undef ITEM_HEIGHT
-#undef BORDER_COLOR
+#ungef BORDER_COLOR
 #undef LIST_BORDER_COLOR
 #undef LIST_ITEM_SELECTED_COLOR
 #undef LIGHT_BORDER_COLOR

-- 


Reply via email to