(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)

This commit is contained in:
darkvater
2004-09-03 19:59:05 +00:00
parent 4bf6ad1406
commit 4fec362b32
10 changed files with 192 additions and 43 deletions

3
gui.h
View File

@@ -79,6 +79,7 @@ void DrawStationCoverageAreaText(int sx, int sy, uint mask);
void CheckRedrawStationCoverage(Window *w);
void ShowSmallMap();
void ShowExtraViewPortWindow();
void SetVScrollCount(Window *w, int num);
void SetHScrollCount(Window *w, int num);
@@ -102,7 +103,7 @@ enum {
ZOOM_NONE = 2, // hack, used to update the button status
};
bool DoZoomInOut(int how);
bool DoZoomInOutWindow(int how, Window * w);
void ShowBuildIndustryWindow();
void ShowQueryString(StringID str, StringID caption, int maxlen, int maxwidth, byte window_class, uint16 window_number);
void ShowMusicWindow();