Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch

https://www.tt-forums.net/viewtopic.php?f=33&t=53394
This commit is contained in:
patch-import
2015-08-02 19:37:42 +01:00
committed by Jonathan G Rennison
parent fd3388467f
commit 536a95dfd0
105 changed files with 3509 additions and 325 deletions

View File

@@ -13,11 +13,14 @@
#define WIDGETS_DROPDOWN_FUNC_H
#include "../window_gui.h"
#include "dropdown_type.h"
/* Show drop down menu containing a fixed list of strings */
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width = 0);
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width = 0, DropDownSyncFocus sync_parent_focus = DDSF_NONE);
/* Hide drop down menu of a parent window */
int HideDropDownMenu(Window *pw);
void GetParentWindowInfo(Window *w, WindowClass &parent_wc, WindowNumber &parent_wn);
#endif /* WIDGETS_DROPDOWN_FUNC_H */