/[gzz]/gzz/gzz/view/xubuoy.py
ViewVC logotype

Diff of /gzz/gzz/view/xubuoy.py

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

revision 1.8 by benja, Thu Oct 3 11:53:48 2002 UTC revision 1.9 by benja, Thu Oct 3 12:00:53 2002 UTC
# Line 300  class XuPDFScene_PDFContext: Line 300  class XuPDFScene_PDFContext:
300          else:          else:
301              print "Unused mouse: ",ev              print "Unused mouse: ",ev
302    
303      def moveToCell(self, cell, nx=1, ny=1):      def moveToCell(self, cell, nx=1, ny=1, redraw=1):
304          global globalx, globaly          global globalx, globaly
305          global globalforw, globalback, globalspan          global globalforw, globalback, globalspan
306    
# Line 320  class XuPDFScene_PDFContext: Line 320  class XuPDFScene_PDFContext:
320          print "Xu: ",globalforw,globalback          print "Xu: ",globalforw,globalback
321    
322          java.lang.System.gc()          java.lang.System.gc()
323          AbstractUpdateManager.chg()          if redraw:
324                AbstractUpdateManager.chg()
325    
326      def scene(self, vs):      def scene(self, vs):
327          bg(vs)          bg(vs)
# Line 410  class XuPDF_ViewBinder(gzz.view.View.Nam Line 411  class XuPDF_ViewBinder(gzz.view.View.Nam
411          return "XuBuoy"          return "XuBuoy"
412      def render(self, vs, cs, context):      def render(self, vs, cs, context):
413          view = self._getview(context)          view = self._getview(context)
414          view.moveToCell(context.cursor)          view.moveToCell(context.cursor, redraw=0)
415          view.scene(vs)          view.scene(vs)
416    
417    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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