|
From: Lasse Kärkkäi. <tr...@us...> - 2011-02-01 16:03:44
|
Module: editor Branch: master Commit: 16ee31b7bbc6bbcc2e8cc0058b018b4e4e6fa5f3 Author: Lasse Karkkainen <tro...@tr...> Date: Tue Feb 1 16:49:35 2011 +0100 Remove pixel dimensions and conversion functions from PitchVis in favor of doing all that in NoteGraphWidget. A lot of related cleanup and some other changes. Notice: n2px and px2n functions no longer compensate m_noteHalfHeight automatically, also notes are floating-point instead of integers. --- notegraphwidget.cc | 44 ++++++++++++++++++++---------------------- notegraphwidget.hh | 6 ++-- notelabel.cc | 4 +- pitch.hh | 1 + pitchvis.cc | 54 ++++++++++++++++++++++++--------------------------- pitchvis.hh | 20 ++++++------------ 6 files changed, 59 insertions(+), 70 deletions(-) |