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:
parent
605599b6f1
commit
1ff5ee0b69
2 changed files with 44 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue