From 4e71509218bbaad75a9106505129e1976d251b82 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Sat, 18 Aug 2012 21:58:14 -0700 Subject: [PATCH] Fix obsolete TODOs --- src/spek-spectrogram.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/spek-spectrogram.cc b/src/spek-spectrogram.cc index 01f9c94..d6d369f 100644 --- 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.