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:
@@ -13,13 +13,13 @@ RenameMPLevelScreen::RenameMPLevelScreen(const std::string& levelName) : m_level
|
||||
{
|
||||
}
|
||||
|
||||
void RenameMPLevelScreen::init()
|
||||
void RenameMPLevelScreen::onInit()
|
||||
{
|
||||
m_pMinecraft->platform()->showDialog(AppPlatform::DLG_RENAME_MP_WORLD);
|
||||
m_pMinecraft->platform()->createUserInput();
|
||||
}
|
||||
|
||||
void RenameMPLevelScreen::render(int mouseX, int mouseY, float f)
|
||||
void RenameMPLevelScreen::onRender(int mouseX, int mouseY, float f)
|
||||
{
|
||||
int userInputStatus = m_pMinecraft->platform()->getUserInputStatus();
|
||||
if (userInputStatus < 0)
|
||||
|
||||
Reference in New Issue
Block a user