Class WFavorite
java.lang.Object
meteordevelopment.meteorclient.gui.widgets.WWidget
meteordevelopment.meteorclient.gui.widgets.pressable.WPressable
meteordevelopment.meteorclient.gui.widgets.pressable.WFavorite
- All Implemented Interfaces:
BaseWidget
- Direct Known Subclasses:
WMeteorFavorite
-
Field Summary
FieldsFields inherited from class meteordevelopment.meteorclient.gui.widgets.pressable.WPressable
action, pressed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ColorgetColor()protected voidprotected voidonPressed(int button) protected voidonRender(GuiRenderer renderer, double mouseX, double mouseY, double delta) Methods inherited from class meteordevelopment.meteorclient.gui.widgets.pressable.WPressable
onMouseClicked, onMouseReleasedMethods inherited from class meteordevelopment.meteorclient.gui.widgets.WWidget
calculateSize, calculateWidgetPositions, getRoot, getTheme, charTyped, init, invalidate, isOver, keyPressed, keyRepeated, mouseClicked, mouseMoved, mouseReleased, mouseScrolled, move, onCalculateWidgetPositions, onCharTyped, onKeyPressed, onKeyRepeated, onMouseMoved, onMouseScrolled, pad, render
-
Field Details
-
checked
public boolean checked
-
-
Constructor Details
-
WFavorite
public WFavorite(boolean checked)
-
-
Method Details
-
onCalculateSize
protected void onCalculateSize()- Overrides:
onCalculateSizein classWWidget
-
onPressed
protected void onPressed(int button) - Overrides:
onPressedin classWPressable
-
onRender
-
getColor
-