Panel for showing console log messages. More...
#include <LogPanel.hpp>
Public Member Functions | |
| LogPanel () noexcept | |
| Constructor. | |
| virtual | ~LogPanel () noexcept |
| Destructor. | |
| void | draw () override |
| Draw config panel. | |
| Public Member Functions inherited from galaxy::Panel | |
| Panel () noexcept | |
| Constructor. | |
| Panel (Panel &&) noexcept | |
| Move constructor. | |
| Panel (const Panel &) noexcept | |
| Copy constructor. | |
| virtual | ~Panel () noexcept |
| Destructor. | |
| void | toggle () noexcept |
| Toggle visibility of panel. | |
| bool | shown () const noexcept |
| Check if panel is visible. | |
| Panel & | operator= (Panel &&) noexcept |
| Move assignment operator. | |
| Panel & | operator= (const Panel &) noexcept |
| Copy assignment operator. | |
Private Attributes | |
| EditorSink | m_sink |
| Bridges the panel and the log system. | |
| ImVec2 | m_icon_size |
| Icon size for buttons. | |
| bool | m_show_info |
| Level filter for info. | |
| bool | m_show_warning |
| Level filter for warning. | |
| bool | m_show_error |
| Level filter for error. | |
Additional Inherited Members | |
| Protected Attributes inherited from galaxy::Panel | |
| bool | m_show |
| Should the panel be shown. | |
Panel for showing console log messages.
Definition at line 62 of file LogPanel.hpp.
|
noexcept |
Constructor.
Definition at line 35 of file LogPanel.cpp.
|
virtualnoexcept |
Destructor.
Definition at line 45 of file LogPanel.cpp.
|
overridevirtual |
Draw config panel.
Implements galaxy::Panel.
Definition at line 49 of file LogPanel.cpp.
|
private |
Bridges the panel and the log system.
Definition at line 84 of file LogPanel.hpp.
|
private |
Icon size for buttons.
Definition at line 89 of file LogPanel.hpp.
|
private |
Level filter for info.
Definition at line 94 of file LogPanel.hpp.
|
private |
Level filter for warning.
Definition at line 99 of file LogPanel.hpp.
|
private |
Level filter for error.
Definition at line 104 of file LogPanel.hpp.