(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.

This commit is contained in:
alberth
2010-11-20 14:15:02 +00:00
parent 6e378bf9bc
commit de9c678901
9 changed files with 60 additions and 29 deletions

View File

@@ -40,6 +40,12 @@ void ZoomInOrOutToCursorWindow(bool in, Window * w);
Point GetTileZoomCenterWindow(bool in, Window * w);
void HandleZoomMessage(Window *w, const ViewPort *vp, byte widget_zoom_in, byte widget_zoom_out);
/**
* Zoom a viewport as far as possible in the given direction.
* @param how Zooming direction.
* @param w Window owning the viewport.
* @pre \a how should not be #ZOOM_NONE.
*/
static inline void MaxZoomInOut(ZoomStateChange how, Window *w)
{
while (DoZoomInOutWindow(how, w)) {};