List of usage examples for com.badlogic.gdx.graphics Color YELLOW
Color YELLOW
To view the source code for com.badlogic.gdx.graphics Color YELLOW.
Click Source Link
From source file:mobi.shad.s3lib.gfx.node.filter.FxSinusLine.java
License:Apache License
/** * *///from w ww . j a v a 2s . c o m @Override public final void initForm() { if (formGui == null) { return; } disableChange = true; formGui.addLabel(S3Lang.get("FxSinusLine"), S3Lang.get("FxSinusLine"), Color.YELLOW); formGui.add("count", S3Lang.get("count"), 360, 10, 720, 1, localChangeListener); // // Line 1 // formGui.add("speed1", S3Lang.get("speed"), 1f, -20, 40, 0.1f, localChangeListener); formGui.add("step1", S3Lang.get("step"), 1f, -10f, 20, 0.1f, localChangeListener); formGui.add("amplitudeX1", S3Lang.get("amplitude_X1"), 1, -5, 5, 0.1f, localChangeListener); formGui.add("amplitudeY1", S3Lang.get("amplitude_Y1"), 1, -5, 5, 0.1f, localChangeListener); formGui.add("multiplerX1", S3Lang.get("multipler_X1"), 1, -5, 5, 0.1f, localChangeListener); formGui.add("multiplerY1", S3Lang.get("multipler_Y1"), 1, -5, 5, 0.1f, localChangeListener); formGui.addRandomButton("FxSinusLineRandom1", S3Lang.get("random"), new String[] { "speed1", "step1", "amplitudeX1", "amplitudeY1", "multiplerX1", "multiplerY1" }, localChangeListener); formGui.addResetButton("FxSinusLineReset1", S3Lang.get("reset"), new String[] { "speed1", "step1", "amplitudeX1", "amplitudeY1", "multiplerX1", "multiplerY1" }, localChangeListener); // // Line 2 // formGui.add("speed2", S3Lang.get("speed_2"), 1f, -20, 40, 0.1f, localChangeListener); formGui.add("step2", S3Lang.get("step_2"), 5, -10f, 20, 0.1f, localChangeListener); formGui.add("amplitudeX2", S3Lang.get("amplitude_X2"), 1, -5, 5, 0.1f, localChangeListener); formGui.add("amplitudeY2", S3Lang.get("amplitude_Y2"), 1, -5, 5, 0.1f, localChangeListener); formGui.add("multiplerX2", S3Lang.get("multipler_X2"), 1, -5, 5, 0.1f, localChangeListener); formGui.add("multiplerY2", S3Lang.get("multipler_Y2"), 1, -5, 5, 0.1f, localChangeListener); formGui.addRandomButton("FxSinusLineRandom2", S3Lang.get("random"), new String[] { "speed2", "step2", "amplitudeX2", "amplitudeY2", "multiplerX2", "multiplerY2" }, localChangeListener); formGui.addResetButton("FxSinusLineReset2", S3Lang.get("reset"), new String[] { "speed2", "step2", "amplitudeX2", "amplitudeY2", "multiplerX2", "multiplerY2" }, localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.filter.FxStarField.java
License:Apache License
@Override public final void initForm() { if (formGui == null) { return;//from w w w. j a v a 2 s .co m } disableChange = true; formGui.addLabel(S3Lang.get("fxStarField"), S3Lang.get("fxStarField"), Color.YELLOW); formGui.addSelectIndex("starFieldType", S3Lang.get("starFieldType"), mode, new String[] { S3Lang.get("Pixel"), S3Lang.get("Sprite") }, localChangeListener); formGui.addSelectIndex("mode", S3Lang.get("starFieldMode"), mode, new String[] { S3Lang.get("Star"), S3Lang.get("Horizontal"), S3Lang.get("Vertical"), S3Lang.get("toLeft"), S3Lang.get("toRight") }, localChangeListener); formGui.add("count", S3Lang.get("count"), 100, 50, 3000, 50, localChangeListener); formGui.add("speed", S3Lang.get("speed"), 1, -5f, 10, 0.1f, localChangeListener); formGui.add("centerX", S3Lang.get("center_X"), 0.5f, 0, 1, 0.1f, localChangeListener); formGui.add("centerY", S3Lang.get("center_Y"), 0.5f, 0, 1, 0.1f, localChangeListener); formGui.addRandomButton("fxStarFieldrandom", S3Lang.get("random"), new String[] { "count", "speed", "centerX", "centerY" }, localChangeListener); formGui.addResetButton("fxStarFieldreset", S3Lang.get("reset"), new String[] { "count", "speed", "centerX", "centerY" }, localChangeListener); formGui.addColorSelect("starColor", S3Lang.get("color"), starColor, localChangeListener); formGui.add("spriteSize", S3Lang.get("spriteSize"), spriteSize, 1, 40, 1, localChangeListener); formGui.addFileBrowser("starTextureFileName", S3Lang.get("starTextureFileName"), starTextureFileName, "sprite", localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.filter.FxTextScroll.java
License:Apache License
@Override public final void initForm() { if (formGui == null) { return;/* ww w . j ava2 s . co m*/ } disableChange = true; formGui.addLabel(S3Lang.get("fxTextScroll"), S3Lang.get("fxTextScroll"), Color.YELLOW); formGui.addTextField("scrollText", S3Lang.get("scrollText"), scrollText, S3Lang.get("scrollInputText"), localChangeListener); formGui.add("speed", S3Lang.get("speed"), 16, 1f, 128, 1f, localChangeListener); formGui.add("fontWidth", S3Lang.get("fontWidth"), 16, 8, 128, 8f, localChangeListener); formGui.add("fontHeight", S3Lang.get("fontHeight"), 16, 8, 128, 8f, localChangeListener); formGui.addFileBrowser("fileFont", S3Lang.get("char_fonts"), fileFont, "font", localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.filter.FxTextureGalleryMask.java
License:Apache License
@Override public final void initForm() { if (formGui == null) { return;/*from www .j ava 2 s .com*/ } disableChange = true; formGui.addLabel(S3Lang.get("FxTextureGalleryMask"), S3Lang.get("FxTextureGalleryMask"), Color.YELLOW); String[] transformTextInterpolation = { S3Lang.get("interpolationLinear"), S3Lang.get("interpolationBounce"), S3Lang.get("interpolationPow2"), S3Lang.get("interpolationPow3"), S3Lang.get("interpolationElastic"), S3Lang.get("interpolationSwing"), S3Lang.get("interpolationSine"), }; formGui.addSelectIndex("interpolationMode", S3Lang.get("interpolationMode"), 0, transformTextInterpolation, localChangeListener); formGui.add("actionTime", S3Lang.get("action_time"), 4f, 0.5f, 10, 0.5f, localChangeListener); formGui.add("pauseTime", S3Lang.get("pause_time"), 8f, 0, 30, 0.5f, localChangeListener); formGui.addImageList("imageList", S3Lang.get("imageList"), null, localChangeListener); formGui.addFileBrowser("imageMask", S3Lang.get("imageMask"), "t2t_mask/m1.png", "t2t_mask", localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.pixmap.anim.FxJuliaAnim.java
License:Apache License
/** * *//* ww w . 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"), 0, -100.0f, 100.0f, 2f, localChangeListener); formGui.add("FxJuliaYCenter", S3Lang.get("yCenter"), 0, -100.0f, 100.0f, 2f, localChangeListener); formGui.add("FxJuliaXSize", S3Lang.get("xSize"), 50, -100.0f, 100.0f, 2f, localChangeListener); formGui.add("FxJuliaYSize", S3Lang.get("ySize"), 50, -100.0f, 100.0f, 2f, 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"), 10, -100f, 100f, 2f, localChangeListener); formGui.add("FxJuliaYIterations", S3Lang.get("yIterations"), 10, -100f, 100f, 2f, 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("FxJuliaAddXIterations", S3Lang.get("addXIterations"), 10, -100f, 100f, 2f, localChangeListener); formGui.add("FxJuliaAddYIterations", S3Lang.get("addYIterations"), 10, -100f, 100f, 2f, localChangeListener); formGui.addRandomButton("FxJuliaRandom2", S3Lang.get("random"), new String[] { "FxJuliaAddXIterations", "FxJuliaAddYIterations" }, localChangeListener); formGui.addResetButton("FxJuliaReset2", S3Lang.get("reset"), new String[] { "FxJuliaAddXIterations", "FxJuliaAddYIterations" }, localChangeListener); formGui.add("FxJuliaIterations", S3Lang.get("iterations"), 10, 2f, 100f, 1.0f, localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.pixmap.anim.FxManderbrotAnim.java
License:Apache License
/** * *//* ww w .j a v a 2s. 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, -100f, 100f, 2f, localChangeListener); formGui.add("FxManderbrotYCenter", S3Lang.get("yCenter"), yCenter, -100f, 100f, 2f, localChangeListener); formGui.add("FxManderbrotXSize", S3Lang.get("xSize"), xSize, -100f, 100f, 2f, localChangeListener); formGui.add("FxManderbrotYSize", S3Lang.get("ySize"), ySize, -100f, 100f, 2f, 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("FxManderbrotAddXSize", S3Lang.get("addXSize"), 10, -100f, 100f, 2f, localChangeListener); formGui.add("FxManderbrotAddYSize", S3Lang.get("addYSize"), 10, -100f, 100f, 2f, localChangeListener); formGui.addRandomButton("FxManderbrotRandom2", S3Lang.get("random"), new String[] { "FxManderbrotAddXSize", "FxManderbrotAddYSize" }, localChangeListener); formGui.addResetButton("FxManderbrotReset2", S3Lang.get("reset"), new String[] { "FxManderbrotAddXSize", "FxManderbrotAddYSize" }, localChangeListener); formGui.add("FxManderbrotIterations", S3Lang.get("iterations"), iterations, 2f, 100f, 1.0f, localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.pixmap.anim.FxPlasma.java
License:Apache License
/** * *///from w ww . j av a 2s . co m @Override public final void initForm() { if (formGui == null) { return; } disableChange = true; formGui.addLabel(S3Lang.get("FxPlasma"), S3Lang.get("FxPlasma"), Color.YELLOW); formGui.add("FxPlasma_plasmaSpeed", S3Lang.get("plasmaSpeed"), plasmaSpeed, -100f, 100f, 2f, localChangeListener); formGui.add("FxPlasma_plasmaScrollSpeed", S3Lang.get("plasmaScrollSpeed"), plasmaScrollSpeed, -100f, 100f, 2f, localChangeListener); formGui.add("FxPlasma_cellSizeX", S3Lang.get("cellSizeX"), cellSizeX, -100f, 100f, 2f, localChangeListener); formGui.add("FxPlasma_cellSizeY", S3Lang.get("cellSizeY"), cellSizeY, -100f, 100f, 2f, localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxBlur.java
License:Apache License
@Override public final void initForm() { if (formGui == null) { return;// w w w .j a v a 2 s . c o m } disableChange = true; formGui.addLabel(S3Lang.get("fxTextureOpBlur"), S3Lang.get("fxTextureOpBlur"), Color.YELLOW); formGui.addSelectIndex("FxTextureOpBlurMode", "Blur Mode", 0, new String[] { "None", "convolveHV", "convolveH", "convolveV" }, localChangeListener); formGui.addSelectIndex("FxTextureOpBlurMatrix", "Matrix Mode", 0, new String[] { "Matrix Blur 3x3", "Matrix Blur 5x5", "Matrix Blur Cross", "Matrix Blur Star", "Matrix Blur Block" }, localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxColorFilter.java
License:Apache License
/** * *///ww w .ja v a2s.c o m @Override public final void initForm() { if (formGui == null) { return; } disableChange = true; formGui.addLabel(S3Lang.get("FxColorFilter"), S3Lang.get("FxColorFilter"), Color.YELLOW); formGui.add("FxColorFilterBrithness", S3Lang.get("brithness"), brithness, 0.0f, 255.0f, 1.0f, localChangeListener); formGui.add("FxColorFilterContrast", S3Lang.get("contrast"), contrast, 0.0f, 255.0f, 1.0f, localChangeListener); formGui.add("FxColorFilterSaturation", S3Lang.get("saturation"), saturation, 0.0f, 255.0f, 1.0f, localChangeListener); formGui.addRandomButton("FxColorRandom", S3Lang.get("random"), new String[] { "FxColorFilterBrithness", "FxColorFilterContrast", "FxColorFilterSaturation" }, localChangeListener); formGui.addResetButton("FxColorReset", S3Lang.get("reset"), new String[] { "FxColorFilterBrithness", "FxColorFilterContrast", "FxColorFilterSaturation" }, localChangeListener); formGui.addColorSelect("FxColorFilterColorBase", S3Lang.get("colorBase"), colorBase, localChangeListener); formGui.add("FxColorFilterColorPercentRed", S3Lang.get("colorPercentRed"), colorPercentRed, 0.0f, 255.0f, 1.0f, localChangeListener); formGui.add("FxColorFilterColorPercentGreen", S3Lang.get("colorPercentGreen"), colorPercentGreen, 0.0f, 255.0f, 1.0f, localChangeListener); formGui.add("FxColorFilterColorPercentBlue", S3Lang.get("colorPercentBlue"), colorPercentBlue, 0.0f, 255.0f, 1.0f, localChangeListener); formGui.add("FxColorFilterAlpha", S3Lang.get("alpha"), alpha, 0.0f, 255.0f, 1.0f, localChangeListener); disableChange = false; }
From source file:mobi.shad.s3lib.gfx.node.pixmap.filter.FxGlow.java
License:Apache License
/** * *//*from ww w . ja v a 2 s . co m*/ @Override public final void initForm() { if (formGui == null) { return; } disableChange = true; formGui.addLabel(S3Lang.get("FxGlow"), S3Lang.get("FxGlow"), Color.YELLOW); formGui.add("FxGlowCenterX", S3Lang.get("centerX"), centerX, 0.0f, 1.0f, 0.1f, localChangeListener); formGui.add("FxGlowCenterY", S3Lang.get("centerY"), centerY, 0.0f, 1.0f, 0.1f, localChangeListener); formGui.add("FxGlowRayX", S3Lang.get("rayX"), rayX, 0.0f, 1.0f, 0.1f, localChangeListener); formGui.add("FxGlowRayY", S3Lang.get("rayY"), rayY, 0.0f, 1.0f, 0.1f, localChangeListener); formGui.addRandomButton("FxGlowRandom", S3Lang.get("random"), new String[] { "FxGlowCenterX", "FxGlowCenterY", "FxGlowRayX", "FxGlowRayY" }, localChangeListener); formGui.addResetButton("FxGlowReset", S3Lang.get("reset"), new String[] { "FxGlowCenterX", "FxGlowCenterY", "FxGlowRayX", "FxGlowRayY" }, localChangeListener); formGui.add("FxGlowGamma", S3Lang.get("gamma"), gamma, 0.0f, 50.0f, 0.1f, localChangeListener); formGui.add("FxGlowAlpha", S3Lang.get("alpha"), alpha, 0.0f, 50.0f, 0.1f, localChangeListener); formGui.addColorSelect("color", S3Lang.get("color"), color, localChangeListener); disableChange = false; }