mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-10-08 00:00:23 -04:00
Separate visual components Scope/Spectrum/Waterfall
Each now on it's own canvas with shared GL Context
This commit is contained in:
+9
-1
@@ -4,6 +4,9 @@
|
||||
#include "PrimaryGLContext.h"
|
||||
#include "SDRThread.h"
|
||||
#include "ScopeCanvas.h"
|
||||
#include "SpectrumCanvas.h"
|
||||
#include "WaterfallCanvas.h"
|
||||
#include "Demodulator.h"
|
||||
|
||||
// Define a new frame type
|
||||
class AppFrame: public wxFrame {
|
||||
@@ -20,12 +23,17 @@ private:
|
||||
void OnNewWindow(wxCommandEvent& event);
|
||||
void OnIdle(wxIdleEvent& event);
|
||||
|
||||
ScopeCanvas *canvas;
|
||||
ScopeCanvas *scopeCanvas;
|
||||
SpectrumCanvas *spectrumCanvas;
|
||||
WaterfallCanvas *waterfallCanvas;
|
||||
SDRThread *t_SDR;
|
||||
IQBufferThread *t_IQBuffer;
|
||||
wxCriticalSection m_pThreadCS;
|
||||
SDRThreadQueue* m_pQueue;
|
||||
unsigned int frequency;
|
||||
|
||||
Demodulator test_demod;
|
||||
|
||||
// event table
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user