Hi all,
I am writing a minesweeper game using clearwin+. I currently use %gr with full mouse input to get mouse state and for drawing the game board. Game board is drawn by drawing buffer to %gr and then board tile below mouse cursor is highlighted by drawing correct highlighted board tile image on top of it.
I would like to remove tile highlighting from game board when mouse cursor leaves %gr. What is the best way to catch when that happens?
Some simple example code would be nice... 😃