コード例 #1
0
 private void setUIFromSettings() {
   skipDefaultCheck.setChecked(settings.skipDefaultValues);
   minimalOutputCheck.setChecked(settings.useMinimalOutputType);
   packageSeparateAtlasForEachSceneCheck.setChecked(settings.packageSeparateAtlasForEachScene);
   migFilterSelectBox.setSelectedEnum(settings.migTextureFilter);
   magFilterSelectBox.setSelectedEnum(settings.magTextureFilter);
 }
コード例 #2
0
 private void setToSettings() {
   settings.skipDefaultValues = skipDefaultCheck.isChecked();
   settings.useMinimalOutputType = minimalOutputCheck.isChecked();
   settings.packageSeparateAtlasForEachScene = packageSeparateAtlasForEachSceneCheck.isChecked();
   settings.migTextureFilter = migFilterSelectBox.getSelectedEnum();
   settings.magTextureFilter = magFilterSelectBox.getSelectedEnum();
   settingsIO.save(settings, DefaultExporter.SETTINGS_FILE_NAME);
 }