Mail Archives: djgpp/1997/03/18/07:55:23
Are there any precautions to take when drawing a custom cursor
and moving that one around on the screen while drawing other stuff?
I'm updating a graphical counter (steered by the mouse coordinates
in the test version) and while that I'm moving a crosshair cursor by
mouse postition.
While I'm moving a round the sprite smudge gets spattered over
the screen (pieces of the sprite, pixels are set where they not
should be etc etc.).
When I'm doing a show_mouse(NULL) before I'm doing the drawing the
smudge disappears but this is leading to intolerable flickering
of the sprite.
--
Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de
- Raw text -