mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
GUI: Rename some methods, start to implement new one
This commit is contained in:
@@ -32,7 +32,7 @@ void InvalidLicenseScreen::buttonClicked(Button* pButton)
|
||||
}
|
||||
}
|
||||
|
||||
void InvalidLicenseScreen::init()
|
||||
void InvalidLicenseScreen::onInit()
|
||||
{
|
||||
field_E4 = m_height / 3;
|
||||
if (m_bHasQuitButton)
|
||||
@@ -57,14 +57,10 @@ void InvalidLicenseScreen::init()
|
||||
m_buttonTabList.push_back(&m_btnBuy);
|
||||
}
|
||||
|
||||
void InvalidLicenseScreen::tick()
|
||||
{
|
||||
}
|
||||
|
||||
void InvalidLicenseScreen::render(int mouseX, int mouseY, float f)
|
||||
void InvalidLicenseScreen::onRender(int mouseX, int mouseY, float f)
|
||||
{
|
||||
renderDirtBackground(0);
|
||||
drawCenteredString(m_pMinecraft->m_pFont, m_textLine1, m_width / 2, field_E4, 0xFFFFFF);
|
||||
drawCenteredString(m_pMinecraft->m_pFont, m_textLine2, m_width / 2, field_E4 + 24, 0xFFFFFF);
|
||||
Screen::render(mouseX, mouseY, f);
|
||||
Screen::onRender(mouseX, mouseY, f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user