Refreshing Miniwindow text without "smearing"

Posted by Boxknife on Fri 05 Dec 2008 07:27 AM — 3 posts, 14,879 views.

#0
Hi,

I made a miniwindow thing just above my command line to put status information in. The only problem is whenever I update the text, the old message is left behind in it and it smears. How do I clear the window before updating the text?
Amended on Fri 05 Dec 2008 08:53 AM by Boxknife
Netherlands #1
Recreate the window with your WindowCreate() call is the easiest method.

Alternatively, you can do a soft-refresh by using WindowRectOp() to draw the background color to (0, 0, 0, 0) which is a shorthand for the entire window.
#2
Thanks!