Hymn to Beauty
C++ 3D Engine
LogView.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <imgui.h>
5#include <Utility/Log.hpp>
6
7namespace GUI {
8class LogView {
9 public:
11 LogView();
12
14 ~LogView();
15
17 void Show();
18
19 private:
20 void MessageCallback(const Log::Channel channel, const std::string& message);
21
22 ImGuiTextBuffer textBuffer;
23 ImGuiTextFilter textFilter;
24 ImVector<int> lineOffsets;
25};
26} // namespace GUI
Definition: LogView.hpp:8
~LogView()
Destructor.
Definition: LogView.cpp:13
LogView()
Constructor.
Definition: LogView.cpp:9
void Show()
Shows the log.
Definition: LogView.cpp:17
Channel
Definition: Log.hpp:18
Definition: AssetEditor.hpp:9