From 60544ac56f13132ef24ce38024627a127f7f15f0 Mon Sep 17 00:00:00 2001 From: Hugues Ross Date: Sun, 26 Jan 2020 14:35:26 -0500 Subject: Add 9-slice background support to button formspec elements (#9290) --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3