(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it.

This commit is contained in:
terkhen
2010-07-11 10:58:55 +00:00
parent 51e6cb0a70
commit 10fbb87823
3 changed files with 22 additions and 9 deletions

View File

@@ -900,7 +900,7 @@ enum TooltipCloseCondition {
TCC_HOVER,
};
void GuiShowTooltips(StringID str, uint paramcount = 0, const uint64 params[] = NULL, TooltipCloseCondition close_tooltip = TCC_RIGHT_CLICK);
void GuiShowTooltips(StringID str, uint paramcount = 0, const uint64 params[] = NULL, TooltipCloseCondition close_tooltip = TCC_HOVER);
/* widget.cpp */
int GetWidgetFromPos(const Window *w, int x, int y);