/[fenfire]/fenfire/org/fenfire/view/lava/mindMapView2D.py
ViewVC logotype

Diff of /fenfire/org/fenfire/view/lava/mindMapView2D.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.50 by humppake, Wed Aug 27 16:25:15 2003 UTC revision 1.51 by humppake, Wed Aug 27 18:46:34 2003 UTC
# Line 118  class MindMapMainNode2D(ff.view.buoy.Mai Line 118  class MindMapMainNode2D(ff.view.buoy.Mai
118          x = r * Math.cos(angle) + x0          x = r * Math.cos(angle) + x0
119          y = -r * Math.sin(angle) + y0          y = -r * Math.sin(angle) + y0
120                    
121          cs = vs.orthoBoxCS(into, node, -100, x-bx/2,y-by/2, 1,1, bx,by)          cs = vs.orthoBoxCS(into, "PRE_"+node, -100, x-bx/2,y-by/2, 1,1, bx,by)
122          return cs          return cs
123    
124      def place(self, vs, node, cs):      def place(self, vs, node, into):
125          p = self.multiplexer.f(self.fen.graph, node)          p = self.multiplexer.f(self.fen.graph, node)
126          x = - p.getWidth()/2.          x = - p.getWidth()/2.
127          y = - p.getHeight()/2.          y = - p.getHeight()/2.
128          cs = vs.orthoBoxCS(cs,node,0, x, y, 1,1, p.getWidth(), p.getHeight())          vs.matcher.add(self.floatingView.matchingParent, into, node)
129            cs = vs.orthoBoxCS(into,node,0, x, y, 1,1, p.getWidth(), p.getHeight())
130          p.place(vs, cs)          p.place(vs, cs)
131          vs.coords.activate(cs)          vs.coords.activate(cs)
132    

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26