nikawhite pushed a commit to branch master.

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

commit af56e910988924b867dc8f01d30611e0a7e20304
Author: Mykyta Biliavskyi <[email protected]>
Date:   Tue Jul 26 18:30:58 2016 +0300

    Tizen theme: update locker check style.
---
 data/themes/tizen/widgets/check.edc | 74 +++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/data/themes/tizen/widgets/check.edc 
b/data/themes/tizen/widgets/check.edc
index 68698e7..5299f74 100644
--- a/data/themes/tizen/widgets/check.edc
+++ b/data/themes/tizen/widgets/check.edc
@@ -832,9 +832,18 @@ group { name: "elm/check/base/eye";
 group { name: "elm/check/base/locker";
    images {
       image: "WYSIWG/tool_s_lock_nor.png" COMP;
+      image: "WYSIWG/tool_s_lock_mv.png" COMP;
+      image: "WYSIWG/tool_s_lock_dim.png" COMP;
       image: "WYSIWG/tool_s_lock_sel.png" COMP;
    }
    parts {
+      part { name: "dummy";
+         type: SPACER;
+         description { state: "default";
+         }
+         description { state: "visible";
+         }
+      }
       part { name: "bg";
          type: SPACER;
          mouse_events: 0;
@@ -860,6 +869,17 @@ group { name: "elm/check/base/locker";
             inherit: "default" 0.00;
             image.normal: "WYSIWG/tool_s_lock_sel.png";
          }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.00;
+            image.normal: "WYSIWG/tool_s_lock_dim.png";
+         }
+         description { state: "focused" 0.0;
+            inherit: "visible" 0.00;
+         }
+         description { state: "hovered" 0.0;
+            inherit: "default" 0.00;
+            image.normal: "WYSIWG/tool_s_lock_mv.png";
+         }
       }
       part { name: "clipper";
          type: RECT;
@@ -893,12 +913,14 @@ group { name: "elm/check/base/locker";
          signal: "elm,state,check,on";
          source: "elm";
          action: STATE_SET "visible" 0.00;
+         target: "dummy";
          target: "check";
       }
       program { name: "check_off";
          signal: "elm,state,check,off";
          source: "elm";
          action: STATE_SET "default" 0.00;
+         target: "dummy";
          target: "check";
       }
       program { name: "disable";
@@ -915,7 +937,59 @@ group { name: "elm/check/base/locker";
          target: "events";
          target: "clipper";
       }
+
+      program { name: "mouse_in_check";
+         signal: "mouse,in";
+         source: "events";
+         action: STATE_SET "hovered" 0.00;
+         target: "check";
+      }
+      program { name: "mouse_out_check";
+         signal: "mouse,out";
+         source: "events";
+         filter: "dummy" "visible";
+         action: STATE_SET "visible" 0.00;
+         target: "check";
+      }
+      program { name: "mouse_out_check_def";
+         signal: "mouse,out";
+         source: "events";
+         filter: "dummy" "default";
+         action: STATE_SET "default" 0.00;
+         target: "check";
+      }
+       program { name: "disable_check";
+         signal: "elm,state,disabled";
+         source: "elm";
+         filter: "dummy" "visible";
+         action: STATE_SET "disabled" 0.00;
+         target: "check";
+         target: "events";
+         target: "clipper";
+      }
+      program { name: "enable_check";
+         signal: "elm,state,enabled";
+         source: "elm";
+         filter: "dummy" "visible";
+         action: STATE_SET "visible" 0.00;
+         target: "check";
+         target: "events";
+         target: "clipper";
+      }
+      program { name: "focused_check";
+         signal: "elm,action,focus";
+         source: "elm";
+         action: STATE_SET "focused" 0.00;
+         target: "check";
+      }
+      program { name: "unfocused_check";
+         signal: "elm,action,unfocus";
+         source: "elm";
+         action: STATE_SET "default" 0.00;
+         target: "check";
+      }
    }
+
 }
 
 group { name: "elm/check/base/chain";

-- 


Reply via email to