summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/imgbrowse
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-25 12:15:04 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-25 12:15:04 (GMT)
commit5a6fdcd3718927109592c6df692fe24a8fdaee31 (patch)
tree3816c4cbfcf1533dee55a48a8eec2c3557ae44cc /Mac/Demo/imgbrowse
parent6dba6bc0a226c2dd384d9311b9ad842be653c2b5 (diff)
downloadcpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.zip
cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.gz
cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.bz2
Import the MacOS toolbox modules from the Carbon package.
Diffstat (limited to 'Mac/Demo/imgbrowse')
-rw-r--r--Mac/Demo/imgbrowse/imgbrowse.py10
-rw-r--r--Mac/Demo/imgbrowse/mac_image.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Demo/imgbrowse/imgbrowse.py b/Mac/Demo/imgbrowse/imgbrowse.py
index ab9b429..c67f4e8 100644
--- a/Mac/Demo/imgbrowse/imgbrowse.py
+++ b/Mac/Demo/imgbrowse/imgbrowse.py
@@ -2,11 +2,11 @@
import FrameWork
import EasyDialogs
-import Res
-import Qd
-import QuickDraw
-import Win
-#import List
+from Carbon import Res
+from Carbon import Qd
+from Carbon import QuickDraw
+from Carbon import Win
+#ifrom Carbon mport List
import sys
import struct
import img
diff --git a/Mac/Demo/imgbrowse/mac_image.py b/Mac/Demo/imgbrowse/mac_image.py
index 4e3881f..094c58e 100644
--- a/Mac/Demo/imgbrowse/mac_image.py
+++ b/Mac/Demo/imgbrowse/mac_image.py
@@ -1,6 +1,6 @@
"""mac_image - Helper routines (hacks) for images"""
import imgformat
-import Qd
+from Carbon import Qd
import time
import struct
import MacOS