2023-07-23 23:37:47 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex/ui/view.hpp>
|
|
|
|
|
|
|
|
namespace hex::plugin::builtin {
|
|
|
|
|
2023-11-21 13:47:50 +01:00
|
|
|
class ViewLogs : public View::Floating {
|
2023-07-23 23:37:47 +02:00
|
|
|
public:
|
|
|
|
ViewLogs();
|
|
|
|
~ViewLogs() override = default;
|
|
|
|
|
|
|
|
void drawContent() override;
|
|
|
|
|
2023-11-21 13:47:50 +01:00
|
|
|
[[nodiscard]] bool shouldDraw() const override { return true; }
|
2023-07-23 23:37:47 +02:00
|
|
|
[[nodiscard]] bool hasViewMenuItemEntry() const override { return false; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
int m_logLevel = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|