public class GuiSlider extends GuiButton
Modifier and Type | Field and Description |
---|---|
boolean |
dragging
Is this slider control being dragged.
|
float |
sliderValue
The value of this slider control.
|
displayString, drawButton, enabled, id, xPosition, yPosition
icons, optionsBackground, statIcons
Constructor and Description |
---|
GuiSlider(int par1,
int par2,
int par3,
EnumOptions par4EnumOptions,
String par5Str,
float par6) |
Modifier and Type | Method and Description |
---|---|
boolean |
mousePressed(Minecraft par1Minecraft,
int par2,
int par3)
Returns true if the mouse has been pressed on this control.
|
void |
mouseReleased(int par1,
int par2)
Fired when the mouse button is released.
|
drawButton, func_82251_b, func_82252_a
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
public float sliderValue
public boolean dragging
public GuiSlider(int par1, int par2, int par3, EnumOptions par4EnumOptions, String par5Str, float par6)
public boolean mousePressed(Minecraft par1Minecraft, int par2, int par3)
mousePressed
in class GuiButton
public void mouseReleased(int par1, int par2)
mouseReleased
in class GuiButton