diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-13 01:02:25 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-13 01:02:25 +0200 |
commit | 4ff36696ea0451c9017cc98d5cc29b0998badba5 (patch) | |
tree | 4de2ff5a90048411cf120440dde8c80acc946553 /src | |
parent | 800d3b4ee7dfe527d8540c9e2464117dc24ad1d0 (diff) | |
download | minetest-4ff36696ea0451c9017cc98d5cc29b0998badba5.tar.gz minetest-4ff36696ea0451c9017cc98d5cc29b0998badba5.tar.bz2 minetest-4ff36696ea0451c9017cc98d5cc29b0998badba5.zip |
Move keychange/connect main menu buttons a bit
Diffstat (limited to 'src')
-rw-r--r-- | src/guiMainMenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiMainMenu.cpp b/src/guiMainMenu.cpp index a0d8e93ec..cfebc75d4 100644 --- a/src/guiMainMenu.cpp +++ b/src/guiMainMenu.cpp @@ -266,7 +266,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) { core::rect<s32> rect(0, 0, 180, 30); //rect += topleft_client + v2s32(size_client.X/2-180/2, 225-30/2); - rect += topleft_client + v2s32(size_client.X-180-40, 150+25); + rect += topleft_client + v2s32(size_client.X-180-40, 150+25+25); Environment->addButton(rect, this, GUI_ID_JOIN_GAME_BUTTON, wgettext("Start Game / Connect")); } @@ -275,7 +275,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) { core::rect<s32> rect(0, 0, 100, 30); //rect += topleft_client + v2s32(size_client.X/2-180/2, 225-30/2); - rect += topleft_client + v2s32(size_client.X-180-40-100-20, 150+25); + rect += topleft_client + v2s32(size_client.X-180-40-100-20, 150+25+25); Environment->addButton(rect, this, GUI_ID_CHANGE_KEYS_BUTTON, wgettext("Change keys")); } |