Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17554/src/skins/main

Modified Files:
        area.py 
Log Message:
move idlebar image to background

Index: area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/area.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** area.py     14 Mar 2004 17:22:46 -0000      1.39
--- area.py     25 Apr 2004 12:38:22 -0000      1.40
***************
*** 28,31 ****
--- 28,34 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.40  2004/04/25 12:38:22  dischi
+ # move idlebar image to background
+ #
  # Revision 1.39  2004/03/14 17:22:46  dischi
  # seperate ellipses and dim in drawstringframed
***************
*** 711,715 ****
  
          
!     def drawimage(self, image, val):
          """
          draws an image ... or better stores the information about this call
--- 714,718 ----
  
          
!     def drawimage(self, image, val, background=False):
          """
          draws an image ... or better stores the information about this call
***************
*** 730,739 ****
          
          if isinstance(val, tuple):
!             self.tmp_objects.images.append((val[0], val[1], val[0] + 
image.get_width(),
!                                             val[1] + image.get_height(), image))
              return image.get_width(), image.get_height()
  
          try:
!             if val.label == 'background':
                  self.tmp_objects.bgimages.append((val.x, val.y, val.x + val.width,
                                                    val.y + val.height, image))
--- 733,746 ----
          
          if isinstance(val, tuple):
!             if background:
!                 o = self.tmp_objects.bgimages
!             else:
!                 o = self.tmp_objects.images
!             o.append((val[0], val[1], val[0] + image.get_width(),
!                       val[1] + image.get_height(), image))
              return image.get_width(), image.get_height()
  
          try:
!             if background or val.label == 'background':
                  self.tmp_objects.bgimages.append((val.x, val.y, val.x + val.width,
                                                    val.y + val.height, image))



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to