summaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2017-06-03 08:55:26 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-03 08:55:26 +0200
commit7a2b9df970568e705ced3256e0a921ffa56faa9d (patch)
tree000ca9d099396a7867f840c12f8fba750f10505f /src/guiFormSpecMenu.h
parente91ffa0c911557f9f833e7b29066b8d3026751c7 (diff)
downloadminetest-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.h3
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