BlueBoxWare / LibGDXPlugin

An IntelliJ plugin for use with LibGDX
Apache License 2.0
147 stars 8 forks source link

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

Closed ProZhar closed 6 years ago

ProZhar commented 6 years ago

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 commented 6 years ago

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