public class GuiSliderBetterFont extends GuiSliderNew
GuiSliderNew.ISlider
Modifier and Type | Field and Description |
---|---|
protected float |
scale |
dispString, dragging, drawString, maxValue, minValue, parent, precision, showDecimal, sliderValue, suffix
Constructor and Description |
---|
GuiSliderBetterFont(int id,
int xPos,
int yPos,
int width,
int height,
java.lang.String prefix,
java.lang.String suf,
double minVal,
double maxVal,
double currentVal,
boolean showDec,
boolean drawStr,
float scale,
GuiSliderNew.ISlider par) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(net.minecraft.client.Minecraft mc,
int mouseX,
int mouseY,
float partial) |
getHoverState, getValue, getValueInt, mouseDragged, mousePressed, mouseReleased, setValue, updateSlider
mouseClicked, mouseDragged, mouseReleased, onClick
drawButtonForegroundLayer, getButtonWidth, isMouseOver, playPressSound, 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 GuiSliderBetterFont(int id, int xPos, int yPos, int width, int height, java.lang.String prefix, java.lang.String suf, double minVal, double maxVal, double currentVal, boolean showDec, boolean drawStr, float scale, GuiSliderNew.ISlider par)
public void drawButton(net.minecraft.client.Minecraft mc, int mouseX, int mouseY, float partial)
drawButton
in class GuiButtonExtNew