From 27538ecef51ebcc7622f13956d2f8e101d0f71a7 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Tue, 24 Jun 2014 12:28:24 +0200 Subject: [PATCH] Tooltips rework. Separate element for tooltips. Delayed showing, use global color or given ones. --- doc/lua_api.txt | 16 +++-- src/guiFormSpecMenu.cpp | 127 ++++++++++++++++++++++++++++------------ src/guiFormSpecMenu.h | 29 ++++++++- 3 files changed, 124 insertions(+), 48 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 6ed560869..58c3a133f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -918,8 +918,14 @@ listcolors[;;;;;;,] +^ Adds tooltip for an element +^ tooltip background color in HEX-Color format (optional) +^ tooltip font color in HEX-Color format (optional) + image[,;,;] ^ Show an image @@ -986,13 +992,12 @@ vertlabel[,;