/[libvob]/libvob/vob/putil/demo.py
ViewVC logotype

Diff of /libvob/vob/putil/demo.py

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

revision 1.24 by tjl, Sun Sep 14 08:57:20 2003 UTC revision 1.25 by tjl, Sun Sep 21 13:35:06 2003 UTC
# Line 292  class Show(vob.AbstractShower): Line 292  class Show(vob.AbstractShower):
292  #    global replacingScene  #    global replacingScene
293  #    vob.AbstractUpdateManager.setNoAnimation()  #    vob.AbstractUpdateManager.setNoAnimation()
294  #    replacingScene = vs  #    replacingScene = vs
       
295    
296  class Main(Runnable):  class Main(Runnable):
297      def run(self):      def run(self):
# Line 308  class Main(Runnable): Line 307  class Main(Runnable):
307          loadScenes()          loadScenes()
308          vob.AbstractUpdateManager.addWindow(scr)          vob.AbstractUpdateManager.addWindow(scr)
309          vob.AbstractUpdateManager.chg()          vob.AbstractUpdateManager.chg()
           
   
 scenefile = args[0]  
310    
311    def run():
312        global gfxapi
313        gfxapi = vob.GraphicsAPI.getInstance()
314        gfxapi.startUpdateManager(Main())
315    
316  gfxapi = vob.GraphicsAPI.getInstance()  scenefile = args[0]
 gfxapi.startUpdateManager(Main())  
   
317    
318    if __name__ == "__main__":
319        run()

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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