15#include <UI/Widget.hpp>
34 virtual void draw()
const;
100 virtual void draw()
override;
161 static std::vector<std::shared_ptr<Log>>
_logs;
A log representing error messages.
Definition ConsoleWidget.hpp:80
A base class for logs that contain textual content.
Definition ConsoleWidget.hpp:22
virtual void draw() const
Virtual method to draw the log in the user interface.
Definition ConsoleWidget.cpp:15
void * getIconId() const
Virtual method to retrieve an icon identifier associated with the log.
Definition ConsoleWidget.cpp:22
Log(const std::string &content)
Constructor to create a log with the specified content.
Definition ConsoleWidget.cpp:13
std::string _content
The text content of the log.
Definition ConsoleWidget.hpp:43
AssetRef< Texture > _icon
Definition ConsoleWidget.hpp:44
A log representing informational messages.
Definition ConsoleWidget.hpp:60
A log representing success messages.
Definition ConsoleWidget.hpp:70
A log representing verbose messages.
Definition ConsoleWidget.hpp:50