Example #1
0
 /** Loads skin from provided file. Skin must be compatible with default VisUI skin. */
 public static void load(FileHandle visSkinFile) {
   checkBeforeLoad();
   VisUI.skin = new Skin(visSkinFile);
 }
Example #2
0
 /**
  * Sets provided skin as default for every VisUI widget. Skin must be compatible with default
  * VisUI skin. This can be used if you prefer to load skin manually for example by using {@link
  * AssetManager}.
  */
 public static void load(Skin skin) {
   checkBeforeLoad();
   VisUI.skin = skin;
 }