* Renamed MicroBackend pointer event methods
authorguillaum1 <guillaum1@users.evolvis.org>
Fri, 6 Mar 2009 23:29:41 +0000 (23:29 +0000)
committerguillaum1 <guillaum1@users.evolvis.org>
Fri, 6 Mar 2009 23:29:41 +0000 (23:29 +0000)
components/implementation/java/org/thenesis/lwuimb/LWUIMBImplementation.java

index 236416b..9b4d2aa 100644 (file)
@@ -677,18 +677,20 @@ public class LWUIMBImplementation extends LWUITImplementation {
             LWUIMBImplementation.this.keyReleased(keyCode);\r
         }\r
 \r
-        public void mouseMoved(int x, int y, int modifiers) {\r
+        public void pointerMoved(int x, int y, int modifiers) {\r
             if (Log.TRACE_ENABLED)\r
                 System.out.println("[DEBUG] VirtualBackendEventListener.mouseMoved(): x=" + x + " y=" + y + " drag enabled ? "\r
                         + dragEnabled);\r
 \r
             if (dragEnabled) {\r
                 LWUIMBImplementation.this.pointerDragged(x, y);\r
+            } else {\r
+                LWUIMBImplementation.this.pointerHover(x, y);\r
             }\r
 \r
         }\r
 \r
-        public void mousePressed(int x, int y, int modifiers) {\r
+        public void pointerPressed(int x, int y, int modifiers) {\r
             if (Log.TRACE_ENABLED)\r
                 System.out.println("[DEBUG] VirtualBackendEventListener.mousePressed(): x=" + x + " y=" + y);\r
 \r
@@ -696,10 +698,9 @@ public class LWUIMBImplementation extends LWUITImplementation {
             LWUIMBImplementation.this.pointerPressed(x, y);\r
         }\r
 \r
-        public void mouseReleased(int x, int y, int modifiers) {\r
+        public void pointerReleased(int x, int y, int modifiers) {\r
             if (Log.TRACE_ENABLED)\r
                 System.out.println("[DEBUG] VirtualBackendEventListener.mouseReleased(): x=" + x + " y=" + y);\r
-\r
             dragEnabled = false;\r
             LWUIMBImplementation.this.pointerReleased(x, y);\r
         }\r