2014-11-12 21:55:11 -05:00
|
|
|
#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);
|
|
|
|
|
2014-12-26 23:28:18 -05:00
|
|
|
void DrawBegin();
|
2015-04-22 22:54:48 -04:00
|
|
|
void Plot(std::vector<float> &points, bool stereo=false, bool ppmMode=false);
|
2014-12-31 21:31:37 -05:00
|
|
|
void DrawDeviceName(std::string deviceName);
|
2014-12-26 23:28:18 -05:00
|
|
|
void DrawDivider();
|
|
|
|
void DrawEnd();
|
2014-11-12 21:55:11 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|