Update of /cvsroot/freevo/freevo/skins/dischi1
In directory sc8-pr-cvs1:/tmp/cvs-serv21220
Modified Files:
info_area.py
Log Message:
fixed table handling
Index: info_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/info_area.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** info_area.py 18 Mar 2003 09:37:00 -0000 1.9
--- info_area.py 22 Mar 2003 22:20:06 -0000 1.10
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.10 2003/03/22 22:20:06 dischi
+ # fixed table handling
+ #
# Revision 1.9 2003/03/18 09:37:00 dischi
# Added viewitem and infoitem to the menu to set an item which image/info
***************
*** 152,164 ****
w = 0
! for row in table[0]:
! w = max(w, osd.stringsize(row, font=font.name, ptsize=font.size)[0])
! if x0 + w > content.x + content.width:
! w = content.x + content.width - x0
y0 = content.y
for i in range(0,len(table[0])):
if table[0][i] and not table[1][i]:
! rec = self.write_text(table[0][i], font, content, x=x0, y=y0,
width=w,
height=content.height + content.y - y0,
mode='soft',
return_area = TRUE)
--- 155,169 ----
w = 0
! for i in range(0,len(table[0])):
! if table[1][i]:
! w = max(w, osd.stringsize(table[0][i], font=font.name,
ptsize=font.size)[0])
! if x0 + w > content.x + content.width:
! w = content.x + content.width - x0
y0 = content.y
for i in range(0,len(table[0])):
if table[0][i] and not table[1][i]:
! rec = self.write_text(table[0][i], font, content, x=x0, y=y0,
! width=content.width,
height=content.height + content.y - y0,
mode='soft',
return_area = TRUE)
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog