Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4654/src/gui

Modified Files:
        PopupBox.py 
Log Message:
more gui cleanup

Index: PopupBox.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/PopupBox.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** PopupBox.py 18 Feb 2004 21:52:04 -0000      1.37
--- PopupBox.py 19 Feb 2004 19:39:50 -0000      1.38
***************
*** 11,14 ****
--- 11,17 ----
  #-----------------------------------------------------------------------
  # $Log$
+ # Revision 1.38  2004/02/19 19:39:50  dischi
+ # more gui cleanup
+ #
  # Revision 1.37  2004/02/18 21:52:04  dischi
  # Major GUI update:
***************
*** 150,173 ****
          Also scales the icon to fit the size of the box.
          
!         Can either be a string with filename or a pygame Surface object.
          """
!         if type(image) in StringTypes:
!             self.icon = pygame.image.load(image).convert_alpha()
!         else:
!             self.icon = image
! 
!         bx,by = self.get_size()
!         ix,iy = self.icon.get_size()
!         
!         aspect = (ix/iy)
! 
!         if(bx > by):
!             iy = by-(self.v_margin*2)
!             ix = iy*aspect
!         else:
!             ix = bx-(self.h_margin*2)
!             iy = ix/aspect
!         
!         self.icon = pygame.transform.scale(self.icon, (ix, iy))
  
  
--- 153,159 ----
          Also scales the icon to fit the size of the box.
          
!         Not working right now
          """
!         pass
  
  



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to