diff options
author | Hugues Ross <hugues.ross@gmail.com> | 2019-10-12 12:44:23 -0400 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-10-12 18:44:23 +0200 |
commit | 69a2099c04527404f2d0942f2088b3d22dd75b5a (patch) | |
tree | 8d6fcc7dd688ace290b50f171dc319ccb68e5a5e /src/script/cpp_api/s_base.cpp | |
parent | 894008ce6fa02aed05f1ac12e0d7bc62e2476359 (diff) | |
download | minetest-69a2099c04527404f2d0942f2088b3d22dd75b5a.tar.gz minetest-69a2099c04527404f2d0942f2088b3d22dd75b5a.tar.bz2 minetest-69a2099c04527404f2d0942f2088b3d22dd75b5a.zip |
Add more visual feedback for button states (#8916)
- Add style properties for overriding the the hovered/pressed state
- By default, hovered buttons are a lighter version of the base color
- By default, pressed buttons are a darker version of the base color
- Add hovered bg image support for image buttons (style property)
Diffstat (limited to 'src/script/cpp_api/s_base.cpp')
0 files changed, 0 insertions, 0 deletions