Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv6698/plugins

Modified Files:
        headlines.py 
Log Message:
make the skin blankscreen a real plugin area

Index: headlines.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/headlines.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** headlines.py        27 Oct 2003 20:14:24 -0000      1.10
--- headlines.py        22 Nov 2003 12:02:11 -0000      1.11
***************
*** 16,19 ****
--- 16,22 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.11  2003/11/22 12:02:11  dischi
+ # make the skin blankscreen a real plugin area
+ #
  # Revision 1.10  2003/10/27 20:14:24  mikeruelle
  # allow use of outicon
***************
*** 135,143 ****
      def __init__(self, (item, menuw)):
          skin.BlankScreen.__init__(self)
!         skin.force_redraw = True
!         menuw.visible = False
          self.item = item
          self.menuw = menuw
  
          rc.app(self)
          self.refresh()
--- 138,146 ----
      def __init__(self, (item, menuw)):
          skin.BlankScreen.__init__(self)
!         self.allow_plugins = True
          self.item = item
          self.menuw = menuw
  
+         self.menuw.hide(clear=False)
          rc.app(self)
          self.refresh()
***************
*** 166,178 ****
          y1 -= 10
          
!         y0 = osd.drawstringframed(self.item.name, x0, y0, x1-x0, -1,
!                                   titlefont.font, titlefont.color,
!                                   mode='hard')[1][3] + 30
  
!         y0 = osd.drawstringframed(self.render(self.item.description), x0, y0, x1-x0, 
y1-y0,
!                                   font.font, font.color, mode='soft')[1][3] + 30
!         if y0 < y1:
!             osd.drawstringframed('Link: %s' % self.item.link, x0, y0, x1-x0, y1-y0,
!                                  font.font, font.color, mode='soft')
              
  
--- 169,180 ----
          y1 -= 10
          
!         self.write_text(self.item.name, titlefont, None, x0, y0, x1-x0, -1,
!                         align_h='center', mode='hard')
  
!         y0 += titlefont.font.height + 30
! 
!         self.write_text(self.render(self.item.description) +
!                         '\n\nLink: %s' % self.item.link, font, None, x0, y0, x1-x0, 
y1-y0,
!                         mode='soft')
              
  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to