Update of /cvsroot/freevo/freevo/src/image
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1556/image

Modified Files:
        viewer.py 
Log Message:
Added support for animations. Most of the code is from Viggo Fredriksen


Index: viewer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/viewer.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** viewer.py   23 Feb 2004 08:13:54 -0000      1.42
--- viewer.py   25 Apr 2004 11:23:58 -0000      1.43
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.43  2004/04/25 11:23:58  dischi
+ # Added support for animations. Most of the code is from Viggo Fredriksen
+ #
  # Revision 1.42  2004/02/23 08:13:54  gsbarbieri
  # i18n: Help translators job.
***************
*** 84,87 ****
--- 87,93 ----
  from event import *
  
+ import time
+ from animation import render, Transition
+ 
  # Module variable that contains an initialized ImageViewer() object
  _singleton = None
***************
*** 254,260 ****
  
              if config.IMAGEVIEWER_BLEND_STEPS:
!                 self.osd.update(blend_surface=screen,
!                                 blend_steps=config.IMAGEVIEWER_BLEND_STEPS,
!                                 blend_time=config.IMAGEVIEWER_BLEND_TIME)
  
          else:
--- 260,269 ----
  
              if config.IMAGEVIEWER_BLEND_STEPS:
!                 blend = Transition(self.osd.screen.convert(),
!                                    screen.convert() )
!                 blend.start()
!                 while not blend.finished:
!                     self.osd.sleep(0)
!                 blend.remove()
  
          else:



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to