mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
22 lines
No EOL
429 B
C++
22 lines
No EOL
429 B
C++
#pragma once
|
|
|
|
#include "common/widgets/logger_sink.h"
|
|
|
|
namespace satdump
|
|
{
|
|
class StatusLoggerSink : public widgets::LoggerSinkWidget
|
|
{
|
|
private:
|
|
std::string str;
|
|
std::string lvl;
|
|
bool show_bar;
|
|
bool show_log;
|
|
protected:
|
|
void receive(slog::LogMsg log);
|
|
public:
|
|
StatusLoggerSink();
|
|
~StatusLoggerSink();
|
|
int draw();
|
|
bool is_shown();
|
|
};
|
|
} |