/[gzz]/gzz/gzz/view/buoy/buoymanager.py
ViewVC logotype

Diff of /gzz/gzz/view/buoy/buoymanager.py

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

revision 1.27 by tjl, Wed Feb 12 13:08:20 2003 UTC revision 1.28 by tjl, Wed Feb 12 13:58:00 2003 UTC
# Line 38  class RealBuoyManager(BuoyLinkListener): Line 38  class RealBuoyManager(BuoyLinkListener):
38          self.vs.matcher.add(cs, n, "NADIR")          self.vs.matcher.add(cs, n, "NADIR")
39          return n          return n
40      def scene(self, vs):      def scene(self, vs):
         print "SCENE"  
41          self.vs = vs          self.vs = vs
42          self.cs = { }          self.cs = { }
43    
# Line 76  class RealBuoyManager(BuoyLinkListener): Line 75  class RealBuoyManager(BuoyLinkListener):
75          self.mainCS = main          self.mainCS = main
76    
77      def link(self, *args):      def link(self, *args):
         print "Store link:",args  
78          self.links.append(args)          self.links.append(args)
79      def linkReally(self, direction, anchorCS, otherNode, linkId, otherAnchor):      def linkReally(self, direction, anchorCS, otherNode, linkId, otherAnchor):
         print 'anchorCS: ',anchorCS  
80          anchorUnit = self.vs.unitSqCS(anchorCS, "UN")          anchorUnit = self.vs.unitSqCS(anchorCS, "UN")
81          anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5)          anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5)
82          x = self.ctrx          x = self.ctrx

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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