Add support for 9-sliced backgrounds (#8600)
authorrubenwardy <rw@rubenwardy.com>
Sat, 22 Jun 2019 14:03:54 +0000 (15:03 +0100)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 22 Jun 2019 14:03:54 +0000 (16:03 +0200)
commit429a98964859b83016f2eb47a47a08ab8dc3c57e
treeb02a16132e5cdf6696917910921942c464bc39c6
parent4e3c1916f731058a137ec1f9eecf2b7eff4d8fcc
Add support for 9-sliced backgrounds (#8600)

9-slice textures are commonly used in GUIs to allow scaling them to match any resolution without distortion.

https://en.wikipedia.org/wiki/9-slice_scaling
doc/lua_api.txt
src/client/guiscalingfilter.cpp
src/client/guiscalingfilter.h
src/gui/guiFormSpecMenu.cpp
src/gui/guiFormSpecMenu.h