GASimple MapEditor/callbacks.cpp
void mouseCallback(int button, int state, int x, int y) {
	y = height - y;	// reverse the y with the current height
	cout << x << ", " << y << endl;
	mouseBoxSizeEditor(button, state, x, y);
	mouseEditorSubWindow(button, state, x, y);
	mouseLoadSaveOps(button, state, x, y);
	glutPostRedisplay();
}
/*** mouseCallback(int, int, int, int) | function to handle mouse actions in the GLUT window ***/
mouseCallback(int, int, int, int) | function to handle mouse actions in the GLUT window
mouseCallback ( int int int int ) | function to handle mouse actions in the GLUT window
void mouseCallback(int button, int state, int x, int y) {
	y = height - y;	
	cout << x << ", " << y << endl;
	mouseBoxSizeEditor(button, state, x, y);
	mouseEditorSubWindow(button, state, x, y);
	mouseLoadSaveOps(button, state, x, y);
	glutPostRedisplay();
}
void mouseCallback ( int button , int state , int x , int y ) { y = height - y ; cout << x << " " << y << endl ; mouseBoxSizeEditor ( button , state , x , y ) ; mouseEditorSubWindow ( button , state , x , y ) ; mouseLoadSaveOps ( button , state , x , y ) ; glutPostRedisplay ( ) ; }
mouseCallback(int, int, int, int) | function to handle mouse actions in the GLUT window
mouseCallback ( int int int int ) | function to handle mouse actions in the GLUT window
// reverse the y with the current height