Package com.mojang.realmsclient.gui
Class RowButton
java.lang.Object
com.mojang.realmsclient.gui.RowButton
- Direct Known Subclasses:
RealmsPendingInvitesScreen.Entry.AcceptRowButton
,RealmsPendingInvitesScreen.Entry.RejectRowButton
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
draw
(GuiGraphics p_281291_, int p_88025_, int p_88026_, boolean p_88027_) static void
drawButtonsInRow
(GuiGraphics p_281401_, List<RowButton> p_283164_, RealmsObjectSelectionList<?> p_282348_, int p_282527_, int p_281326_, int p_281575_, int p_282538_) void
drawForRowAt
(GuiGraphics p_281584_, int p_88020_, int p_88021_, int p_88022_, int p_88023_) int
int
getRight()
abstract void
onClick
(int p_88017_) static void
rowButtonMouseClicked
(RealmsObjectSelectionList<?> p_88037_, ObjectSelectionList.Entry<?> p_88038_, List<RowButton> p_88039_, int p_88040_, double p_88041_, double p_88042_)
-
Field Details
-
width
public final int width -
height
public final int height -
xOffset
public final int xOffset -
yOffset
public final int yOffset
-
-
Constructor Details
-
RowButton
public RowButton(int p_88012_, int p_88013_, int p_88014_, int p_88015_)
-
-
Method Details
-
drawForRowAt
public void drawForRowAt(GuiGraphics p_281584_, int p_88020_, int p_88021_, int p_88022_, int p_88023_) -
draw
-
getRight
public int getRight() -
getBottom
public int getBottom() -
onClick
public abstract void onClick(int p_88017_) -
drawButtonsInRow
public static void drawButtonsInRow(GuiGraphics p_281401_, List<RowButton> p_283164_, RealmsObjectSelectionList<?> p_282348_, int p_282527_, int p_281326_, int p_281575_, int p_282538_) -
rowButtonMouseClicked
public static void rowButtonMouseClicked(RealmsObjectSelectionList<?> p_88037_, ObjectSelectionList.Entry<?> p_88038_, List<RowButton> p_88039_, int p_88040_, double p_88041_, double p_88042_)
-