diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-23 14:36:21 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-23 14:36:21 -0500 |
commit | e85ff4dad26ef13b0351de0dfd92ce22022cd611 (patch) | |
tree | 59f29f3200418080ab8fcbf3c83e135349849f5d /libs/ardour/ardour/monitor_processor.h | |
parent | 1bbb60df5d44f426423c48fe9cddacf291520ab5 (diff) |
Cut and Copy should remember the white space at the end of a range.
This will be used when you paste with Ripple; it maintains the whitespace that you chose in the selection.
Also fix default setting of Dim contol by storing the default(normal) value for MPControl Controllables.
Diffstat (limited to 'libs/ardour/ardour/monitor_processor.h')
-rw-r--r-- | libs/ardour/ardour/monitor_processor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/monitor_processor.h b/libs/ardour/ardour/monitor_processor.h index 2fe108a427..39aaeca67f 100644 --- a/libs/ardour/ardour/monitor_processor.h +++ b/libs/ardour/ardour/monitor_processor.h @@ -46,6 +46,7 @@ public: MPControl (T initial, const std::string& name, PBD::Controllable::Flag flag, float lower = 0.0f, float upper = 1.0f) : PBD::Controllable (name, flag) + , _normal (initial) , _value (initial) , _lower (lower) , _upper (upper) @@ -76,6 +77,7 @@ public: double lower () const { return _lower; } double upper () const { return _upper; } + double normal () const { return _normal; } /* "access as T" API */ @@ -114,6 +116,7 @@ protected: T _value; T _lower; T _upper; + T _normal; }; class LIBARDOUR_API MonitorProcessor : public Processor |