/[libvob]/libvob/vob/buoy/buoymanager.py
ViewVC logotype

Diff of /libvob/vob/buoy/buoymanager.py

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

revision 1.49 by tjl, Mon Aug 11 18:52:27 2003 UTC revision 1.50 by mudyc, Tue Aug 12 08:13:08 2003 UTC
# Line 239  class MultiBuoyManager: Line 239  class MultiBuoyManager:
239          self.buoyHit = BuoyHit()          self.buoyHit = BuoyHit()
240    
241      def key(self, key):      def key(self, key):
242          if hasattr(self.geometer, 'key'):          raise 'no key events here, thank you'
             self.geometer.key(key)  
243      def replaceManager(self, index, replace):      def replaceManager(self, index, replace):
244          self.singles[index] = SingleFocusManager(replace, self.connectors)          self.singles[index] = SingleFocusManager(replace, self.connectors)
245      def getVs(self):      def getVs(self):
# Line 274  class MultiBuoyManager: Line 273  class MultiBuoyManager:
273                      nadirCS)                      nadirCS)
274    
275      def mouse(self, ev):      def mouse(self, ev):
276            """ Returns true if buoymanager has eaten the event ;)"""
277          if not hasattr(self, 'vs'):          if not hasattr(self, 'vs'):
278              vob.AbstractUpdateManager.setNoAnimation()              vob.AbstractUpdateManager.setNoAnimation()
279              vob.AbstractUpdateManager.chg()              vob.AbstractUpdateManager.chg()
280              return              return 1
281    
282          if self.eventHandler.mouse(ev, self.vs):          if self.eventHandler.mouse(ev, self.vs):
283              return              return 1
284    
285          if ev.getType() == ev.MOUSE_DRAGGED:          if ev.getType() == ev.MOUSE_DRAGGED:
286              if self.singles[self.lastIndex].mainNode.mouse(ev, self.vs):              if self.singles[self.lastIndex].mainNode.mouse(ev, self.vs):

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

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