1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Formspecs: Add tooltip element for area

This commit is contained in:
rubenwardy 2018-06-20 21:55:39 +01:00
parent 153fb211ac
commit 88efebdf86
No known key found for this signature in database
GPG key ID: A1E29D52FF81513C
3 changed files with 62 additions and 14 deletions

View file

@ -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