raster pushed a commit to branch master.

commit 262a0566b89e8578d93e6c0b67eb9c8ca387da6c
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Jul 14 23:20:28 2013 +0900

    git group index to cover compress and be more distinct
---
 edje/edc/elm/genlist.edc | 56 +++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 46 insertions(+), 10 deletions(-)

diff --git a/edje/edc/elm/genlist.edc b/edje/edc/elm/genlist.edc
index cf20038..cc09130 100644
--- a/edje/edc/elm/genlist.edc
+++ b/edje/edc/elm/genlist.edc
@@ -122,6 +122,7 @@ group { name: "elm/genlist/item/group_index/default";
    
    images.image: "shadow_square_tiny.png" COMP;
    images.image: "bevel_out.png" COMP;
+   images.image: "horizontal_separated_bar_small_glow.png" COMP;
    
    parts {
       part { name: "shadow_vbar"; mouse_events: 0;
@@ -181,16 +182,6 @@ group { name: "elm/genlist/item/group_index/default";
             color_class: "list_group_item_disabled";
          }
       }
-      program {
-         signal: "elm,state,disabled"; source: "elm";
-         action: STATE_SET "disabled" 0.0;
-         target: "elm.text";
-      }
-      program {
-         signal: "elm,state,enabled"; source: "elm";
-         action: STATE_SET "default" 0.0;
-         target: "elm.text";
-      }
       part { name: "elm.swallow.pad"; type: SWALLOW;
          description { state: "default" 0.0;
             fixed: 1 0;
@@ -221,6 +212,51 @@ group { name: "elm/genlist/item/group_index/default";
             rel2.offset: -3 -3;
          }
       }
+      part { name: "bar"; mouse_events: 0;
+         description { state: "default" 0.0;
+            image.normal: "horizontal_separated_bar_small_glow.png";
+            image.border: 4 4 4 4;
+            fill.smooth: 0;
+            rel1.relative: 0.0 1.0;
+            rel1.offset: -3 -6;
+            rel2.offset: 2 3;
+         }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.0;
+             color: 255 255 255 64;
+         }
+      }
+      program {
+         signal: "elm,state,disabled"; source: "elm";
+         action: STATE_SET "disabled" 0.0;
+         target: "elm.text";
+         target: "bar";
+      }
+      program {
+         signal: "elm,state,enabled"; source: "elm";
+         action: STATE_SET "default" 0.0;
+         target: "elm.text";
+         target: "bar";
+      }
+   }
+}
+group { name: "elm/genlist/item_compress/group_index/default";
+   inherit: "elm/genlist/item/group_index/default";
+   parts {
+      part { name: "elm.text";
+         description { state: "default" 0.0;
+            text.min: 0 1;
+         }
+         description { state: "selected" 0.0;
+            text.min: 0 1;
+         }
+         description { state: "disabled" 0.0;
+            text.min: 0 1;
+         }
+         description { state: "flip_enabled" 0.0;
+            text.min: 0 1;
+         }
+      }
    }
 }
 

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to