Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv14152/skins/main
Modified Files:
area.py
Log Message:
OVERLAY_DIR is always used
Index: area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/area.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** area.py 1 Jan 2004 16:03:53 -0000 1.24
--- area.py 3 Jan 2004 17:43:15 -0000 1.25
***************
*** 28,31 ****
--- 28,34 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.25 2004/01/03 17:43:15 dischi
+ # OVERLAY_DIR is always used
+ #
# Revision 1.24 2004/01/01 16:03:53 dischi
# use vfs.open because it creates the needed dirs
***************
*** 632,636 ****
cname = '%s-%s-%s' % (imagefile, bg.width, bg.height)
image = self.imagecache[cname]
! if not image and config.OVERLAY_DIR:
cache = vfs.getoverlay('%s.raw-%sx%s' % (imagefile, bg.width,
bg.height))
--- 635,639 ----
cname = '%s-%s-%s' % (imagefile, bg.width, bg.height)
image = self.imagecache[cname]
! if not image:
cache = vfs.getoverlay('%s.raw-%sx%s' % (imagefile, bg.width,
bg.height))
***************
*** 647,651 ****
if image:
image =
pygame.transform.scale(image,(bg.width,bg.height))
- if image and config.OVERLAY_DIR:
f = vfs.open(cache, 'w')
f.write(pygame.image.tostring(image, 'RGBA'))
--- 650,653 ----
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog