mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-27 06:08:37 -05:00
22 lines
452 B
C++
22 lines
452 B
C++
#pragma once
|
|
|
|
#include "PrimaryGLContext.h"
|
|
#include "Gradient.h"
|
|
|
|
#define NUM_WATERFALL_LINES 512
|
|
|
|
class ScopeCanvas;
|
|
|
|
class ScopeContext: public PrimaryGLContext {
|
|
public:
|
|
ScopeContext(ScopeCanvas *canvas, wxGLContext *sharedContext);
|
|
|
|
void DrawBegin();
|
|
void Plot(std::vector<float> &points, bool stereo=false, bool ppmMode=false);
|
|
void DrawDeviceName(std::string deviceName);
|
|
void DrawDivider();
|
|
void DrawEnd();
|
|
|
|
private:
|
|
};
|