19 #ifndef HEADER_USER_INFO_DIALOG_HPP
20 #define HEADER_USER_INFO_DIALOG_HPP
22 #include "guiengine/modaldialog.hpp"
25 #include <irrString.h>
27 namespace GUIEngine {
class IconButtonWidget;
class LabelWidget;
class RibbonWidget; }
47 irr::core::stringw m_info;
49 const uint32_t m_showing_id;
73 UserInfoDialog(uint32_t showing_id,
const core::stringw info =
"",
bool error =
false,
bool from_queue =
false);
78 void onEnterPressedInternal();
79 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource);
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
Class that represents an online profile.
Definition: online_profile.hpp:42
Dialog that allows a user to sign in.
Definition: user_info_dialog.hpp:38
void removePendingFriend()
Removes a pending friend request.
Definition: user_info_dialog.cpp:353
virtual void init()
Optional callback invoked after widgets have been add()ed.
Definition: user_info_dialog.cpp:136
void declineFriendRequest()
A request to the server, to decline a friend request.
Definition: user_info_dialog.cpp:256
void removeExistingFriend()
Removes an existing friend.
Definition: user_info_dialog.cpp:306
virtual void onUpdate(float dt)
Override to be notified of updates.
Definition: user_info_dialog.cpp:482
virtual void beforeAddingWidgets()
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: user_info_dialog.cpp:69
virtual bool onEscapePressed()
Override to change what happens on escape pressed.
Definition: user_info_dialog.cpp:472
void acceptFriendRequest()
Sends an AcceptFriend request to the server.
Definition: user_info_dialog.cpp:201
void sendFriendRequest()
Sends a friend request to the server.
Definition: user_info_dialog.cpp:146
GUIEngine::EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: user_info_dialog.cpp:397
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33
Declares the general types that are used by the network.