aboutsummaryrefslogtreecommitdiff
path: root/src/guiPasswordChange.h
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-05-20 11:29:44 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-05-20 12:29:44 +0200
commit1ff5ee0b69c550553f1322d3c614fd646da8846d (patch)
tree8f7052450e62bb6153c7ea41c8a554cfb63d8a56 /src/guiPasswordChange.h
parent605599b6f150b89ba6539c4d088231b326adcb48 (diff)
downloadminetest-1ff5ee0b69c550553f1322d3c614fd646da8846d.tar.gz
minetest-1ff5ee0b69c550553f1322d3c614fd646da8846d.tar.bz2
minetest-1ff5ee0b69c550553f1322d3c614fd646da8846d.zip
Improve password change menu (#5757)
- Fix the GUI getting messed up when resizing - Save the input when resizing
Diffstat (limited to 'src/guiPasswordChange.h')
-rw-r--r--src/guiPasswordChange.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/guiPasswordChange.h b/src/guiPasswordChange.h
index cf81389eb..9680ef13d 100644
--- a/src/guiPasswordChange.h
+++ b/src/guiPasswordChange.h
@@ -39,12 +39,17 @@ public:
void drawMenu();
- bool acceptInput();
+ void acceptInput();
+
+ bool processInput();
bool OnEvent(const SEvent &event);
private:
Client *m_client;
+ std::wstring m_oldpass;
+ std::wstring m_newpass;
+ std::wstring m_newpass_confirm;
};
#endif