satdump/src-core/common/widgets/value_plot.h

19 lines
349 B
C
Raw Permalink Normal View History

2022-03-28 11:51:13 +02:00
#pragma once
#include "complex"
#include "imgui/imgui.h"
2022-03-28 11:51:13 +02:00
namespace satdump
2022-03-28 11:51:13 +02:00
{
namespace widgets
2022-03-28 11:51:13 +02:00
{
class ValuePlotViewer
{
private:
float history[200];
2022-03-28 11:51:13 +02:00
public:
void draw(float value, float max, float min, std::string name);
};
} // namespace widgets
} // namespace satdump