[Python-checkins] python/dist/src/Mac/Demo/quicktime MovieInWindow.py,1.5,1.6 VerySimplePlayer.py,1.5,1.6

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2002年11月29日 16:01:53 -0800


Update of /cvsroot/python/python/dist/src/Mac/Demo/quicktime
In directory sc8-pr-cvs1:/tmp/cvs-serv20028/Demo/quicktime
Modified Files:
	MovieInWindow.py VerySimplePlayer.py 
Log Message:
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
Index: MovieInWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Demo/quicktime/MovieInWindow.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MovieInWindow.py	25 Aug 2001 12:07:36 -0000	1.5
--- MovieInWindow.py	30 Nov 2002 00:01:18 -0000	1.6
***************
*** 32,36 ****
 	# XXXX Needed? SetGWorld((CGrafPtr)theWindow, nil)
 	
! 	playMovieInWindow(theWindow, fss, theWindow.GetWindowPort().portRect)
 	
 def playMovieInWindow(theWindow, theFile, movieBox):
--- 32,36 ----
 	# XXXX Needed? SetGWorld((CGrafPtr)theWindow, nil)
 	
! 	playMovieInWindow(theWindow, fss, theWindow.GetWindowPort().GetPortBounds())
 	
 def playMovieInWindow(theWindow, theFile, movieBox):
Index: VerySimplePlayer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Demo/quicktime/VerySimplePlayer.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** VerySimplePlayer.py	25 Aug 2001 12:13:33 -0000	1.5
--- VerySimplePlayer.py	30 Nov 2002 00:01:20 -0000	1.6
***************
*** 79,83 ****
 				Qd.SetPort(whichWindow)
 				whichWindow.BeginUpdate()
! 				Qd.EraseRect(whichWindow.GetWindowPort().portRect)
 				whichWindow.EndUpdate()
 			
--- 79,83 ----
 				Qd.SetPort(whichWindow)
 				whichWindow.BeginUpdate()
! 				Qd.EraseRect(whichWindow.GetWindowPort().GetPortBounds())
 				whichWindow.EndUpdate()
 			

AltStyle によって変換されたページ (->オリジナル) /