Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv16947
Modified Files:
listing_area.py
Log Message:
add table option to the menu
Index: listing_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/listing_area.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** listing_area.py 14 Sep 2003 20:09:37 -0000 1.9
--- listing_area.py 1 Oct 2003 18:55:47 -0000 1.10
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.10 2003/10/01 18:55:47 dischi
+ # add table option to the menu
+ #
# Revision 1.9 2003/09/14 20:09:37 dischi
# removed some TRUE=1 and FALSE=0 add changed some debugs to _debug_
***************
*** 309,313 ****
choice.outicon:
image = self.load_image(choice.outicon, (vspace-content.spacing,
! vspace-content.spacing))
elif choice.icon:
image = self.load_image(choice.icon, (vspace-content.spacing,
--- 312,316 ----
choice.outicon:
image = self.load_image(choice.outicon, (vspace-content.spacing,
! vspace-content.spacing))
elif choice.icon:
image = self.load_image(choice.icon, (vspace-content.spacing,
***************
*** 391,397 ****
text = '%s %sx' % (sn[0], sn[1])
! self.write_text(text, val.font, content, x=x0 + hskip + x_icon,
! y=y0 + vskip, width=width-icon_x, height=-1,
! align_h=val.align, mode='hard')
--- 394,414 ----
text = '%s %sx' % (sn[0], sn[1])
! # if the menu has an attr table, the menu is a table. Each
! # item _must_ have that many tabs as the table needs!!!
! if hasattr(menu, 'table'):
! table_x = 0
! for i in range(len(menu.table)):
! table_w = ((width-icon_x)*menu.table[i]) / 100
! if i != len(menu.table) - 1:
! table_w += 5
! self.write_text(text.split('\t')[i], val.font, content,
! x=x0 + hskip + x_icon + table_x,
! y=y0 + vskip, width=table_w, height=-1,
! align_h=val.align, mode='hard')
! table_x += table_w + 5
! else:
! self.write_text(text, val.font, content, x=x0 + hskip + x_icon,
! y=y0 + vskip, width=width-icon_x, height=-1,
! align_h=val.align, mode='hard')
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog