Class RowButton

java.lang.Object
com.mojang.realmsclient.gui.RowButton
Direct Known Subclasses:
RealmsPendingInvitesScreen.Entry.AcceptRowButton, RealmsPendingInvitesScreen.Entry.RejectRowButton

public abstract class RowButton extends Object
  • 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

      protected abstract void draw(PoseStack p_88024_, int p_88025_, int p_88026_, boolean p_88027_)
    • 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_)