gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gfx/demo/color colors.py


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gfx/demo/color colors.py
Date: Thu, 19 Sep 2002 05:41:47 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        02/09/19 05:41:47

Modified files:
        gfx/demo/color : colors.py 

Log message:
        Adapt to gldemo changes

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/color/colors.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/color/colors.py
diff -c gzz/gfx/demo/color/colors.py:1.2 gzz/gfx/demo/color/colors.py:1.3
*** gzz/gfx/demo/color/colors.py:1.2    Wed Sep  4 18:06:00 2002
--- gzz/gfx/demo/color/colors.py        Thu Sep 19 05:41:47 2002
***************
*** 92,99 ****
            str += "End\n"
            self.hslhexes[b] = getDList(str)
        return self.hslhexes[b]
!     def scene(self):
!       d = w.getSize()
        putnoc(vs, background((0.5,0.5,0.5)))
  
        putnoc(vs, getDList("""
--- 92,98 ----
            str += "End\n"
            self.hslhexes[b] = getDList(str)
        return self.hslhexes[b]
!     def scene(self, vs):
        putnoc(vs, background((0.5,0.5,0.5)))
  
        putnoc(vs, getDList("""
***************
*** 116,122 ****
            PopAttrib
        """))
  
!       return vs
  class CIELABScene:
      def __init__(self):
        self.labhexes = {}
--- 115,121 ----
            PopAttrib
        """))
  
! 
  class CIELABScene:
      def __init__(self):
        self.labhexes = {}
***************
*** 211,217 ****
            End
        """
      def scene(self, vs):
-       d = w.getSize()
        putnoc(vs, background((1.0,1.0,1.0)))
  
        putnoc(vs, getDList("""
--- 210,215 ----
***************
*** 256,263 ****
            PopAttrib
        """))
  
-       return vs
- 
  
  def lightcolor():
      c = (0,0,0)
--- 254,259 ----
***************
*** 290,297 ****
      def key(self, k):
        if k == "v":
            self.recolor()
!     def scene(self):
!       d = w.getSize()
        putnoc(vs, background((0.5,0.5,0.5)))
  
        putnoc(vs, getDList("""
--- 286,292 ----
      def key(self, k):
        if k == "v":
            self.recolor()
!     def scene(self, vs):
        putnoc(vs, background((0.5,0.5,0.5)))
  
        putnoc(vs, getDList("""
***************
*** 308,315 ****
        putnoc(vs, getDList("""
            PopAttrib
        """))
- 
-       return vs
  
  currentScene = CIELABScene()
  
--- 303,308 ----




reply via email to

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