Closed einarf closed 1 year ago
I guess it would be enough to have some NinePatch image class, which just provides resizing and can return a texture or PIL image?
This is now in development but shader needs a tweak when we merge the texture-revamp branch.
When drawing rounded backgrounds and buttons it would be nice to draw them as a 9patch ensuring the corners don't get streched. The widget should also be resizable and the same texture can be used in all widgets needing that background.