diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 907f47e73..5640be73c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2501,7 +2501,10 @@ Some types may inherit styles from parent types. * button, button_exit * alpha - boolean, whether to draw alpha in bgimg. Default true. * bgcolor - color, sets button tint. + * bgcolor_hovered - color when hovered. Defaults to a lighter bgcolor when not provided. + * bgcolor_pressed - color when pressed. Defaults to a darker bgcolor when not provided. * bgimg - standard image. Defaults to none. + * bgimg_hovered - image when hovered. Defaults to bgimg when not provided. * bgimg_pressed - 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. |