Mercurial > hg > svcore
comparison base/ViewManager.h @ 42:7bf163161b88
* more MainWindow/Document stuff
author | Chris Cannam |
---|---|
date | Wed, 08 Mar 2006 17:47:58 +0000 |
parents | b2d1a61ab916 |
children | b11edc8b8ea0 |
comparison
equal
deleted
inserted
replaced
41:2b6412c1e724 | 42:7bf163161b88 |
---|---|
82 | 82 |
83 bool getPlaySelectionMode() const { return m_playSelectionMode; } | 83 bool getPlaySelectionMode() const { return m_playSelectionMode; } |
84 void setPlaySelectionMode(bool on); | 84 void setPlaySelectionMode(bool on); |
85 | 85 |
86 size_t getPlaybackSampleRate() const; | 86 size_t getPlaybackSampleRate() const; |
87 size_t getMainModelSampleRate() const { return m_mainModelSampleRate; } | |
88 void setMainModelSampleRate(size_t sr) { m_mainModelSampleRate = sr; } | |
87 | 89 |
88 signals: | 90 signals: |
89 /** Emitted when a widget pans. The originator identifies the widget. */ | 91 /** Emitted when a widget pans. The originator identifies the widget. */ |
90 void centreFrameChanged(void *originator, unsigned long frame, bool locked); | 92 void centreFrameChanged(void *originator, unsigned long frame, bool locked); |
91 | 93 |
122 protected: | 124 protected: |
123 AudioPlaySource *m_playSource; | 125 AudioPlaySource *m_playSource; |
124 unsigned long m_globalCentreFrame; | 126 unsigned long m_globalCentreFrame; |
125 unsigned long m_globalZoom; | 127 unsigned long m_globalZoom; |
126 mutable unsigned long m_playbackFrame; | 128 mutable unsigned long m_playbackFrame; |
129 size_t m_mainModelSampleRate; | |
127 | 130 |
128 float m_lastLeft; | 131 float m_lastLeft; |
129 float m_lastRight; | 132 float m_lastRight; |
130 | 133 |
131 MultiSelection m_selections; | 134 MultiSelection m_selections; |