All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bigcustard.scene2dplus.textfield.TextFieldPlus Maven / Gradle / Ivy

The newest version!
package com.bigcustard.scene2dplus.textfield;

import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.ui.TextField;

public class TextFieldPlus extends TextField {
    private Skin skin;

    public TextFieldPlus(String value, Skin skin, String style) {
        super(value, skin, style);
        this.skin = skin;
        setOnlyFontChars(true);
    }

    public TextFieldPlus(String value, Skin skin) {
        super(value, skin);
        this.skin = skin;
        setOnlyFontChars(true);
    }

    public Skin getSkin() {
        return skin;
    }

    @Override
    public void draw(Batch batch, float parentAlpha) {
        super.draw(batch, parentAlpha);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy