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
static void
drawButtonsInRow
(PoseStack p_88029_, List<RowButton> p_88030_, RealmsObjectSelectionList<?> p_88031_, int p_88032_, int p_88033_, int p_88034_, int p_88035_) void
drawForRowAt
(PoseStack p_88019_, 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(PoseStack p_88019_, 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(PoseStack p_88029_, List<RowButton> p_88030_, RealmsObjectSelectionList<?> p_88031_, int p_88032_, int p_88033_, int p_88034_, int p_88035_) -
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_)
-