Listing 3. Beginning of the mouseInfo function.
bool mouseInfo(int *xCoor,int *yCoor,int *color){ //Get current mouse coordinates and send back via // pointer variables. *xCoor = mouse_x; *yCoor = mouse_y;