From 1ff5ee0b69c550553f1322d3c614fd646da8846d Mon Sep 17 00:00:00 2001 From: red-001 Date: Sat, 20 May 2017 11:29:44 +0100 Subject: Improve password change menu (#5757) - Fix the GUI getting messed up when resizing - Save the input when resizing --- src/guiPasswordChange.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/guiPasswordChange.h') 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 -- cgit v1.2.3