Merge pull request #720 from diizy/master

Initial implementation for two additional methods in AutomatableModel, A...
This commit is contained in:
Tobias Doerffel
2014-05-18 15:15:49 +02:00
4 changed files with 112 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
#include "JournallingObject.h"
#include "Model.h"
#include "MidiTime.h"
// simple way to map a property of a view to a model
@@ -239,6 +240,7 @@ public:
return m_hasLinkedModels;
}
float globalAutomationValueAt( const MidiTime& time );
public slots:
virtual void reset();

View File

@@ -152,6 +152,7 @@ public:
static bool isAutomated( const AutomatableModel * _m );
static QVector<AutomationPattern *> patternsForModel( const AutomatableModel * _m );
static AutomationPattern * globalAutomationPattern( AutomatableModel * _m );
static void resolveAllIDs();