Quote:
Originally posted by kleptos
If i draw a rectangle and then draw some text in the middle of the rectangle, how can i remove the text and replace it? I am working on a progress bar, and as i update the text it seems to write on top of the last value, not remove and write. Any ideas? Thanks!
You can't really 'remove' it because it is all combined when it is painted to the screen (at least that is how I learned it in Java). What you can do is write over the text with the same text that is the same color as the background color. It will 'effectively' disappear. Then you can do other things.