diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-30 22:33:26 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-30 22:33:26 +0200 |
commit | f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e (patch) | |
tree | 3e68841dc749f04f5ea7b850c553a34893650854 /src/guiPasswordChange.cpp | |
parent | 75816150ec3f95a3d0f60f3b70d281e5d83c584c (diff) | |
parent | 185c0bd5870d95b130e76d5cc3869442b4e73e69 (diff) | |
download | minetest-f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e.tar.gz minetest-f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e.tar.bz2 minetest-f4d7530587cf0c71d51ee08e7f78bbaf70bd8b9e.zip |
Merge branch 'master' of github.com:erlehmann/minetest-delta
Diffstat (limited to 'src/guiPasswordChange.cpp')
-rw-r--r-- | src/guiPasswordChange.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/guiPasswordChange.cpp b/src/guiPasswordChange.cpp index fabe75110..2a7fb009a 100644 --- a/src/guiPasswordChange.cpp +++ b/src/guiPasswordChange.cpp @@ -96,12 +96,14 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize) Add stuff */ s32 ypos = 50; + changeCtype(""); { core::rect<s32> rect(0, 0, 110, 20); rect += topleft_client + v2s32(35, ypos+6); Environment->addStaticText(chartowchar_t(gettext("Old Password")), rect, false, true, this, -1); } + changeCtype("C"); { core::rect<s32> rect(0, 0, 230, 30); rect += topleft_client + v2s32(160, ypos); @@ -111,12 +113,14 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize) e->setPasswordBox(true); } ypos += 50; + changeCtype(""); { core::rect<s32> rect(0, 0, 110, 20); rect += topleft_client + v2s32(35, ypos+6); Environment->addStaticText(chartowchar_t(gettext("New Password")), rect, false, true, this, -1); } + changeCtype("C"); { core::rect<s32> rect(0, 0, 230, 30); rect += topleft_client + v2s32(160, ypos); @@ -125,12 +129,14 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize) e->setPasswordBox(true); } ypos += 50; + changeCtype(""); { core::rect<s32> rect(0, 0, 110, 20); rect += topleft_client + v2s32(35, ypos+6); Environment->addStaticText(chartowchar_t(gettext("Confirm Password")), rect, false, true, this, -1); } + changeCtype("C"); { core::rect<s32> rect(0, 0, 230, 30); rect += topleft_client + v2s32(160, ypos); @@ -140,6 +146,7 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize) } ypos += 50; + changeCtype(""); { core::rect<s32> rect(0, 0, 140, 30); rect = rect + v2s32(size.X/2-140/2, ypos); @@ -156,6 +163,7 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize) rect, false, true, this, ID_message); e->setVisible(false); } + changeCtype("C"); } |