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

Modified Files:
        osd.py 
Log Message:
Speed improvements:
o thumbanils are now stored as pickled raw bitmaps to improve loading
  speed, exif parser is now taken from mmpython
o split drawstringframed into a calculating an a drawing part to speed
  up the info area
removed old unneeded code
changed docs


Index: osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/osd.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** osd.py      28 Jun 2003 01:51:38 -0000      1.51
--- osd.py      2 Jul 2003 20:02:54 -0000       1.52
***************
*** 10,16 ****
  # -----------------------------------------------------------------------
  # $Log$
  # Revision 1.51  2003/06/28 01:51:38  gsbarbieri
! # Some code reformating, removed some bloat code and fixed 
drawstringframedsoft(align='justified')
! # to render justified code properly.
  #
  # Revision 1.50  2003/06/27 18:55:40  gsbarbieri
--- 10,25 ----
  # -----------------------------------------------------------------------
  # $Log$
[...2012 lines suppressed...]
! # Simple test...
! #
! if __name__ == '__main__':
!     osd = OSD()
!     osd.clearscreen()
!     osd.drawstring(s, 10, 10, font='skins/fonts/bluehigh.ttf', ptsize=14)
!     osd.update()
!     time.sleep(5)
  
  
--- 1553,1561 ----
                  return_x0 = x0
                  
!             if x0 + line_size > return_x1:
!                 return_x1 = x0 + line_size
  
          return_y1 = y0
!         return (drawing_objects, rest_words, (return_x0,return_y0, return_x1, 
return_y1))
  
  




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to