mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-30 07:38:39 -05:00
unused var, comment cleanup
This commit is contained in:
parent
2cff389d6b
commit
00713c0259
@ -27,7 +27,7 @@ EVT_MOUSEWHEEL(SpectrumCanvas::OnMouseWheelMoved)
|
|||||||
wxEND_EVENT_TABLE()
|
wxEND_EVENT_TABLE()
|
||||||
|
|
||||||
SpectrumCanvas::SpectrumCanvas(wxWindow *parent, int *attribList) :
|
SpectrumCanvas::SpectrumCanvas(wxWindow *parent, int *attribList) :
|
||||||
InteractiveCanvas(parent, attribList), fft_size(0), waterfallCanvas(NULL), trackingRate(0) {
|
InteractiveCanvas(parent, attribList), waterfallCanvas(NULL) {
|
||||||
|
|
||||||
glContext = new SpectrumContext(this, &wxGetApp().GetContext(this));
|
glContext = new SpectrumContext(this, &wxGetApp().GetContext(this));
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ public:
|
|||||||
std::vector<float> spectrum_points;
|
std::vector<float> spectrum_points;
|
||||||
|
|
||||||
SpectrumCanvas(wxWindow *parent, int *attribList = NULL);
|
SpectrumCanvas(wxWindow *parent, int *attribList = NULL);
|
||||||
// void setup(int fft_size_in);
|
|
||||||
~SpectrumCanvas();
|
~SpectrumCanvas();
|
||||||
|
|
||||||
void attachWaterfallCanvas(WaterfallCanvas *canvas_in);
|
void attachWaterfallCanvas(WaterfallCanvas *canvas_in);
|
||||||
@ -40,20 +39,8 @@ private:
|
|||||||
void OnMouseReleased(wxMouseEvent& event);
|
void OnMouseReleased(wxMouseEvent& event);
|
||||||
void OnMouseLeftWindow(wxMouseEvent& event);
|
void OnMouseLeftWindow(wxMouseEvent& event);
|
||||||
|
|
||||||
// fftwf_complex *in, *out;
|
|
||||||
// fftwf_plan plan;
|
|
||||||
//
|
|
||||||
// float fft_ceil_ma, fft_ceil_maa;
|
|
||||||
// float fft_floor_ma, fft_floor_maa;
|
|
||||||
//
|
|
||||||
// std::vector<float> fft_result;
|
|
||||||
// std::vector<float> fft_result_ma;
|
|
||||||
// std::vector<float> fft_result_maa;
|
|
||||||
|
|
||||||
SpectrumContext *glContext;
|
SpectrumContext *glContext;
|
||||||
WaterfallCanvas *waterfallCanvas;
|
WaterfallCanvas *waterfallCanvas;
|
||||||
int fft_size;
|
|
||||||
int trackingRate;
|
|
||||||
|
|
||||||
SpectrumVisualDataQueue visualDataQueue;
|
SpectrumVisualDataQueue visualDataQueue;
|
||||||
|
|
||||||
|
@ -717,16 +717,6 @@ void WaterfallCanvas::OnMouseRightReleased(wxMouseEvent& event) {
|
|||||||
mouseZoom = 1.0;
|
mouseZoom = 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
//bool WaterfallCanvas::isPolling() {
|
|
||||||
// return polling;
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//void WaterfallCanvas::setPolling(bool polling) {
|
|
||||||
// this->polling = polling;
|
|
||||||
//}
|
|
||||||
|
|
||||||
SpectrumVisualDataQueue *WaterfallCanvas::getVisualDataQueue() {
|
SpectrumVisualDataQueue *WaterfallCanvas::getVisualDataQueue() {
|
||||||
return &visualDataQueue;
|
return &visualDataQueue;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user