spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 4e71509218bbaad75a9106505129e1976d251b82
parent 703ade32d78676ed30b68ca4c663c06686d10850
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Sat, 18 Aug 2012 21:58:14 -0700

Fix obsolete TODOs

Diffstat:
Msrc/spek-spectrogram.cc | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/spek-spectrogram.cc b/src/spek-spectrogram.cc @@ -174,7 +174,7 @@ void SpekSpectrogram::render(wxDC& dc) if (this->image.GetHeight() > 1) { // Draw the spectrogram. - wxBitmap bmp(this->image.Scale(w - LPAD - RPAD, h - TPAD - BPAD /*TODO:, wxIMAGE_QUALITY_HIGH*/)); + wxBitmap bmp(this->image.Scale(w - LPAD - RPAD, h - TPAD - BPAD)); dc.DrawBitmap(bmp, LPAD, TPAD); // File name. @@ -234,11 +234,10 @@ void SpekSpectrogram::render(wxDC& dc) } // Border around the spectrogram. - // TODO: check if this uses antialiasing dc.DrawRectangle(LPAD, TPAD, w - LPAD - RPAD, h - TPAD - BPAD); // The palette. - wxBitmap bmp(this->palette.Scale(RULER, h - TPAD - BPAD + 1 /*TODO:, wxIMAGE_QUALITY_HIGH*/)); + wxBitmap bmp(this->palette.Scale(RULER, h - TPAD - BPAD + 1)); dc.DrawBitmap(bmp, w - RPAD + GAP, TPAD); // Prepare to draw the ruler.