public abstract class SectionAppendix
extends java.lang.Object
| Constructor and Description |
|---|
SectionAppendix() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
bakeElement(InfoSection infoSection)
Bake this appendix, only called once before changing pages.
|
protected abstract void |
drawElement(GuiOriginsOfDarkness gui,
int x,
int y,
int width,
int height,
int page,
int mx,
int my) |
void |
drawScreen(GuiOriginsOfDarkness gui,
int x,
int y,
int width,
int height,
int page,
int mx,
int my,
boolean pre)
Draw the appendix.
|
int |
getFullHeight() |
protected abstract int |
getHeight() |
protected abstract int |
getOffsetY() |
protected abstract int |
getWidth() |
protected abstract void |
postDrawElement(GuiOriginsOfDarkness gui,
int x,
int y,
int width,
int height,
int page,
int mx,
int my) |
abstract void |
preBakeElement(InfoSection infoSection) |
public int getFullHeight()
protected abstract int getOffsetY()
protected abstract int getWidth()
protected abstract int getHeight()
public void drawScreen(GuiOriginsOfDarkness gui, int x, int y, int width, int height, int page, int mx, int my, boolean pre)
gui - The gui.x - Start X.y - Start Y.width - Max width.height - Max height.page - Current page.mx - Mouse X.my - Mouse Y.pre - If the normal drawing should occur, otherwise post-drawing: things like tooltips.protected abstract void drawElement(GuiOriginsOfDarkness gui, int x, int y, int width, int height, int page, int mx, int my)
protected abstract void postDrawElement(GuiOriginsOfDarkness gui, int x, int y, int width, int height, int page, int mx, int my)
public abstract void preBakeElement(InfoSection infoSection)
public abstract void bakeElement(InfoSection infoSection)
infoSection - The section this appendix is part of.