Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Miniwindows
➜ Refreshing Miniwindow text without "smearing"
|
Refreshing Miniwindow text without "smearing"
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Boxknife
(19 posts) Bio
|
| Date
| Fri 05 Dec 2008 07:27 AM (UTC) Amended on Fri 05 Dec 2008 08:53 AM (UTC) by Boxknife
|
| Message
| 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? | | Top |
|
| Posted by
| Worstje
Netherlands (899 posts) Bio
|
| Date
| Reply #1 on Fri 05 Dec 2008 07:56 AM (UTC) |
| Message
| 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. | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,328 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top