Commit 5f0bda1a authored by Jack Jansen's avatar Jack Jansen

Added QDFlushPortBuffer calls.

parent 6d261c33
...@@ -43,6 +43,7 @@ def importing(module): ...@@ -43,6 +43,7 @@ def importing(module):
else: else:
Qd.EraseRect(rect) Qd.EraseRect(rect)
Qd.PaintRect((36, 282, pos, 288)) Qd.PaintRect((36, 282, pos, 288))
Qd.QDFlushPortBuffer(splash.GetDialogWindow().GetWindowPort(), None)
def my__import__(name, globals=None, locals=None, fromlist=None): def my__import__(name, globals=None, locals=None, fromlist=None):
try: try:
...@@ -101,6 +102,7 @@ def UpdateSplash(drawdialog = 0, what = 0): ...@@ -101,6 +102,7 @@ def UpdateSplash(drawdialog = 0, what = 0):
splash.DrawDialog() splash.DrawDialog()
drawtext(what) drawtext(what)
splash.GetDialogWindow().ValidWindowRect(splash.GetDialogPort().portRect) splash.GetDialogWindow().ValidWindowRect(splash.GetDialogPort().portRect)
Qd.QDFlushPortBuffer(splash.GetDialogWindow().GetWindowPort(), None)
def drawtext(what = 0): def drawtext(what = 0):
Qd.SetPort(splash) Qd.SetPort(splash)
......
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