1. leftovers on screen after display_image

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?

new topic     » topic index » view message » categorize

2. Re: leftovers on screen after display_image

maybe if you clear_screen() before drawing on it?

new topic     » goto parent     » topic index » view message » categorize

3. Re: leftovers on screen after display_image

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu