[Python-checkins] CVS: python/dist/src/Mac/Tools/IDE Splash.py,1.13,1.14
Jack Jansen
jackjansen@users.sourceforge.net
2001年8月25日 05:12:54 -0700
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv21993/Python/Mac/Tools/IDE
Modified Files:
Splash.py
Log Message:
Import the MacOS toolbox modules from the Carbon package.
Index: Splash.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/Splash.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Splash.py 2001年08月19日 22:00:20 1.13
--- Splash.py 2001年08月25日 12:12:52 1.14
***************
*** 1,9 ****
! import Dlg
! import Res
splash = Dlg.GetNewDialog(468, -1)
splash.DrawDialog()
! import Qd, TE, Fm, sys
_real__import__ = None
--- 1,10 ----
! from Carbon import Dlg
! from Carbon import Res
splash = Dlg.GetNewDialog(468, -1)
splash.DrawDialog()
! from Carbon import Qd, TE, Fm
! import sys
_real__import__ = None
***************
*** 33,37 ****
fontID = Fm.GetFNum("Python-Sans")
if not fontID:
! from Fonts import geneva
fontID = geneva
Qd.TextFont(fontID)
--- 34,38 ----
fontID = Fm.GetFNum("Python-Sans")
if not fontID:
! from Carbon.Fonts import geneva
fontID = geneva
Qd.TextFont(fontID)
***************
*** 69,76 ****
kHighLevelEvent = 23
! import Win
! from Fonts import *
! from QuickDraw import *
! from TextEdit import *
import string
import sys
--- 70,77 ----
kHighLevelEvent = 23
! from Carbon import Win
! from Carbon.Fonts import *
! from Carbon.QuickDraw import *
! from Carbon.TextEdit import *
import string
import sys
***************
*** 131,136 ****
def wait():
! import Evt
! import Events
global splash
try:
--- 132,137 ----
def wait():
! from Carbon import Evt
! from Carbon import Events
global splash
try: