From f4875af09c1c2dc2ad76329560ce4345b0fe4cd9 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 18 Mar 1996 13:36:33 +0000 Subject: Minor fix --- Mac/Demo/imgbrowse/imgbrowse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/Demo/imgbrowse/imgbrowse.py b/Mac/Demo/imgbrowse/imgbrowse.py index e498a06..56d6d31 100644 --- a/Mac/Demo/imgbrowse/imgbrowse.py +++ b/Mac/Demo/imgbrowse/imgbrowse.py @@ -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): -- cgit v0.12