Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 594:5fa210337bee integration_library
Merge from branch "sonification"
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Mon, 25 Jul 2011 18:56:28 +0100 |
parents | 707d43018f59 0946feb81b79 |
children |
comparison
equal
deleted
inserted
replaced
593:aaa3be825207 | 594:5fa210337bee |
---|---|
189 { | 189 { |
190 if (!m_playbackModel) return frame; | 190 if (!m_playbackModel) return frame; |
191 else return m_playbackModel->alignFromReference(frame); | 191 else return m_playbackModel->alignFromReference(frame); |
192 } | 192 } |
193 | 193 |
194 void | |
195 ViewManager::playExampleNote(int midiPitch) | |
196 { | |
197 m_playSource->queueExampleNote(midiPitch); | |
198 } | |
199 | |
194 bool | 200 bool |
195 ViewManager::haveInProgressSelection() const | 201 ViewManager::haveInProgressSelection() const |
196 { | 202 { |
197 return !m_inProgressSelection.isEmpty(); | 203 return !m_inProgressSelection.isEmpty(); |
198 } | 204 } |