1. leftovers on screen after display_image
- Posted by Jacen <Duel_Saber72 at hotmail.com> Apr 02, 2005
- 467 views
I am trying to make a popup screen popup, with a button on it that allows you to go to the previous screen. What my code does is save an image of the screen, put a new bkground color to it, and draw a button on. When the person presses the button, the previous screen comes up. Everything works fine, except I have a little area where the mouse pointer was over the button that doesn't write over. How can I fix this?
2. Re: leftovers on screen after display_image
- Posted by Robert Szalay <robsz86 at netzero.net> Apr 02, 2005
- 464 views
maybe if you clear_screen() before drawing on it?
3. Re: leftovers on screen after display_image
- Posted by Robert Craig <rds at RapidEuphoria.com> Apr 02, 2005
- 457 views
Jacen wrote: > I am trying to make a popup screen popup, with a button on it that allows > you to go to the previous screen. What my code does is save an image of > the screen, put a new bkground color to it, and draw a button on. When > the person presses the button, the previous screen comes up. Everything > works fine, except I have a little area where the mouse pointer was over > the button that doesn't write over. How can I fix this? If you are doing this in DOS, you should hide the mouse pointer with a call to the library routine mouse_pointer(). Restore the mouse pointer, after you've updated the screen, with another call to mouse_pointer(). Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com