Class UnicodeGlyphButton

  • All Implemented Interfaces:
    IGuiEventListener, IRenderable

    public class UnicodeGlyphButton
    extends ExtendedButton
    This class provides a button that shows a string glyph at the beginning. The glyph can be scaled using the glyphScale parameter.
    Author:
    bspkrs
    • Field Detail

      • glyph

        public java.lang.String glyph
      • glyphScale

        public float glyphScale
    • Constructor Detail

      • UnicodeGlyphButton

        public UnicodeGlyphButton​(int xPos,
                                  int yPos,
                                  int width,
                                  int height,
                                  ITextComponent displayString,
                                  java.lang.String glyph,
                                  float glyphScale,
                                  Button.IPressable handler)