Add 9-slice background support to button formspec elements (#9290)
authorHugues Ross <hugues.ross@gmail.com>
Sun, 26 Jan 2020 19:35:26 +0000 (14:35 -0500)
committerrubenwardy <rw@rubenwardy.com>
Sun, 26 Jan 2020 19:35:26 +0000 (19:35 +0000)
commit60544ac56f13132ef24ce38024627a127f7f15f0
treea1b454b0967bd6f9606af3eb5a6052b8543bfa55
parentcde2a7f6f24f638421238ead4e61b155322fefc8
Add 9-slice background support to button formspec elements (#9290)
doc/lua_api.txt
games/minimal/mods/test/formspec.lua
games/minimal/mods/test/textures/test_bg_9slice.png [new file with mode: 0644]
games/minimal/mods/test/textures/test_bg_9slice_hovered.png [new file with mode: 0644]
games/minimal/mods/test/textures/test_bg_9slice_pressed.png [new file with mode: 0644]
src/gui/StyleSpec.h
src/gui/guiButton.cpp
src/gui/guiButton.h
util/travis/clang-format-whitelist.txt