class GUIPasswordChange : public GUIModalMenu
{
public:
- GUIPasswordChange(gui::IGUIEnvironment* env,
- gui::IGUIElement* parent, s32 id,
- IMenuManager *menumgr,
- Client* client);
+ GUIPasswordChange(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id,
+ IMenuManager *menumgr, Client *client);
~GUIPasswordChange();
-
+
void removeChildren();
/*
Remove and re-add (or reposition) stuff
void drawMenu();
- bool acceptInput();
+ void acceptInput();
- bool OnEvent(const SEvent& event);
-
-private:
- Client* m_client;
+ 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
-