public class GuiButtonClickActivated extends GuiButtonClick
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected int |
activeColor |
Constructor and Description |
---|
GuiButtonClickActivated(int x,
int y,
int width,
int height,
java.lang.String displayString,
int activeColor) |
Modifier and Type | Method and Description |
---|---|
protected void |
color(int color) |
void |
drawButton(net.minecraft.client.Minecraft mc,
int mouseX,
int mouseY) |
boolean |
isActive() |
void |
setActive(boolean active) |
onClick, setClickAction
mouseClicked, mouseDragged, mouseReleased
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, 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 GuiButtonClickActivated(int x, int y, int width, int height, java.lang.String displayString, int activeColor)
public void setActive(boolean active)
public boolean isActive()
public void drawButton(net.minecraft.client.Minecraft mc, int mouseX, int mouseY)
drawButton
in class GuiButtonExtNew
protected void color(int color)