mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Improve the DirectConnectScreen, among other things.
This commit is contained in:
@@ -63,7 +63,7 @@ bool JoinGameScreen::handleBackEvent(bool b)
|
||||
|
||||
void JoinGameScreen::init()
|
||||
{
|
||||
const int BUTTON_WIDTH = 120;
|
||||
const int BUTTON_WIDTH = 100;
|
||||
|
||||
m_btnBack.m_yPos = m_btnJoin.m_yPos = m_btnDirectConnect.m_yPos = m_height - 27;
|
||||
m_btnBack.m_width = m_btnJoin.m_width = BUTTON_WIDTH;
|
||||
@@ -72,7 +72,7 @@ void JoinGameScreen::init()
|
||||
m_btnDirectConnect.m_xPos = (m_width / 2) - (BUTTON_WIDTH / 2);
|
||||
m_btnBack.m_xPos = m_width / 2 + 4 + (BUTTON_WIDTH / 2);
|
||||
|
||||
m_btnDirectConnect.m_width = 120;
|
||||
m_btnDirectConnect.m_width = BUTTON_WIDTH;
|
||||
|
||||
m_buttons.push_back(&m_btnJoin);
|
||||
m_buttons.push_back(&m_btnDirectConnect);
|
||||
|
||||
Reference in New Issue
Block a user