(svn r16764) -Codechange: unify the way viewport signs are marked dirty

This commit is contained in:
rubidium
2009-07-08 08:30:35 +00:00
parent 2d907d902a
commit 8275a98e1f
13 changed files with 38 additions and 80 deletions

View File

@@ -19,6 +19,13 @@ ViewPort *IsPtInWindowViewport(const Window *w, int x, int y);
Point GetTileBelowCursor();
void UpdateViewportPosition(Window *w);
/**
* Mark all viewports dirty for repaint.
*
* @ingroup dirty
*/
void MarkAllViewportsDirty(int left, int top, int right, int bottom);
bool DoZoomInOutWindow(int how, Window *w);
void ZoomInOrOutToCursorWindow(bool in, Window * w);
Point GetTileZoomCenterWindow(bool in, Window * w);