Checker 1
Mouse Hit-test
Notes: This demo shows off getting location info from mouse clicks. The idea is that whenever the user clicks the mouse on a square that square should flip its state. If it's checked it would become unchecked, if it's unchecked it would become checked. When the user clicks the program determines which square was clicked on and then draws or erases the check.
Description: A screenshot of a program in front of a window containing code. The program has a series of horizontal and vertical lines that create a grid. Some of the boxes in the grids have a line going from the upper left corner to the bottom right corner and a line going from the upper right corner to the bottom left corner.