diff options
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 2f2a921b2..c9e6e485a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1883,6 +1883,11 @@ Elements * `<bgcolor>` tooltip background color as `ColorString` (optional) * `<fontcolor>` tooltip font color as `ColorString` (optional) +### `tooltip[<X>,<Y>;<W>,<H>;<tooltip_text>;<bgcolor>;<fontcolor>]` +* Adds tooltip for an area. Other tooltips will take priority when present. +* `<bgcolor>` tooltip background color as `ColorString` (optional) +* `<fontcolor>` tooltip font color as `ColorString` (optional) + ### `image[<X>,<Y>;<W>,<H>;<texture name>]` * Show an image |