|
|
|
@ -2637,7 +2637,7 @@ void UpdateTileSelection()
|
|
|
|
|
* @param params (optional) up to 5 pieces of additional information that may be added to a tooltip
|
|
|
|
|
* @param close_cond Condition for closing this tooltip.
|
|
|
|
|
*/
|
|
|
|
|
static inline void ShowMeasurementTooltips(StringID str, uint paramcount, const uint64 params[], TooltipCloseCondition close_cond = TCC_NONE)
|
|
|
|
|
static inline void ShowMeasurementTooltips(StringID str, uint paramcount, const uint64 params[], TooltipCloseCondition close_cond = TCC_EXIT_VIEWPORT)
|
|
|
|
|
{
|
|
|
|
|
if (!_settings_client.gui.measure_tooltip) return;
|
|
|
|
|
GuiShowTooltips(_thd.GetCallbackWnd(), str, paramcount, params, close_cond);
|
|
|
|
|