use of com.gempukku.libgdx.graph.ui.part.FileSelectorBoxPart in project gdx-graph by MarcinSc.
the class PropertyTextureBoxProducer method createPropertyBox.
@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
PropertyBoxImpl result = new PropertyBoxImpl(name, ShaderFieldType.TextureRegion, location, propertyLocations);
result.addPropertyBoxPart(new FileSelectorBoxPart("Preview texture ", "previewPath"));
result.initialize(jsonObject);
return result;
}
Aggregations