Implement 1429 -- move to next and previous pattern

This commit is contained in:
Lee Avital
2015-01-04 17:58:18 -05:00
parent 1459be1a2c
commit 7da4efda0f
3 changed files with 47 additions and 0 deletions

View File

@@ -94,6 +94,10 @@ public:
void checkType();
// next/previous track based on position in the containing track
Pattern * previousPattern() const;
Pattern * nextPattern() const;
// settings-management
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
virtual void loadSettings( const QDomElement & _this );
@@ -137,6 +141,8 @@ private:
NoteVector m_notes;
int m_steps;
Pattern * adjacentPatternByOffset(int offset) const;
friend class PatternView;
friend class BBTrackContainerView;