MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / WaterfallPanel

Method WaterfallPanel

src/panel/WaterfallPanel.cpp:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "WaterfallPanel.h"
5
6WaterfallPanel::WaterfallPanel() : GLPanel(), fft_size(0), waterfall_lines(0), waterfall_slice(nullptr), activeTheme(nullptr) {
7 setFillColor(RGBA4f(0,0,0));
8 for (unsigned int & i : waterfall) {
9 i = 0;
10 }
11}
12
13void WaterfallPanel::setup(unsigned int fft_size_in, int num_waterfall_lines_in) {
14 waterfall_lines = num_waterfall_lines_in;

Callers

nothing calls this directly

Calls 1

RGBA4fClass · 0.85

Tested by

no test coverage detected