mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-09-22 05:16:35 -04:00
18 lines
379 B
C
18 lines
379 B
C
|
#pragma once
|
||
|
|
||
|
#include "PrimaryGLContext.h"
|
||
|
#include "Gradient.h"
|
||
|
|
||
|
#define NUM_WATERFALL_LINES 512
|
||
|
|
||
|
class ModeSelectorCanvas;
|
||
|
|
||
|
class ModeSelectorContext: public PrimaryGLContext {
|
||
|
public:
|
||
|
ModeSelectorContext(ModeSelectorCanvas *canvas, wxGLContext *sharedContext);
|
||
|
|
||
|
void DrawBegin();
|
||
|
void Draw(float r, float g, float b, float a, float level);
|
||
|
void DrawEnd();
|
||
|
};
|