/[gzz]/gzz/gfx/demo/psyko.py
ViewVC logotype

Diff of /gzz/gfx/demo/psyko.py

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

revision 1.6 by jvk, Mon Aug 12 11:22:34 2002 UTC revision 1.7 by jvk, Mon Sep 2 06:18:19 2002 UTC
# Line 172  class PaperScene: Line 172  class PaperScene:
172          AbstractUpdateManager.setNoAnimation()          AbstractUpdateManager.setNoAnimation()
173          AbstractUpdateManager.chg()          AbstractUpdateManager.chg()
174    
175      def scene(self):      def scene(self, vs):
         d = w.getSize()  
         vs = gfxapi.createVobScene(d)  
176          putnoc(vs, background(self.bgcolor))          putnoc(vs, background(self.bgcolor))
177    
178          cs1 = vs.coords.affineCoordsys("1", 10, 600, 450, 290, 0, 0, 290)          cs1 = vs.coords.affineCoordsys("1", 10, 600, 450, 290, 0, 0, 290)
# Line 263  class PaperScene2: Line 261  class PaperScene2:
261          AbstractUpdateManager.setNoAnimation()          AbstractUpdateManager.setNoAnimation()
262          AbstractUpdateManager.chg()          AbstractUpdateManager.chg()
263                            
264      def scene(self):      def scene(self, vs):
         d = w.getSize()  
         vs = gfxapi.createVobScene(d)  
265          putnoc(vs, background(self.bgcolor))          putnoc(vs, background(self.bgcolor))
266    
267          cs1 = vs.coords.affineCoordsys("1", 10, 300, 450, 290, 0, 0, 290)          cs1 = vs.coords.affineCoordsys("1", 10, 300, 450, 290, 0, 0, 290)
# Line 355  class PaperScene3: Line 351  class PaperScene3:
351          AbstractUpdateManager.setNoAnimation()          AbstractUpdateManager.setNoAnimation()
352          AbstractUpdateManager.chg()          AbstractUpdateManager.chg()
353    
354      def scene(self):      def scene(self, vs):
         d = w.getSize()  
         vs = gfxapi.createVobScene(d)  
355          putnoc(vs, background(self.bgcolor))          putnoc(vs, background(self.bgcolor))
356    
357          cs1 = vs.coords.affineCoordsys("1", 10, 600, 450, 290, 0, 0, 290)          cs1 = vs.coords.affineCoordsys("1", 10, 600, 450, 290, 0, 0, 290)
# Line 387  class FeedBackScene: Line 381  class FeedBackScene:
381    
382          setTimeout(self, timeout)          setTimeout(self, timeout)
383    
384      def scene(self):      def scene(self, vs):
         d = w.getSize()  
         vs = gfxapi.createVobScene(d)  
385          putnoc(vs, background(self.bgcolor))          putnoc(vs, background(self.bgcolor))
386    
387          if self.message != None:          if self.message != None:
# Line 421  class MenuScene: Line 413  class MenuScene:
413          self.pq = None          self.pq = None
414          getpaper(0) # Get textures loaded          getpaper(0) # Get textures loaded
415    
416      def scene(self):      def scene(self, vs):
         d = w.getSize()  
         vs = gfxapi.createVobScene(d)  
   
417          putnoc(vs, background(self.bgcolor))          putnoc(vs, background(self.bgcolor))
418    
419          cs1 = vs.coords.affineCoordsys("txt", 10, 100, 450, 1, 0, 0, 1)          cs1 = vs.coords.affineCoordsys("txt", 10, 100, 450, 1, 0, 0, 1)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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