diff options
author | frosch <frosch@openttd.org> | 2008-08-02 11:26:25 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-08-02 11:26:25 +0000 |
commit | 0fc769bb6c02e3974c8c1bc38e336e480d60d093 (patch) | |
tree | b97cb40953be7e1c6358fb063d63f445d3847aad /src/window_gui.h | |
parent | b92520ddfdd60f9536790b4ab98228c5970853a7 (diff) | |
download | openttd-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.h | 6 |
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); |