gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gfx/demo gldemo.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/gfx/demo gldemo.py
Date: Sun, 06 Oct 2002 09:43:56 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/06 09:43:56

Modified files:
        gfx/demo       : gldemo.py 

Log message:
        Demo size => 1024, 768

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/gldemo.py.diff?tr1=1.30&tr2=1.31&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/gldemo.py
diff -c gzz/gfx/demo/gldemo.py:1.30 gzz/gfx/demo/gldemo.py:1.31
*** gzz/gfx/demo/gldemo.py:1.30 Wed Oct  2 14:24:34 2002
--- gzz/gfx/demo/gldemo.py      Sun Oct  6 09:43:56 2002
***************
*** 1,4 ****
--- 1,12 ----
  # A gl demo framework that can reload the given file at will.
+ #
+ # The target size for demos is 1024x768, since that is
+ # a reasonable lowest common denominator. 
+ #
+ # Our demo animations will also be in that size.
+ #
+ # The current screen size can be queried from the vobscene
+ # and the user is free to resize the window; demos shouldn't.
  
  import sys
  # Unfortunate debianisms XXX
***************
*** 256,266 ****
        b,s = (Bindings(), Show())
        global w
        w = gfxapi.createWindow()
-       w.setLocation(0,0,600,600)
        loadScenes()
        scr = Screen(w, b, s)
        AbstractUpdateManager.addWindow(scr)
        AbstractUpdateManager.chg()
        
  
  scenefile = args[0]
--- 264,274 ----
        b,s = (Bindings(), Show())
        global w
        w = gfxapi.createWindow()
        loadScenes()
        scr = Screen(w, b, s)
        AbstractUpdateManager.addWindow(scr)
        AbstractUpdateManager.chg()
+       w.setLocation(0,0,1024,768)
        
  
  scenefile = args[0]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]