23 lines
450 B
C++
23 lines
450 B
C++
#pragma once
|
|
|
|
#include "GLPanel.h"
|
|
|
|
class ScopePanel : public GLPanel {
|
|
|
|
public:
|
|
typedef enum ScopeMode { SCOPE_MODE_Y, SCOPE_MODE_2Y, SCOPE_MODE_XY } ScopeMode;
|
|
|
|
ScopePanel();
|
|
|
|
void setMode(ScopeMode scopeMode);
|
|
void setPoints(std::vector<float> &points);
|
|
|
|
protected:
|
|
void drawPanelContents();
|
|
|
|
private:
|
|
std::vector<float> points;
|
|
ScopeMode scopeMode;
|
|
GLPanel bgPanel;
|
|
GLPanel bgPanelStereo[2];
|
|
}; |