public class GuiUnicodeGlyphButton extends GuiButtonExt
Modifier and Type | Field and Description |
---|---|
java.lang.String |
glyph |
float |
glyphScale |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColor, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiUnicodeGlyphButton(int id,
int xPos,
int yPos,
int width,
int height,
java.lang.String displayString,
java.lang.String glyph,
float glyphScale) |
Modifier and Type | Method and Description |
---|---|
void |
render(int mouseX,
int mouseY,
float partial)
Draws this button to the screen.
|
drawButtonForegroundLayer, getHoverState, getWidth, isMouseOver, isPressable, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playPressSound, renderBg, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolled
public GuiUnicodeGlyphButton(int id, int xPos, int yPos, int width, int height, java.lang.String displayString, java.lang.String glyph, float glyphScale)
public void render(int mouseX, int mouseY, float partial)
GuiButtonExt
render
in class GuiButtonExt