evolve4src/src/evolve/ZoomHistory.cpp
void ZoomHistory::zoom_in()
{
	double w, h;

	CRect rect;

	/*
	 * Create 'rect' as a 1/4 smaller rectangle inside of
	 * 'window'.
	 */
	w = (win.right - win.left) / 8.0;
	h = (win.bottom - win.top) / 8.0;

	rect.left	= (int) (win.left	+ w);
	rect.top	= (int) (win.top	+ h);
	rect.right	= (int) (win.right	- w);
	rect.bottom	= (int) (win.bottom	- h);

	zoom_in(rect);
}
/*
 * Zoom in, but when no drag rectangle was specified
 * 
 */
Zoom in, but when no drag rectangle was specified
Zoom in but when no drag rectangle was specified
void ZoomHistory::zoom_in()
{
	double w, h;
	CRect rect;
	w = (win.right - win.left) / 8.0;
	h = (win.bottom - win.top) / 8.0;
	rect.left	= (int) (win.left	+ w);
	rect.top	= (int) (win.top	+ h);
	rect.right	= (int) (win.right	- w);
	rect.bottom	= (int) (win.bottom	- h);
	zoom_in(rect);
}
void ZoomHistory :: zoom_in ( ) { double w , h ; CRect rect ; w = ( win . right - win . left ) / 8.0 ; h = ( win . bottom - win . top ) / 8.0 ; rect . left = ( int ) ( win . left + w ) ; rect . top = ( int ) ( win . top + h ) ; rect . right = ( int ) ( win . right - w ) ; rect . bottom = ( int ) ( win . bottom - h ) ; zoom_in ( rect ) ; }
Zoom in, but when no drag rectangle was specified
Zoom in but when no drag rectangle was specified
/*
	 * Create 'rect' as a 1/4 smaller rectangle inside of
	 * 'window'.
	 */