18 #ifndef HEADER_REGISTER_SCREEN_HPP 19 #define HEADER_REGISTER_SCREEN_HPP 21 #include "guiengine/screen.hpp" 23 namespace GUIEngine {
class Widget;
class LabelWidget;
24 class RibbonWidget;
class TextBoxWidget; }
25 namespace Online {
class XMLRequest; }
40 void makeEntryFieldsVisible();
41 void handleLocalName(
const irr::core::stringw &local_name);
67 enum { ACCOUNT_NEW_ONLINE,
68 ACCOUNT_EXISTING_ONLINE,
69 ACCOUNT_OFFLINE } m_account_mode;
79 virtual void onUpdate(
float dt) OVERRIDE;
80 virtual bool onEscapePressed() OVERRIDE;
81 virtual void onDialogClose() OVERRIDE;
84 int playerID) OVERRIDE;
90 const std::string& name,
91 const int playerID) OVERRIDE;
GUIEngine::TextBoxWidget * m_password_widget
Save the pointer to the options widget, it is widely used.
Definition: register_screen.hpp:53
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:31
void setParent(BaseUserScreen *us)
Set the parent screen.
Definition: register_screen.hpp:95
std::shared_ptr< Online::XMLRequest > m_signup_request
The XML request to the server.
Definition: register_screen.hpp:56
PlayerProfile * m_existing_player
Pointer to an existing player if the screen is doing a rename, NULL otherwise.
Definition: register_screen.hpp:60
A text field widget.
Definition: text_box_widget.hpp:52
BaseUserScreen * m_parent_screen
A pointer to the parent UserScreen, in order to allow this screen to pass information back...
Definition: register_screen.hpp:73
bool m_info_message_shown
True if the info message (email was sent...) is shown.
Definition: register_screen.hpp:63
GUIEngine::RibbonWidget * m_options_widget
Save the pointer to the options widget, it is widely used.
Definition: register_screen.hpp:50
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: register_screen.hpp:78
Class for managing player profiles (name, usage frequency, etc.).
Definition: player_profile.hpp:53
GUIEngine::LabelWidget * m_info_widget
Save the pointer to the info widget, it is widely used.
Definition: register_screen.hpp:47
Represents a single GUI screen.
Definition: screen.hpp:96
Declares a class to be a singleton.
Definition: screen.hpp:58
The user management screen.
Definition: user_screen.hpp:48
Definition: player_manager.hpp:35
Screen to register an online account.
Definition: register_screen.hpp:34