Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.cpp @ 634:4fa3951bbb05 tonioni
different colours, some minor changes, mainly debugging cerrs
author | matthiasm |
---|---|
date | Fri, 19 Apr 2013 15:37:27 +0100 |
parents | 03d5f370c9a0 |
children | 5c9dcec5f3e9 |
comparison
equal
deleted
inserted
replaced
633:03d5f370c9a0 | 634:4fa3951bbb05 |
---|---|
53 m_model(0), | 53 m_model(0), |
54 m_editing(false), | 54 m_editing(false), |
55 m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")), | 55 m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")), |
56 m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")), | 56 m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")), |
57 m_editingCommand(0), | 57 m_editingCommand(0), |
58 m_verticalScale(MIDIRangeScale), | 58 m_verticalScale(AutoAlignScale), |
59 m_scaleMinimum(34), | 59 m_scaleMinimum(34), |
60 m_scaleMaximum(77) | 60 m_scaleMaximum(77) |
61 { | 61 { |
62 } | 62 } |
63 | 63 |
225 return false; | 225 return false; |
226 } | 226 } |
227 | 227 |
228 if (m_verticalScale == MIDIRangeScale) { | 228 if (m_verticalScale == MIDIRangeScale) { |
229 min = Pitch::getFrequencyForPitch(0); | 229 min = Pitch::getFrequencyForPitch(0); |
230 max = Pitch::getFrequencyForPitch(70); | 230 max = Pitch::getFrequencyForPitch(127); |
231 return true; | 231 return true; |
232 } | 232 } |
233 | 233 |
234 if (m_scaleMinimum == m_scaleMaximum) { | 234 if (m_scaleMinimum == m_scaleMaximum) { |
235 min = m_model->getValueMinimum(); | 235 min = m_model->getValueMinimum(); |