libgdx/libgdx — pull request #48 by psiegel (2012-09-30 18:27:29+00:00)
Title: Added support for right/bottom edge fill lines in .9.png files.

* Modified TexturePacker2 to include padding values in atlases.
* Modified TextureAtlas and Skin to load said values and pass them on to NinePatches built from them.
* Modified NinePatch to store padding values, as well asprovide getters/setters.
* Modified NinePatchDrawable to use these values.
* Modified default-round.9.png to include bottom/right fill values as test. This can be seen in the UITest. Note the Yes/No buttons on the "Are you enjoying this demo?" dialog and the multi-line button now allow the text to fill closer to the top and bottom, pushing out the left/right edges to avoid text overlapping rounded corners.
* Also tested this in my own game, though obviously that's not included in this CL. :)