mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add 9-slice background support to button formspec elements (#9290)
This commit is contained in:
parent
cde2a7f6f2
commit
60544ac56f
9 changed files with 86 additions and 4 deletions
|
@ -2573,6 +2573,8 @@ Some types may inherit styles from parent types.
|
|||
* bgcolor_pressed - color when pressed. Defaults to a darker bgcolor when not provided.
|
||||
* bgimg - standard background image. Defaults to none.
|
||||
* bgimg_hovered - background image when hovered. Defaults to bgimg when not provided.
|
||||
* bgimg_middle - Makes the bgimg textures render in 9-sliced mode and defines the middle rect.
|
||||
See background9[] documentation for more details
|
||||
* bgimg_pressed - background image when pressed. Defaults to bgimg when not provided.
|
||||
* border - boolean, draw border. Set to false to hide the bevelled button pane. Default true.
|
||||
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue