rimmed pushed a commit to branch master.

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

commit 56384cd290d0b1477204bdeb4794d3f9613a56c1
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Nov 25 16:20:34 2015 +0200

    layout.edc: add bg for part item, will be used as hilight for item
    
    Change-Id: I949f7bb9c321851418c17b443e62b53333394584
---
 data/themes/default/widgets/layout.edc | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/data/themes/default/widgets/layout.edc 
b/data/themes/default/widgets/layout.edc
index a906411..359685b 100644
--- a/data/themes/default/widgets/layout.edc
+++ b/data/themes/default/widgets/layout.edc
@@ -3447,6 +3447,7 @@ group { name: "elm/layout/groupview/default";
          image: "bg_group.png" COMP;
          image: "bg_table.png" COMP;
          image: "bg_box.png" COMP;
+         image: "bg_part_item.png" COMP;
       }
       part { name: "bg";
          type: IMAGE;
@@ -3471,6 +3472,15 @@ group { name: "elm/layout/groupview/default";
          BG(table,      bg_table.png)
          BG(box,        bg_box.png)
 #undef BG
+         description { state: "part_item_hilight" 0.0;
+            inherit: "default" 0.0;
+            image.normal: "bg_part_item.png";
+         }
+         description { state: "part_item_hilight" 1.0;
+            inherit: "default" 0.0;
+            visible: 1;
+            image.normal: "bg_part_item.png";
+         }
       }
       part { name: "elm.swallow.content";
          type: SWALLOW;
@@ -3523,4 +3533,18 @@ group { name: "elm/layout/groupview/default";
       PROGRAM(part_item)
 #undef PROGRAM
    }
+   program { name: "part_item_hilight_off";
+      source: "eflete";
+      filter: "border" "part_item" 0.0;
+      signal: "border,part_item,hilight,off";
+      action: STATE_SET part_item_hilight 0.0;
+      target: "bg";
+   }
+   program { name: "part_item_hilight_on";
+      source: "eflete";
+      filter: "border" "part_item" 0.0;
+      signal: "border,part_item,hilight,on";
+      action: STATE_SET part_item_hilight 1.0;
+      target: "bg";
+   }
 }

-- 


Reply via email to