Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skin JSON files can now use the simple names of classes #12

Closed
ProZhar opened this issue Jun 5, 2018 · 1 comment
Closed

Skin JSON files can now use the simple names of classes #12

ProZhar opened this issue Jun 5, 2018 · 1 comment

Comments

@ProZhar
Copy link

ProZhar commented Jun 5, 2018

Hi. With using 1.9.9-SNAPSHOT version I've got an error with new features of skins's simple names
Can you add support fo this new features?

  • Skin JSON files can now use the simple names of classes, i.e. "BitmapFont" rather than "com.badlogic.gdx.graphics.g2d.BitmapFont". Custom classes can be added by overriding Skin.getJsonLoader() and calling json.setClassTag().
  • Skin supports cascading styles in JSON. Use the "parent" property to tag another style by name to use its values as defaults. See https://github.com/libgdx/libgdx/blob/master/tests/gdx-tests-android/assets/data/uiskin.json for example.

CHANGES
Commit

aa

@BlueBoxWare
Copy link
Owner

Done. Simple names and the parent property should work correctly now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants