hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=3ebfc09e61836a2fadfd510414b2ccf90e82bbba

commit 3ebfc09e61836a2fadfd510414b2ccf90e82bbba
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Sun May 31 01:25:26 2015 +0900

    template: revise basic
---
 data/templates/basic.edc | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/data/templates/basic.edc b/data/templates/basic.edc
index 31e2e1e..ff0676e 100644
--- a/data/templates/basic.edc
+++ b/data/templates/basic.edc
@@ -13,10 +13,6 @@ collections {
                aspect: 1 1;
                aspect_preference: BOTH;
             }
-            description { state: "hide" 0.0;
-               inherit: "default" 0.0;
-               color: 255 255 255 127;
-            }
          }
          part { name: "rect";
             type: RECT;
@@ -25,6 +21,11 @@ collections {
                rel2.relative: 1.0 0.5;
                color: 0 136 170 255;
             }
+            description { state: "clicked" 0.0;
+               rel1.relative: 0.65 0.15;
+               rel2.relative: 0.85 0.35;
+               color: 170 136 0 255;
+            }
          }
          part { name: "text";
             type: TEXT;
@@ -57,15 +58,15 @@ collections {
       programs {
          program { name: "mouse_down";
             signal: "mouse,down,1";
-            source: "logo";
-            action: STATE_SET "hide" 0.0;
-            target: "logo";
+            source: "rect";
+            action: STATE_SET "clicked" 0.0;
+            target: "rect";
          }
          program { name: "mouse_up";
             signal: "mouse,up,1";
-            source: "logo";
+            source: "rect";
             action: STATE_SET "default" 0.0;
-            target: "logo";
+            target: "rect";
          }
       }
 */

-- 


Reply via email to