rimmed pushed a commit to branch master.

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

commit 6b299bfe55194fd0cbbd00e2fea1d5e3663909a5
Author: Vitalii Vorobiov <[email protected]>
Date:   Wed Jun 1 21:03:08 2016 +0300

    TIZEN: style for other gengrid styles
---
 data/themes/tizen/widgets/gengrid.edc | 214 ++++++++++++++++++----------------
 1 file changed, 111 insertions(+), 103 deletions(-)

diff --git a/data/themes/tizen/widgets/gengrid.edc 
b/data/themes/tizen/widgets/gengrid.edc
index 2d86fe3..e7dc8a3 100644
--- a/data/themes/tizen/widgets/gengrid.edc
+++ b/data/themes/tizen/widgets/gengrid.edc
@@ -168,6 +168,10 @@ group { name: "elm/gengrid/item/default/default";
 }
 
 group { name: "elm/gengrid/item/sound_editor/default";
+   images {
+      image: "image_border.png" COMP;
+      image: "image_border_selected.png" COMP;
+   }
    data {
       item: "texts" "elm.text elm.text.type";
       item: "contents" "elm.swallow.icon";
@@ -178,136 +182,173 @@ group { name: "elm/gengrid/item/sound_editor/default";
          description { state: "default" 0.0;
             color_class: "select_dark";
             rel1 {
-               offset: 3 3;
+               to: "icon_border";
             }
             rel2 {
-               relative: 1.0 0.0;
-               offset: -4 -4;
-               to_y: "elm.text";
+               to: "icon_border";
             }
          }
       }
-      part { name: "highlight_content";
-         type: RECT;
+      part { name: "elm.text.type";
+         type: TEXT;
+         mouse_events: 0;
+         scale: 1;
          description { state: "default" 0.0;
-            visible: 0;
-            color_class: "select";
+            color_class: "main";
+            color3: 255 255 255 25;
             rel1 {
+               offset: 1 1;
                to: "bg";
             }
             rel2 {
+               offset: -2 -2;
                to: "bg";
             }
-         }
-         description { state: "selected" 0.0;
-            color_class: "select";
-            rel1 {
-               to: "bg";
-            }
-            rel2 {
-               to: "bg";
+            text {
+               font: FN;
+               size: 25;
+               min: 1 1;
+               ellipsis: -1.0;
             }
          }
       }
-      part { name: "highlight_text";
+      part { name: "highlight";
          type: RECT;
          description { state: "default" 0.0;
-            visible: 0;
-            color_class: "select";
-            rel1 {
-               to: "elm.text";
-            }
-            rel2 {
-               to: "elm.text";
-            }
+            color_class: "gengrid_text_default";
+            rel1.to: "elm.text";
+            rel2.to: "elm.text";
          }
          description { state: "selected" 0.0;
-            color_class: "select";
-            rel1 {
-               to: "elm.text";
-            }
+            inherit: "default" 0.00;
+            color_class: "gengrid_text_clicked";
+         }
+      }
+      part { name: "elm.swallow.pad";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            align: 0.0 1.0;
+            fixed: 1 0;
+            min: 0 2;
+            rel1.relative: 1.0 0.0;
             rel2 {
-               to: "elm.text";
+               relative: 1.0 0.0;
+               to_y: "elm.text";
             }
          }
       }
-      part { name: "elm.text";
-         type: TEXT;
-         mouse_events: 0;
-         scale: 1;
+      part { name: "icon_border";
+         type: IMAGE;
          description { state: "default" 0.0;
-            align: 1.0 1.0;
-            color_class: "main";
-            color3: 255 255 255 25;
-            rel1 {
-               offset: 3 0;
+            image {
+               normal: "image_border.png";
+               border: 1 1 1 1;
+               middle: NONE;
             }
+            rel1.offset: 12 12;
             rel2 {
-               offset: -4 -4;
+               relative: 1.0 0.0;
+               offset: -1 -7;
+               to_y: "elm.text";
             }
-            text {
-               text: "";
-               font: FN;
-               size: 11;
-               min: 0 1;
-               max: 0 1;
-               align: 0.5 1.0;
+         }
+         description { state: "selected" 0.0;
+            inherit: "default" 0.0;
+            image {
+               normal: "image_border_selected.png";
+               border: 1 1 1 1;
+               middle: NONE;
             }
          }
       }
       part { name: "elm.swallow.icon";
          type: SWALLOW;
          repeat_events: 1;
+         clip_to: "disclip";
          description { state: "default" 0.0;
             fixed: 1 0;
             rel1 {
                offset: 1 1;
-               to: "bg";
+               to: "icon_border";
             }
             rel2 {
                offset: -2 -2;
-               to: "bg";
+               to: "icon_border";
             }
          }
       }
-      part { name: "elm.text.type";
+      part { name: "elm.text";
          type: TEXT;
-         mouse_events: 0;
          scale: 1;
+         clip_to: "highlight";
          description { state: "default" 0.0;
-            color_class: "main";
-            color3: 255 255 255 25;
+            align: 0.5 1.0;
+            text {
+               font: FN;
+               size: 13;
+               max: 0 1;
+            }
             rel1 {
-               offset: 1 1;
-               to: "bg";
+               to_x: "icon_border";
             }
             rel2 {
-               offset: -2 -2;
-               to: "bg";
-            }
-            text {
-               font: FN;
-               size: 25;
-               min: 1 1;
-               ellipsis: -1.0;
+               offset: -1 -10;
+               to_x: "icon_border";
             }
          }
       }
+      part { name: "text_bottom";
+         type: SPACER;
+         description { state: "default" 0.0;
+            align: 1.0 1.0;
+            min: 2 2;
+            max: 2 2;
+         }
+      }
+      part { name: "event";
+         type: RECT;
+         description { state: "default" 0.0;
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "disclip";
+         type: RECT;
+         mouse_events: 0;
+         repeat_events: 1;
+         description { state: "default" 0.0;
+         }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.00;
+            color: 255 255 255 0;
+         }
+      }
    }
    programs {
       program { name: "go_active";
          signal: "elm,state,selected";
          source: "elm";
          action: STATE_SET "selected" 0.00;
-         target: "highlight_content";
-         target: "highlight_text";
+         target: "highlight";
+         target: "icon_border";
       }
       program { name: "go_passive";
          signal: "elm,state,unselected";
          source: "elm";
          action: STATE_SET "default" 0.00;
-         target: "highlight_content";
-         target: "highlight_text";
+         target: "highlight";
+         target: "icon_border";
+      }
+      program { name: "go_disabled";
+         signal: "elm,state,disabled";
+         source: "elm";
+         action: STATE_SET "disabled" 0.00;
+         target: "disclip";
+      }
+      program { name: "go_enabled";
+         signal: "elm,state,enabled";
+         source: "elm";
+         action: STATE_SET "default" 0.00;
+         target: "disclip";
       }
    }
 }
@@ -317,50 +358,17 @@ group { name: "elm/gengrid/item/group_index/default";
       item: "texts" "elm.text";
    }
    parts {
-      part { name: "line_left";
-         type: RECT;
-         description { state: "default" 0.0;
-            align: 0.0 0.5;
-            min: 25 2;
-            max: 25 2;
-            color_class: "select";
-            rel1 {
-               offset: 3 0;
-            }
-         }
-      }
       part { name: "elm.text";
          type: TEXT;
          description { state: "default" 0.0;
             align: 0.0 0.5;
-            color_class: "select";
-            rel1 {
-               relative: 1.0 0.0;
-               offset: 3 0;
-               to_x: "line_left";
-            }
+            color_class: "text_splash";
             text {
                font: FN_B;
-               size: 16;
+               size: 13;
                min: 1 1;
                max: 1 1;
-               elipsis: -1;
-            }
-         }
-      }
-      part { name: "line_right";
-         type: RECT;
-         description { state: "default" 0.0;
-            min: 0 2;
-            max: -1 2;
-            color_class: "select";
-            rel1 {
-               relative: 1.0 0.0;
-               offset: 3 0;
-               to_x: "elm.text";
-            }
-            rel2 {
-               offset: -4 -1;
+               ellipsis: -1.0;
             }
          }
       }

-- 


Reply via email to