Package emi.dev.emi.emi.screen
Class EmiScreenManager.ScreenSpace
java.lang.Object
emi.dev.emi.emi.screen.EmiScreenManager.ScreenSpace
- Enclosing class:
- EmiScreenManager
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScreenSpace(int tx, int ty, int tw, int th, boolean rtl, List<Bounds> exclusion, Supplier<SidebarType> typeSupplier, boolean search) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int x, int y) booleancontainsNotExcluded(int x, int y) intgetClosestEdge(int x, int y) intgetEdgeX(int off) intgetEdgeY(int off) List<? extends EmiIngredient>getPage(int page) intgetRawOffset(int x, int y) intgetRawOffsetFromMouse(int mouseX, int mouseY) intgetRawX(int off) intgetRawY(int off) List<? extends EmiIngredient>getType()intgetWidth(int y) intgetX(int x, int y) intgetY(int x, int y) voidrender(EmiDrawContext context, int mouseX, int mouseY, float delta, int startIndex)
-
Field Details
-
batcher
-
tx
public final int tx -
ty
public final int ty -
tw
public final int tw -
th
public final int th -
pageSize
public final int pageSize -
rtl
public final boolean rtl -
widths
public final int[] widths -
search
public final boolean search
-
-
Constructor Details
-
ScreenSpace
public ScreenSpace(int tx, int ty, int tw, int th, boolean rtl, List<Bounds> exclusion, Supplier<SidebarType> typeSupplier, boolean search)
-
-
Method Details
-
getStacks
-
getPage
-
getType
-
render
-
getWidth
public int getWidth(int y) -
getX
public int getX(int x, int y) -
getY
public int getY(int x, int y) -
getEdgeX
public int getEdgeX(int off) -
getEdgeY
public int getEdgeY(int off) -
getRawX
public int getRawX(int off) -
getRawY
public int getRawY(int off) -
getClosestEdge
public int getClosestEdge(int x, int y) -
getRawOffsetFromMouse
public int getRawOffsetFromMouse(int mouseX, int mouseY) -
getRawOffset
public int getRawOffset(int x, int y) -
contains
public boolean contains(int x, int y) -
containsNotExcluded
public boolean containsNotExcluded(int x, int y)
-