Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30348/src/gui
Modified Files:
GUIObject.py
Log Message:
use screenblit
Index: GUIObject.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/GUIObject.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** GUIObject.py 19 Mar 2004 21:03:40 -0000 1.37
--- GUIObject.py 10 Jul 2004 10:43:57 -0000 1.38
***************
*** 8,11 ****
--- 8,14 ----
#-----------------------------------------------------------------------
# $Log$
+ # Revision 1.38 2004/07/10 10:43:57 dischi
+ # use screenblit
+ #
# Revision 1.37 2004/03/19 21:03:40 dischi
# fix tvguide context bug
***************
*** 234,238 ****
self.visible = 0
if self.parent and self.parent.visible and self.bg_surface:
! self.osd.screen.blit(self.bg_surface, self.get_position())
self.osd.update(self.get_rect())
--- 237,241 ----
self.visible = 0
if self.parent and self.parent.visible and self.bg_surface:
! self.osd.screenblit(self.bg_surface, self.get_position())
self.osd.update(self.get_rect())
***************
*** 323,331 ****
"""
if self.osd.app_list.count(self):
! p = self.osd.screen
elif self.parent.surface:
! p = self.parent.surface
else:
! p = self.osd.screen
if self.surface != self.surface.get_abs_parent():
--- 326,334 ----
"""
if self.osd.app_list.count(self):
! p = False
elif self.parent.surface:
! p = True
else:
! p = False
if self.surface != self.surface.get_abs_parent():
***************
*** 350,359 ****
if not self.bg_surface:
self.bg_surface = self.osd.Surface((int(self.width), int(self.height)))
! self.bg_surface.blit(p, (0,0), self.get_rect())
elif restore:
! p.blit(self.bg_surface, (self.left, self.top))
! p.blit(self.surface, self.get_position())
! if p == self.osd.screen:
self.osd.update(self.get_rect())
--- 353,370 ----
if not self.bg_surface:
self.bg_surface = self.osd.Surface((int(self.width), int(self.height)))
! if p:
! self.bg_surface.blit(self.parent.surface, (0,0), self.get_rect())
! else:
! self.bg_surface.blit(self.osd.screen, (0,0), self.get_rect())
elif restore:
! if p:
! self.parent.surface.blit(self.bg_surface, (self.left, self.top))
! else:
! self.osd.screenblit(self.bg_surface, (self.left, self.top))
! if p:
! self.parent.surface.blit(self.surface, self.get_position())
! else:
! self.osd.screenblit(self.surface, self.get_position())
self.osd.update(self.get_rect())
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog