public class GuiSlider extends GuiButton
Modifier and Type | Field and Description |
---|---|
boolean |
dragging |
float |
sliderValue |
Constructor and Description |
---|
GuiSlider(int i,
int j,
int k,
EnumOptions enumoptions,
java.lang.String s,
float f) |
Modifier and Type | Method and Description |
---|---|
protected int |
getHoverState(boolean flag) |
protected void |
mouseDragged(net.minecraft.client.Minecraft minecraft,
int i,
int j) |
boolean |
mousePressed(net.minecraft.client.Minecraft minecraft,
int i,
int j) |
void |
mouseReleased(int i,
int j) |
drawButton
drawCenteredString, drawGradientRect, drawRect, drawString, drawTexturedModalRect, func_27099_b, func_27100_a
public GuiSlider(int i, int j, int k, EnumOptions enumoptions, java.lang.String s, float f)
protected int getHoverState(boolean flag)
getHoverState
in class GuiButton
protected void mouseDragged(net.minecraft.client.Minecraft minecraft, int i, int j)
mouseDragged
in class GuiButton
public boolean mousePressed(net.minecraft.client.Minecraft minecraft, int i, int j)
mousePressed
in class GuiButton
public void mouseReleased(int i, int j)
mouseReleased
in class GuiButton