use of com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl in project gdx-graph by MarcinSc.
the class IndexedBoxProducer method createPipelineGraphBox.
@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
GraphBoxImpl result = createGraphBox(id);
addConfigurationInputsAndOutputs(result);
IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
indexPart.initialize(data);
result.addGraphBoxPart(indexPart);
return result;
}
use of com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl in project gdx-graph by MarcinSc.
the class DepthOfFieldBoxProducer method createPipelineGraphBox.
@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
GraphBoxImpl result = createGraphBox(id);
FloatBoxPart maxBlurPart = new FloatBoxPart("Max blur", "maxBlur", 10, new Validators.GreaterThanValidator(0, false));
maxBlurPart.setValue(10f);
maxBlurPart.initialize(data);
result.addGraphBoxPart(maxBlurPart);
CheckboxBoxPart blurBackground = new CheckboxBoxPart("Blur background", "blurBackground");
blurBackground.setValue(false);
blurBackground.initialize(data);
result.addGraphBoxPart(blurBackground);
addConfigurationInputsAndOutputs(result);
return result;
}
use of com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl in project gdx-graph by MarcinSc.
the class GraphBoxProducerImpl method createPipelineGraphBox.
@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
GraphBoxImpl start = createGraphBox(id);
addConfigurationInputsAndOutputs(start);
return start;
}
Aggregations