Example usage for com.badlogic.gdx.graphics Color YELLOW

List of usage examples for com.badlogic.gdx.graphics Color YELLOW

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics Color YELLOW.

Prototype

Color YELLOW

To view the source code for com.badlogic.gdx.graphics Color YELLOW.

Click Source Link

Usage

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxGradient.java

License:Apache License

/**
 *
 *///from w ww.  j  av a2s.  c o m
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxGradient"), S3Lang.get("FxGradient"), Color.YELLOW);
    formGui.add("FxGradientAlpha", S3Lang.get("FxGradientAlpha"), alpha, 0.0f, 1.0f, 0.1f, localChangeListener);
    formGui.addColorSelect("FxGradientTopLeft", S3Lang.get("topLeft"), topLeft, localChangeListener);
    formGui.addColorSelect("FxGradientTopRight", S3Lang.get("topRight"), topRight, localChangeListener);
    formGui.addColorSelect("FxGradientBottomLeft", S3Lang.get("bottomLeft"), bottomLeft, localChangeListener);
    formGui.addColorSelect("FxGradientBottomRight", S3Lang.get("bottomRight"), bottomRight,
            localChangeListener);

    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxGradientMap.java

License:Apache License

/**
 *
 *///w w  w . j  a  va 2 s  .c  o m
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxGradientMap"), S3Lang.get("FxGradientMap"), Color.YELLOW);
    formGui.addColorList("FxGradientMapColorMode", S3Lang.get("ColorMode"), localChangeListener);
    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxInvert.java

License:Apache License

/**
 *
 *//*from w ww .ja v  a  2  s  . c  o  m*/
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxInvert"), S3Lang.get("FxInvert"), Color.YELLOW);
    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxNoise.java

License:Apache License

/**
 *
 *///from  w ww .  j a  va 2 s  .  c o  m
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxNoise"), S3Lang.get("FxNoise"), Color.YELLOW);
    formGui.add("FxNoiseNoiseRed", S3Lang.get("noiseRed"), noiseRed, 0.0f, 255f, 1.0f, localChangeListener);
    formGui.add("FxNoiseNoiseGreen", S3Lang.get("noiseGreen"), noiseGreen, 0.0f, 255f, 1.0f,
            localChangeListener);
    formGui.add("FxNoiseNoiseBlue", S3Lang.get("noiseBlue"), noiseBlue, 0.0f, 255f, 1.0f, localChangeListener);
    formGui.add("FxNoiseNoiseSeed", S3Lang.get("seed"), seed, 1f, 512, 1f, localChangeListener);
    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxNoiseGrey.java

License:Apache License

/**
 *
 *///from ww  w .j a  va 2 s .co  m
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxNoiseGrey"), S3Lang.get("FxNoiseGrey"), Color.YELLOW);
    formGui.add("FxNoiseGreyNoise", S3Lang.get("noiseRed"), noiseGrey, 0.0f, 255f, 1.0f, localChangeListener);
    formGui.add("FxNoiseGreyNoiseSeed", S3Lang.get("seed"), seed, 1f, 512, 1f, localChangeListener);
    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxNormals.java

License:Apache License

/**
 *
 *//*from ww w.  ja  v  a 2 s  .c  o m*/
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxNormals"), S3Lang.get("FxNormals"), Color.YELLOW);
    formGui.add("FxNormalsAmplify", S3Lang.get("amplify"), amplify, 0.0f, 64.0f, 1.0f, localChangeListener);
    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxThreshold.java

License:Apache License

/**
 *
 */// w  w  w.j a  va 2 s . com
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }

    disableChange = true;
    formGui.addLabel(S3Lang.get("FxThreshold"), S3Lang.get("FxThreshold"), Color.YELLOW);
    formGui.add("FxThresholdThreshold", S3Lang.get("threshold"), threshold, 0.0f, 255.0f, 1.0f,
            localChangeListener);
    formGui.add("FxThresholdRatio", S3Lang.get("ratio"), ratio, 0.0f, 255.0f, 1.0f, localChangeListener);
    formGui.addSelectIndex(
            "FxThresholdMode", S3Lang.get("mode"), mode, new String[] { S3Lang.get("expand_downwards"),
                    S3Lang.get("expand_upwards"), S3Lang.get("compress_below"), S3Lang.get("compress_above") },
            localChangeListener);
    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.procedural.FxCell.java

License:Apache License

