39 std::shared_ptr<Player::Player>
player = {}) :
42 std::shared_ptr<Player::Player>
player = {}) :
46 const std::string &label,
const std::string &text,
47 std::shared_ptr<Player::Player>
player = { });
MessageAnnouncement(const std::string &label, std::shared_ptr< Player::Player > player={})
Definition: MessageAnnouncement.h:38
Announcement(const std::string &postType, const std::string &label, std::shared_ptr< Player::Player > player)
Constructor.
Definition: Announcement.h:53
void CreateContents(Display::Display &display, Display::FlexGrid &grid) const override
Fill in the UI contents of the announcement.
Definition: MessageAnnouncement.cpp:54
virtual ~MessageAnnouncement()
Definition: MessageAnnouncement.h:50
const std::string postType
Definition: Announcement.h:97
MessageAnnouncement(const std::string &label, const std::string &text, std::shared_ptr< Player::Player > player={})
Definition: MessageAnnouncement.h:41
const std::string label
Definition: Announcement.h:98
Base class for display managers.
Definition: Display.h:73
Basic message.
Definition: MessageAnnouncement.h:33
An invisible container for other UI widgets.
Definition: Container.h:49
A container that arranges components into a grid that is automatically sized to the contents...
Definition: FlexGrid.h:52
std::shared_ptr< Player::Player > player
Definition: Announcement.h:99
const std::string text
Definition: MessageAnnouncement.h:59
std::shared_ptr< Display::Box > CreateIcon(Display::Display &display, Display::Container &parent) const override
Create the optional icon to display next to the announcement.
Definition: MessageAnnouncement.cpp:44
Definition: Announcement.h:24
Base class for announcements.
Definition: Announcement.h:43