diff options
author | Hugues Ross <hugues.ross@gmail.com> | 2020-01-26 14:35:26 -0500 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-01-26 19:35:26 +0000 |
commit | 60544ac56f13132ef24ce38024627a127f7f15f0 (patch) | |
tree | a1b454b0967bd6f9606af3eb5a6052b8543bfa55 /doc | |
parent | cde2a7f6f24f638421238ead4e61b155322fefc8 (diff) | |
download | minetest-60544ac56f13132ef24ce38024627a127f7f15f0.tar.gz minetest-60544ac56f13132ef24ce38024627a127f7f15f0.tar.bz2 minetest-60544ac56f13132ef24ce38024627a127f7f15f0.zip |
Add 9-slice background support to button formspec elements (#9290)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1857ce541..a4af821c3 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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. |