diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-06-20 21:55:39 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-08-05 15:50:02 +0100 |
commit | 88efebdf864baeb422cbe4d992a44ff7c99373fb (patch) | |
tree | b1847746dea62229e03f91c3f73ef306f36dbf08 /doc | |
parent | 153fb211ac2342907eb766a79c1f41824f981ab5 (diff) | |
download | minetest-88efebdf864baeb422cbe4d992a44ff7c99373fb.tar.gz minetest-88efebdf864baeb422cbe4d992a44ff7c99373fb.tar.bz2 minetest-88efebdf864baeb422cbe4d992a44ff7c99373fb.zip |
Formspecs: Add tooltip element for area
Diffstat (limited to 'doc')
-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 |