summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-08-02 11:26:25 +0000
committerfrosch <frosch@openttd.org>2008-08-02 11:26:25 +0000
commit0fc769bb6c02e3974c8c1bc38e336e480d60d093 (patch)
treeb97cb40953be7e1c6358fb063d63f445d3847aad /src/window_gui.h
parentb92520ddfdd60f9536790b4ab98228c5970853a7 (diff)
downloadopenttd-0fc769bb6c02e3974c8c1bc38e336e480d60d093.tar.xz
(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 87b7b381c..7d0a1403c 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -524,11 +524,7 @@ Wcls *AllocateWindowDescFront(const WindowDesc *desc, int window_number)
void RelocateAllWindows(int neww, int newh);
/* misc_gui.cpp */
-void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[]);
-static inline void GuiShowTooltips(StringID str)
-{
- GuiShowTooltipsWithArgs(str, 0, NULL);
-}
+void GuiShowTooltips(StringID str, uint paramcount = 0, const uint64 params[] = NULL, bool use_left_mouse_button = false);
/* widget.cpp */
int GetWidgetFromPos(const Window *w, int x, int y);