Added a region arg to update calls

This commit is contained in:
Jack Jansen 1996-04-10 14:53:29 +00:00
parent 5f962c2a75
commit 8494967f77
3 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ def setlist(self):
v = v + '"' + self.contents[i][1] + '"'
self.list.LSetCell(v, (0, i))
self.list.LSetDrawingMode(1)
self.list.LUpdate()
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
def do_listhit(self, event):
(what, message, when, where, modifiers) = event
@ -148,7 +148,7 @@ def do_rawupdate(self, window, event):
tp, h, rect = self.wid.GetDialogItem(MAIN_LIST)
Qd.SetPort(self.wid)
Qd.FrameRect(rect)
self.list.LUpdate()
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
def do_activate(self, activate, event):
self.list.LActivate(activate)

View File

@ -2,9 +2,9 @@
:$e"*3e4LFQphFf8ZFR0bB`"bFh*M8P0&4!#3#!'8,V!!N!3"!!!!!6m!!!!r!!!
!9G'"(r!!q[m!!2Vr!!$kf!!!qYJ!!2VB!!$kf!!!q[qJ$e"*3e4LFQphFf8ZFR0
bB`)!!!!rN!J!N!BrN!J!N"LYFaIp!*!'!C6r!!$kr`!!qYJ!!2VB!!$kf!!!qYJ
bB`)!!!!rN!J!N!BrN!J!N"LYGH)$!*!'!C6r!!$kr`!!qYJ!!2VB!!$kf!!!qYJ
!!2VrS!$krb$`!2Vr!!$kr`!!qYJ9!!$kf!!!qYJ!!"2kf!!!q[mJ#L!,)!`"S!!
J"V%3&2J!q[m!!2VB!!$kf!!!qYJ!!2VB!!$kf!!!q[m!!2Vr!!$krrJ!q[m3*J!
!q[r!!2Vr-2J!q[m!N!39!%!!%!%8!-8!!!%!!3#3"3)!N!8L!!%!N!8&!!S!S`#
X!*!(Y!!m!-J!GJ3%8fK[G`!!!3!!!!%r!!!!2`!!!&8!m#cN%hJ!!!!F!%B!!84
-6dF!!!!54%P86!!!!"i#!*!,!J$rr`!!!"N!N!313R*[Gh0PFL"hD@jNEhHJ9`:
-6dF!!!!54%P86!!!!"i#!*!,!J$rr`!!!"N!N!313R*[Gh0PFL"hD@jNEhHh5!:

View File

@ -137,7 +137,7 @@ def setlist(self):
v = v + '"' + self.contents[i][1] + '"'
self.list.LSetCell(v, (0, i))
self.list.LSetDrawingMode(1)
self.list.LUpdate()
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
def do_listhit(self, event):
(what, message, when, where, modifiers) = event
@ -170,7 +170,7 @@ def do_rawupdate(self, window, event):
tp, h, rect = self.wid.GetDialogItem(MAIN_LIST)
Qd.SetPort(self.wid)
Qd.FrameRect(rect)
self.list.LUpdate()
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
def do_activate(self, activate, event):
self.list.LActivate(activate)