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,
float partial) |
boolean |
isActive() |
void |
setActive(boolean active) |
onClick, setClickActionmouseClicked, mouseDragged, mouseReleaseddrawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, 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 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,
float partial)
drawButton in class GuiButtonExtNewprotected void color(int color)