public class GuiOptionButton extends GuiButton
Modifier and Type | Field and Description |
---|---|
private GameSettings.Options |
enumOptions |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiOptionButton(int p_i45013_1_,
int p_i45013_2_,
int p_i45013_3_,
GameSettings.Options p_i45013_4_,
java.lang.String p_i45013_5_) |
GuiOptionButton(int p_i45011_1_,
int p_i45011_2_,
int p_i45011_3_,
java.lang.String p_i45011_4_) |
Modifier and Type | Method and Description |
---|---|
GameSettings.Options |
getOption() |
drawButton, drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final GameSettings.Options enumOptions
public GuiOptionButton(int p_i45011_1_, int p_i45011_2_, int p_i45011_3_, java.lang.String p_i45011_4_)
public GuiOptionButton(int p_i45013_1_, int p_i45013_2_, int p_i45013_3_, GameSettings.Options p_i45013_4_, java.lang.String p_i45013_5_)
public GameSettings.Options getOption()