Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv3370/main
Modified Files:
listing_area.py skin_utils.py
Log Message:
scan for the images without fxd info
Index: listing_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/listing_area.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** listing_area.py 22 Oct 2003 18:26:09 -0000 1.12
--- listing_area.py 22 Oct 2003 18:45:12 -0000 1.13
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.13 2003/10/22 18:45:12 dischi
+ # scan for the images without fxd info
+ #
# Revision 1.12 2003/10/22 18:26:09 dischi
# Changes in the table code of menu items:
***************
*** 417,422 ****
x_mod = 0
if table_text[i].find('ICON_') == 0:
! x_mod, table_text[i] = text_or_icon(area, table_text[i],
table_x,
! table_w, val.font)
if not isinstance(table_text[i], str):
self.draw_image(table_text[i], (table_x + x_mod, y0
+ vskip))
--- 420,425 ----
x_mod = 0
if table_text[i].find('ICON_') == 0:
! x_mod, table_text[i] = text_or_icon(settings,
table_text[i],
! table_x, table_w,
val.font)
if not isinstance(table_text[i], str):
self.draw_image(table_text[i], (table_x + x_mod, y0
+ vskip))
Index: skin_utils.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/skin_utils.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** skin_utils.py 22 Oct 2003 18:26:10 -0000 1.7
--- skin_utils.py 22 Oct 2003 18:45:12 -0000 1.8
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.8 2003/10/22 18:45:12 dischi
+ # scan for the images without fxd info
+ #
# Revision 1.7 2003/10/22 18:26:10 dischi
# Changes in the table code of menu items:
***************
*** 184,194 ****
try:
height = font.h
! image = settings.images[l[2].lower()].filename
if image:
! cname = '%s-%s-%s-%s-%s' % (image, x, l[1], width, height)
cimage = format_imagecache[cname]
if cimage:
return cimage
!
image = osd.loadbitmap(image)
if not image:
--- 187,203 ----
try:
height = font.h
! image = os.path.join(settings.icon_dir, l[2].lower())
! if os.path.isfile(image + '.jpg'):
! image += '.jpg'
! if os.path.isfile(image + '.png'):
! image += '.png'
! else:
! image = None
if image:
! cname = '%s-%s-%s-%s-%s' % (image, x, l[2], width, height)
cimage = format_imagecache[cname]
if cimage:
return cimage
!
image = osd.loadbitmap(image)
if not image:
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog