(svn r7095) -Codechange: Move MaxZoomIn function to viewport.h and change it to MaxZoomInOut
with a zoom parameter and a pointer to the window which's viewport we want to zoom.
This commit is contained in:
@@ -33,6 +33,11 @@ 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);
|
||||
|
||||
static inline void MaxZoomInOut(int how, Window *w)
|
||||
{
|
||||
while (DoZoomInOutWindow(how, w) ) {};
|
||||
}
|
||||
|
||||
void OffsetGroundSprite(int x, int y);
|
||||
|
||||
void DrawGroundSprite(uint32 image);
|
||||
|
||||
Reference in New Issue
Block a user