Mercurial > hg > svcore
changeset 42:7bf163161b88
* more MainWindow/Document stuff
author | Chris Cannam |
---|---|
date | Wed, 08 Mar 2006 17:47:58 +0000 |
parents | 2b6412c1e724 |
children | b8aae4f883b7 |
files | base/ViewManager.cpp base/ViewManager.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/base/ViewManager.cpp Wed Mar 08 12:38:28 2006 +0000 +++ b/base/ViewManager.cpp Wed Mar 08 17:47:58 2006 +0000 @@ -20,6 +20,7 @@ m_globalCentreFrame(0), m_globalZoom(1024), m_playbackFrame(0), + m_mainModelSampleRate(0), m_lastLeft(0), m_lastRight(0), m_inProgressExclusive(true),
--- a/base/ViewManager.h Wed Mar 08 12:38:28 2006 +0000 +++ b/base/ViewManager.h Wed Mar 08 17:47:58 2006 +0000 @@ -84,6 +84,8 @@ void setPlaySelectionMode(bool on); size_t getPlaybackSampleRate() const; + size_t getMainModelSampleRate() const { return m_mainModelSampleRate; } + void setMainModelSampleRate(size_t sr) { m_mainModelSampleRate = sr; } signals: /** Emitted when a widget pans. The originator identifies the widget. */ @@ -124,6 +126,7 @@ unsigned long m_globalCentreFrame; unsigned long m_globalZoom; mutable unsigned long m_playbackFrame; + size_t m_mainModelSampleRate; float m_lastLeft; float m_lastRight;