diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2017-06-03 08:55:26 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-03 08:55:26 +0200 |
commit | 7a2b9df970568e705ced3256e0a921ffa56faa9d (patch) | |
tree | 000ca9d099396a7867f840c12f8fba750f10505f /src/guiFormSpecMenu.h | |
parent | e91ffa0c911557f9f833e7b29066b8d3026751c7 (diff) | |
download | minetest-7a2b9df970568e705ced3256e0a921ffa56faa9d.tar.gz minetest-7a2b9df970568e705ced3256e0a921ffa56faa9d.tar.bz2 minetest-7a2b9df970568e705ced3256e0a921ffa56faa9d.zip |
Tooltips: Unify the tooltip[] and list[] description tooltip display functions (#5848)
* Tooltips: Unify the tooltip[] and list[] description tooltip display functions
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r-- | src/guiFormSpecMenu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 557a1cc9f..9eaf60ac6 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -517,6 +517,9 @@ private: void tryClose(); + void showTooltip(const std::wstring &text, const irr::video::SColor &color, + const irr::video::SColor &bgcolor); + /** * check if event is part of a double click * @param event event to evaluate |