[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] fenfire/org/fenfire/demo buoyoing.py
From: |
Matti Katila |
Subject: |
[Gzz-commits] fenfire/org/fenfire/demo buoyoing.py |
Date: |
Mon, 23 Jun 2003 08:37:04 -0400 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Branch:
Changes by: Matti Katila <address@hidden> 03/06/23 08:37:04
Modified files:
org/fenfire/demo: buoyoing.py
Log message:
move accursed node on plane only - problem still is the press state,
see hasBinding()
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/demo/buoyoing.py.diff?tr1=1.77&tr2=1.78&r1=text&r2=text
Patches:
Index: fenfire/org/fenfire/demo/buoyoing.py
diff -u fenfire/org/fenfire/demo/buoyoing.py:1.77
fenfire/org/fenfire/demo/buoyoing.py:1.78
--- fenfire/org/fenfire/demo/buoyoing.py:1.77 Sun Jun 22 14:18:14 2003
+++ fenfire/org/fenfire/demo/buoyoing.py Mon Jun 23 08:37:04 2003
@@ -375,10 +375,12 @@
def isChangeable(self): return 1
def change(self, x,y):
f = self.obj.first.getFocus()
+ node = self.obj.second
+ if not self.context.isAccursed(node): return
+
fX, fY = f.getPanX(), f.getPanY()
f.setPan( fX+x*.5/f.zoom,fY+y*.5/f.zoom)
- node = self.obj.second
g = fen.graph
ox = ff.util.RDFUtil.getInt(g, node, CANVAS2D.x)
oy = ff.util.RDFUtil.getInt(g, node, CANVAS2D.y)
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, (continued)
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/08
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/08
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/09
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/09
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/09
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/09
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/09
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Matti Katila, 2003/06/14
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/19
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Matti Katila, 2003/06/22
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py,
Matti Katila <=
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Tuomas J. Lukka, 2003/06/24
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/06/26