comparison view/ViewManager.h @ 374:64e84e5efb76 spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 4f4f38a11cd2
children
comparison
equal deleted inserted replaced
332:6440e280122e 374:64e84e5efb76
67 67
68 // Only meaningful in solo mode, and used for optional alignment feature 68 // Only meaningful in solo mode, and used for optional alignment feature
69 Model *getPlaybackModel() const; 69 Model *getPlaybackModel() const;
70 void setPlaybackModel(Model *); 70 void setPlaybackModel(Model *);
71 71
72 size_t alignPlaybackFrameToReference(size_t) const;
73 size_t alignReferenceToPlaybackFrame(size_t) const;
74
72 bool haveInProgressSelection() const; 75 bool haveInProgressSelection() const;
73 const Selection &getInProgressSelection(bool &exclusive) const; 76 const Selection &getInProgressSelection(bool &exclusive) const;
74 void setInProgressSelection(const Selection &selection, bool exclusive); 77 void setInProgressSelection(const Selection &selection, bool exclusive);
75 void clearInProgressSelection(); 78 void clearInProgressSelection();
76 79
96 enum ToolMode { 99 enum ToolMode {
97 NavigateMode, 100 NavigateMode,
98 SelectMode, 101 SelectMode,
99 EditMode, 102 EditMode,
100 DrawMode, 103 DrawMode,
104 EraseMode,
101 MeasureMode 105 MeasureMode
102 }; 106 };
103 ToolMode getToolMode() const { return m_toolMode; } 107 ToolMode getToolMode() const { return m_toolMode; }
104 void setToolMode(ToolMode mode); 108 void setToolMode(ToolMode mode);
105 109