unused var, comment cleanup

This commit is contained in:
Charles J. Cliffe 2015-08-03 02:12:11 -04:00
parent 2cff389d6b
commit 00713c0259
3 changed files with 1 additions and 24 deletions

View File

@ -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));

View File

@ -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;

View File

@ -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;
} }