public class GuiOptionSlider extends GuiButton
| Modifier and Type | Field and Description |
|---|---|
boolean |
dragging |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColor, visible, width, x, yICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiOptionSlider(int buttonId,
int x,
int y,
GameSettings.Options optionIn) |
GuiOptionSlider(int p_i47662_1_,
int p_i47662_2_,
int p_i47662_3_,
GameSettings.Options p_i47662_4_,
double p_i47662_5_,
double p_i47662_7_) |
GuiOptionSlider(int p_i47663_1_,
int p_i47663_2_,
int p_i47663_3_,
int p_i47663_4_,
int p_i47663_5_,
GameSettings.Options p_i47663_6_,
double p_i47663_7_,
double p_i47663_9_) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getHoverState(boolean mouseOver) |
void |
onClick(double mouseX,
double mouseY) |
void |
onRelease(double mouseX,
double mouseY) |
protected void |
renderBg(Minecraft mc,
int mouseX,
int mouseY) |
drawButtonForegroundLayer, getWidth, isMouseOver, isPressable, mouseClicked, mouseDragged, mouseReleased, onDrag, playPressSound, render, setWidthdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolledpublic GuiOptionSlider(int buttonId,
int x,
int y,
GameSettings.Options optionIn)
public GuiOptionSlider(int p_i47662_1_,
int p_i47662_2_,
int p_i47662_3_,
GameSettings.Options p_i47662_4_,
double p_i47662_5_,
double p_i47662_7_)
public GuiOptionSlider(int p_i47663_1_,
int p_i47663_2_,
int p_i47663_3_,
int p_i47663_4_,
int p_i47663_5_,
GameSettings.Options p_i47663_6_,
double p_i47663_7_,
double p_i47663_9_)
protected int getHoverState(boolean mouseOver)
getHoverState in class GuiButtonprotected void renderBg(Minecraft mc, int mouseX, int mouseY)
public final void onClick(double mouseX,
double mouseY)