/**
 *
 *///from  ww  w  . ja  v a  2 s  .  c  o m
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxCell"), S3Lang.get("FxCell"), Color.YELLOW);

    formGui.addSelectIndex("FxCellChessboard", S3Lang.get("chessboard"), chessboard,
            new String[] { S3Lang.get("off"), S3Lang.get("chessboard") }, localChangeListener);
    formGui.addSelectIndex("FxCellPattern", S3Lang.get("pattern"), chessboard,
            new String[] { S3Lang.get("both"), S3Lang.get("cross"), S3Lang.get("coner") }, localChangeListener);

    formGui.add("FxCellRegularity", S3Lang.get("regularity"), regularity, 1f, 4, 0.1f, localChangeListener);
    formGui.add("FxCellDensity", S3Lang.get("density"), density, 1f, 64f, 1.0f, localChangeListener);
    formGui.addRandomButton("FxCellRandom", S3Lang.get("random"),
            new String[] { "FxCellRegularity", "FxCellDensity" }, localChangeListener);
    formGui.addResetButton("FxCellReset", S3Lang.get("reset"),
            new String[] { "FxCellRegularity", "FxCellDensity" }, localChangeListener);

    formGui.add("FxCellSeed", S3Lang.get("seed"), seed, 1f, 512, 1f, localChangeListener);

    formGui.addColorSelect("FxCellColor", S3Lang.get("color"), color, localChangeListener);

    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.procedural.FxJulia.java

License:Apache License

/**
 *
 *//*www  .  j  a  v a2  s  .c  om*/
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxJulia"), S3Lang.get("FxJulia"), Color.YELLOW);
    formGui.add("FxJuliaXCenter", S3Lang.get("xCenter"), xCenter, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.add("FxJuliaYCenter", S3Lang.get("yCenter"), yCenter, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.add("FxJuliaXSize", S3Lang.get("xSize"), xSize, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.add("FxJuliaYSize", S3Lang.get("ySize"), ySize, -3.0f, 3.0f, 0.1f, localChangeListener);

    formGui.addRandomButton("FxJuliaRandom", S3Lang.get("random"),
            new String[] { "FxJuliaXCenter", "FxJuliaYCenter", "FxJuliaXSize", "FxJuliaYSize" },
            localChangeListener);
    formGui.addResetButton("FxJuliaReset", S3Lang.get("reset"),
            new String[] { "FxJuliaXCenter", "FxJuliaYCenter", "FxJuliaXSize", "FxJuliaYSize" },
            localChangeListener);

    formGui.add("FxJuliaXIterations", S3Lang.get("xIterations"), xIterations, -1.5f, 1.5f, 0.02f,
            localChangeListener);
    formGui.add("FxJuliaYIterations", S3Lang.get("yIterations"), yIterations, -1.5f, 1.5f, 0.02f,
            localChangeListener);

    formGui.addRandomButton("FxJuliaRandom2", S3Lang.get("random"),
            new String[] { "FxJuliaXIterations", "FxJuliaYIterations" }, localChangeListener);
    formGui.addResetButton("FxJuliaReset2", S3Lang.get("reset"),
            new String[] { "FxJuliaXIterations", "FxJuliaYIterations" }, localChangeListener);

    formGui.add("FxJuliaIterations", S3Lang.get("iterations"), iterations, 2f, 255f, 1.0f, localChangeListener);

    disableChange = false;
}

From source file:mobi.shad.s3lib.gfx.node.pixmap.procedural.FxManderbrot.java

License:Apache License

/**
 *
 *///from  w  w  w .j a v a  2  s .c o  m
@Override
public final void initForm() {
    if (formGui == null) {
        return;
    }
    disableChange = true;
    formGui.addLabel(S3Lang.get("FxManderbrot"), S3Lang.get("FxManderbrot"), Color.YELLOW);
    formGui.addSelectIndex("FxManderbrotFractalType", S3Lang.get("fractalType"), fractalType,
            new String[] { S3Lang.get("fractal_1"), S3Lang.get("fractal_2"), S3Lang.get("fractal_3"),
                    S3Lang.get("fractal_4"), S3Lang.get("fractal_5") },
            localChangeListener);
    formGui.add("FxManderbrotXCenter", S3Lang.get("xCenter"), xCenter, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.add("FxManderbrotYCenter", S3Lang.get("yCenter"), yCenter, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.add("FxManderbrotXSize", S3Lang.get("xSize"), xSize, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.add("FxManderbrotYSize", S3Lang.get("ySize"), ySize, -3.0f, 3.0f, 0.1f, localChangeListener);
    formGui.addRandomButton("FxManderbrotRandom", S3Lang.get("random"), new String[] { "FxManderbrotXCenter",
            "FxManderbrotYCenter", "FxManderbrotXSize", "FxManderbrotYSize" }, localChangeListener);
    formGui.addResetButton("FxManderbrotReset", S3Lang.get("reset"), new String[] { "FxManderbrotXCenter",
            "FxManderbrotYCenter", "FxManderbrotXSize", "FxManderbrotYSize" }, localChangeListener);
    formGui.add("FxManderbrotIterations", S3Lang.get("iterations"), iterations, 2f, 255f, 1.0f,
            localChangeListener);

    disableChange = false;
}