Search in sources :

Example 1 with StringBoxPart

use of com.gempukku.libgdx.graph.ui.part.StringBoxPart in project gdx-graph by MarcinSc.

the class ShadowPhongLightingBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart)

Example 2 with StringBoxPart

use of com.gempukku.libgdx.graph.ui.part.StringBoxPart in project gdx-graph by MarcinSc.

the class DirectionalLightBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
    indexPart.initialize(data);
    result.addGraphBoxPart(indexPart);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart) IndexBoxPart(com.gempukku.libgdx.graph.ui.part.IndexBoxPart)

Example 3 with StringBoxPart

use of com.gempukku.libgdx.graph.ui.part.StringBoxPart in project gdx-graph by MarcinSc.

the class ShadowBlinnPhongLightingBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart)

Example 4 with StringBoxPart

use of com.gempukku.libgdx.graph.ui.part.StringBoxPart in project gdx-graph by MarcinSc.

the class SpotlightBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
    indexPart.initialize(data);
    result.addGraphBoxPart(indexPart);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart) IndexBoxPart(com.gempukku.libgdx.graph.ui.part.IndexBoxPart)

Example 5 with StringBoxPart

use of com.gempukku.libgdx.graph.ui.part.StringBoxPart in project gdx-graph by MarcinSc.

the class RenderCallbackBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart callbackId = new StringBoxPart("Callback id: ", "callbackId");
    callbackId.initialize(data);
    result.addGraphBoxPart(callbackId);
    addConfigurationInputsAndOutputs(result);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart)

Aggregations

GraphBoxImpl (com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl)10 StringBoxPart (com.gempukku.libgdx.graph.ui.part.StringBoxPart)10 IndexBoxPart (com.gempukku.libgdx.graph.ui.part.IndexBoxPart)3 RenderOrder (com.gempukku.libgdx.graph.pipeline.RenderOrder)1 EnumSelectBoxPart (com.gempukku.libgdx.graph.ui.part.EnumSelectBoxPart)1