1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Improve password change menu (#5757)

- Fix the GUI getting messed up when resizing
- Save the input when resizing
This commit is contained in:
red-001 2017-05-20 11:29:44 +01:00 committed by Loïc Blot
parent 605599b6f1
commit 1ff5ee0b69
2 changed files with 44 additions and 40 deletions

View file

@ -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