satdump/src-core/common/widgets/fft_plot.h
2021-08-15 16:47:44 +02:00

21 lines
No EOL
360 B
C++

#pragma once
#include "imgui/imgui.h"
namespace widgets
{
class FFTPlot
{
private:
float *values;
int values_size;
public:
float scale_min, scale_max;
float scale_resolution;
public:
FFTPlot(float *v, int size, float min, float max, float scale_res = 20);
void draw(ImVec2 size);
};
}