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:
parent
153fb211ac
commit
88efebdf86
3 changed files with 62 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue