summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-08-05 15:42:06 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-08-05 15:42:06 -0500
commit16ca4e0f9a4ffc87e8e572b8d69767648c2170ae (patch)
tree1ff9d225e598e4ed7c2379e1a870b9cce1f4d59f /libs/evoral/evoral/ControlList.hpp
parent45afed5e9a38e50030c9f82f81f60a1bb883e867 (diff)
Initial steps towards usable range-based automation editing.
TODO: needs undo. only works in top quarter of automation lane. selection model feels weird sometimes. needs to show gain curve when you are using Range tool
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index e66cbe2253..debd4989e0 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -121,7 +121,9 @@ public:
virtual bool clamp_value (double& /*when*/, double& /*value*/) const { return true; }
- virtual void add (double when, double value, bool with_guards=true);
+ virtual void add (double when, double value, bool with_guards=true);
+ virtual void editor_add (double when, double value);
+
void fast_simple_add (double when, double value);
void erase_range (double start, double end);