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 Details

    • glyph

      public String glyph
    • glyphScale

      public float glyphScale
  • Constructor Details

    • UnicodeGlyphButton

      public UnicodeGlyphButton(int xPos, int yPos, int width, int height, ITextComponent displayString, String glyph, float glyphScale, Button.IPressable handler)
  • Method Details