19#ifndef HEADER_USER_INFO_DIALOG_HPP
20#define HEADER_USER_INFO_DIALOG_HPP
22#include "guiengine/modaldialog.hpp"
23#include "guiengine/widgets.hpp"
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:348
virtual void init()
Optional callback invoked after widgets have been add()ed.
Definition: user_info_dialog.cpp:131
void declineFriendRequest()
A request to the server, to decline a friend request.
Definition: user_info_dialog.cpp:251
void removeExistingFriend()
Removes an existing friend.
Definition: user_info_dialog.cpp:301
virtual void onUpdate(float dt)
Override to be notified of updates.
Definition: user_info_dialog.cpp:477
virtual void beforeAddingWidgets()
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: user_info_dialog.cpp:64
virtual bool onEscapePressed()
Override to change what happens on escape pressed.
Definition: user_info_dialog.cpp:467
void acceptFriendRequest()
Sends an AcceptFriend request to the server.
Definition: user_info_dialog.cpp:196
void sendFriendRequest()
Sends a friend request to the server.
Definition: user_info_dialog.cpp:141
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:392
Declares the general types that are used by the network.