19#ifndef HEADER_CHANGE_PASSWORD_DIALOG_HPP
20#define HEADER_CHANGE_PASSWORD_DIALOG_HPP
22#include "guiengine/modaldialog.hpp"
28 class IconButtonWidget;
45 virtual void onEnterPressedInternal();
47 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource);
52 void error(
const irr::core::stringw & error_message);
54 const irr::core::stringw &new_password);
59 bool m_show_success_dialog;
Dialog that allows a user to sign in.
Definition: change_password_dialog.hpp:38
GUIEngine::EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: change_password_dialog.cpp:165
ChangePasswordDialog()
Creates a modal dialog with given percentage of screen width and height.
Definition: change_password_dialog.cpp:43
virtual void onUpdate(float dt)
Override to be notified of updates.
Definition: change_password_dialog.cpp:230
virtual bool onEscapePressed()
Override to change what happens on escape pressed.
Definition: change_password_dialog.cpp:201
void changePassword(const irr::core::stringw ¤t_password, const irr::core::stringw &new_password)
Create and submit the request to the server to change the password.
Definition: change_password_dialog.cpp:85
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
A text field widget.
Definition: text_box_widget.hpp:53
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33