public class GuiStats extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected GuiScreen |
parentGui |
protected java.lang.String |
statsTitle
The title of the stats screen.
|
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiStats(GuiScreen par1GuiScreen,
StatFileWriter par2StatFileWriter) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
void |
addHeaderButtons()
Creates the buttons that appear at the top of the Stats GUI.
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed, setClipboardString, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
protected GuiScreen parentGui
protected java.lang.String statsTitle
public GuiStats(GuiScreen par1GuiScreen, StatFileWriter par2StatFileWriter)
public void initGui()
public void addHeaderButtons()
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen