evolve4src/src/evolve_3d/evolve_3d.cpp
void processMouseLeave(int state)
{
	if( state == GLUT_LEFT ) {
		InitKeyFlags();

		// Kent Dolan feature request, don't stop sim when
		// leaving window.
		//
		// pause_sim = true;


		MakeCells(universe, true);

	} else if( state == GLUT_ENTERED ) {
		// do nothing
	}
}
//
// When focus leaves this window, turn off simulator
// and reset any key down flags
//
When focus leaves this window, turn off simulator
and reset any key down flags
When focus leaves this window turn off simulator and reset any key down flags
void processMouseLeave(int state)
{
	if( state == GLUT_LEFT ) {
		InitKeyFlags();
		 pause_sim = true;
		MakeCells(universe, true);
	} else if( state == GLUT_ENTERED ) {
		 do nothing
	}
}
void processMouseLeave ( int state ) { if ( state == GLUT_LEFT ) { InitKeyFlags ( ) ; MakeCells ( universe , true ) ; } else if ( state == GLUT_ENTERED ) { } }
When focus leaves this window, turn off simulator
and reset any key down flags
When focus leaves this window turn off simulator and reset any key down flags
// Kent Dolan feature request, don't stop sim when // leaving window. // // pause_sim = true; // do nothing