Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : net

Dir     : e_modules/net


Modified Files:
        net.edc 


Log Message:
Fix mouse,in being sent multiple times by using edje signals, not
evas_callbacks. Thanks rephorm :)

===================================================================
RCS file: /cvs/e/e_modules/net/net.edc,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- net.edc     11 Feb 2007 15:47:42 -0000      1.27
+++ net.edc     13 Feb 2007 08:37:13 -0000      1.28
@@ -25,6 +25,7 @@
               {
                  name: "rx";
                  type: IMAGE;
+                 mouse_events: 0;
                  description 
                    {
                       state: "default" 0.0;
@@ -46,42 +47,71 @@
               }
             part 
               {
-                 name: "base";
+                 name: "tx";
                  type: IMAGE;
+                 mouse_events: 0;
                  description 
                    {
                       state: "default" 0.0;
                       aspect: 1.0 1.0;
                       aspect_preference: BOTH;
-                      image.normal: "idle.png";
+                      visible: 0;
+                      rel1.to: "base";
+                      rel2.to: "base";
+                      image.normal: "tx.png";
+                      color: 255 255 255 0;
+                   }
+                 description 
+                   {
+                      state: "active" 0.0;
+                      inherit: "default" 0.0;
+                      visible: 1;
+                      color: 255 255 255 255;
                    }
               }
             part 
               {
-                 name: "tx";
+                 name: "base";
                  type: IMAGE;
+                 mouse_events: 0;
                  description 
                    {
                       state: "default" 0.0;
                       aspect: 1.0 1.0;
                       aspect_preference: BOTH;
-                      visible: 0;
-                      rel1.to: "base";
-                      rel2.to: "base";
-                      image.normal: "tx.png";
-                      color: 255 255 255 0;
+                      image.normal: "idle.png";
                    }
+              }
+            part 
+              {
+                 name: "overlay";
+                 type: RECT;
+                 repeat_events: 0;
+                 mouse_events: 1;
                  description 
                    {
-                      state: "active" 0.0;
-                      inherit: "default" 0.0;
+                      state: "default" 0.0;
+                      color: 0 0 0 0;
                       visible: 1;
-                      color: 255 255 255 255;
                    }
               }
          }
        programs 
          {
+            program 
+              {
+                 name: "in";
+                 signal: "mouse,in";
+                 source: "overlay";
+                 action: SIGNAL_EMIT "e,action,mouse,in" "";
+              }
+            program 
+              {
+                 name: "out";
+                 signal: "mouse,out";
+                 source: "overlay";
+                 action: SIGNAL_EMIT "e,action,mouse,out" "";
+              }
             program 
               {
                  name: "recv";



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to