diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-07 23:06:23 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-01-08 16:43:51 +0100 |
commit | af22a4f2cda86a7667578281a51ea1ec08a49af6 (patch) | |
tree | ef59fd78c7d3e2b68594bfbe22b43a6abaf0001e /src/widget_type.h | |
parent | 85a49a0d3605b83b911c57c6e5cc9d8b79365131 (diff) | |
download | openttd-af22a4f2cda86a7667578281a51ea1ec08a49af6.tar.xz |
Add: show in the tooltip of disabled toolbar buttons why they are disabled
Diffstat (limited to 'src/widget_type.h')
-rw-r--r-- | src/widget_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget_type.h b/src/widget_type.h index 1b1677039..d8841f9bd 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -285,6 +285,7 @@ public: void SetIndex(int index); void SetDataTip(uint32 widget_data, StringID tool_tip); + void SetToolTip(StringID tool_tip); inline void SetLowered(bool lowered); inline bool IsLowered() const; |