Fix obsolete TODOs

This commit is contained in:
Alexander Kojevnikov 2012-08-18 21:58:14 -07:00
parent 703ade32d7
commit 4e71509218

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