Commit 4c17cfff authored by Jack Jansen's avatar Jack Jansen

Minor fix

parent d2d0f395
......@@ -49,7 +49,7 @@ def dumppixmap(data):
def mk16pixmap(w, h, data):
"""kludge a pixmap together"""
rv = struct.pack("lhhhhhhhlllhhhhlll",
id(data),
id(data)+12,
w*2 + 0x8000,
0, 0, h, w,
0,
......@@ -128,7 +128,7 @@ class imgwindow(FrameWork.Window):
currect, QuickDraw.srcCopy, None)
self.info()
Qd.CopyBits(self.pixmap, self.wid.GetWindowPort().portBits, self.pictrect,
currect, QuickDraw.srcCopy, None)
currect, QuickDraw.srcCopy+QuickDraw.ditherCopy, None)
## Qd.DrawPicture(self.picture, currect)
def fitrect(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment