A GUI component for displaying log messages in an ImGui window. This class subscribes to the Logger module and updates the UI with log messages. Подробнее...
#include <OutputLog.h>
Открытые члены | |
GUIOutputLog () | |
Constructs a GUI log output panel and subscribes to the Logger event. | |
~GUIOutputLog () | |
Destroys the log output panel and unsubscribes from the Logger event. | |
void | render () override |
Renders the log messages inside an ImGui window. | |
void | receiveLogMessage (const std::string &message) |
Receives a log message from the Logger and stores it for display. | |
void | clear () |
Clears all log messages from the display. | |
![]() | |
GUIObject () | |
Constructs a GUI object and assigns it a unique ID. | |
GUIObject (const GUIObject &T)=delete | |
Deleted copy constructor to prevent copying of GUI objects. | |
GUIObject & | operator= (const GUIObject &T)=delete |
Deleted assignment operator to prevent copying. | |
virtual | ~GUIObject () |
Destroys the GUI object and removes it from the ImGui system. | |
uint32_t | getID () const |
Retrieves the unique ID of the GUI object. | |
A GUI component for displaying log messages in an ImGui window. This class subscribes to the Logger module and updates the UI with log messages.
void GUIOutputLog::receiveLogMessage | ( | const std::string & | message | ) |
Receives a log message from the Logger and stores it for display.
message | The log message to add. |
|
overridevirtual |
Renders the log messages inside an ImGui window.
Переопределяет метод предка GUIObject.