gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] libvob org/nongnu/libvob/mouse/MouseMultiplexer...


From: Tuomas J. Lukka
Subject: [Gzz-commits] libvob org/nongnu/libvob/mouse/MouseMultiplexer...
Date: Wed, 06 Aug 2003 04:39:42 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/08/06 04:39:42

Modified files:
        org/nongnu/libvob/mouse: MouseMultiplexer.java 
        vob            : __init__.py 
        vob/demo       : irregu.py 
Added files:
        test/vob/mouse : __init__.py multiplex.py 
        vob/demo/mouse : __init__.py drags.py 

Log message:
        Primitive Dragging works

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/org/nongnu/libvob/mouse/MouseMultiplexer.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/mouse/__init__.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/mouse/multiplex.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/__init__.py.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/demo/irregu.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/demo/mouse/__init__.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/demo/mouse/drags.py?rev=1.1

Patches:
Index: libvob/org/nongnu/libvob/mouse/MouseMultiplexer.java
diff -u libvob/org/nongnu/libvob/mouse/MouseMultiplexer.java:1.2 
libvob/org/nongnu/libvob/mouse/MouseMultiplexer.java:1.3
--- libvob/org/nongnu/libvob/mouse/MouseMultiplexer.java:1.2    Wed Aug  6 
03:25:21 2003
+++ libvob/org/nongnu/libvob/mouse/MouseMultiplexer.java        Wed Aug  6 
04:39:42 2003
@@ -150,7 +150,8 @@
                return true;
            }
        } else if(e.getType() == e.MOUSE_RELEASED) {
-           if(e.getButton() == currentDragButton) {
+           if(currentDragButton != 0 && 
+              e.getButton() == currentDragButton) {
                currentDragButton = 0;
                currentDrag.endDrag(e.getX(), e.getY());
                currentDrag = null;
Index: libvob/vob/__init__.py
diff -u libvob/vob/__init__.py:1.11 libvob/vob/__init__.py:1.12
--- libvob/vob/__init__.py:1.11 Sun Jun 29 05:25:24 2003
+++ libvob/vob/__init__.py      Wed Aug  6 04:39:42 2003
@@ -41,6 +41,7 @@
 view = _libvob.view
 impl = _libvob.impl
 input = _libvob.input
+mouse = _libvob.mouse
 
 del _vob
 
Index: libvob/vob/demo/irregu.py
diff -u libvob/vob/demo/irregu.py:1.3 libvob/vob/demo/irregu.py:1.4
--- libvob/vob/demo/irregu.py:1.3       Fri Jun  6 16:04:21 2003
+++ libvob/vob/demo/irregu.py   Wed Aug  6 04:39:42 2003
@@ -22,7 +22,7 @@
 
 
 from __future__ import nested_scopes
-from org.nongnu import libvob as vob
+import vob
 from org.nongnu.libvob.gl import GL, GLRen
 from math import sin,cos,pi
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]