diff options
author | David Robillard <d@drobilla.net> | 2014-11-02 01:29:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-02 02:10:24 -0500 |
commit | 47c4929bc285da6d752e68aa5a32cf73f20b9f22 (patch) | |
tree | 60dfd783c1aff7e70a1772a3344758b41abf6cf8 /gtk2_ardour/automation_line.h | |
parent | 8a128b33d38172ae525ac798c53bc105bc4e2c64 (diff) |
Display gain and midiNote plugin parameters/properties nicely.
Show fancy values on generic GUI controls, automation lane controls, and automation lane verbose cursor.
Fix text display of midiNote values.
Make bigstep of midiNote parameters 12 (one octave).
Add ARDOUR::value_as_string() as a stateless one-stop-shop for value printing.
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 02c67d0dcf..a18f93d9ae 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -34,6 +34,7 @@ #include "pbd/memento_command.h" #include "ardour/automation_list.h" +#include "ardour/parameter_descriptor.h" #include "ardour/types.h" #include "canvas/types.h" @@ -64,6 +65,7 @@ public: TimeAxisView& tv, ArdourCanvas::Item& parent, boost::shared_ptr<ARDOUR::AutomationList> al, + const ARDOUR::ParameterDescriptor& desc, Evoral::TimeConverter<double, ARDOUR::framepos_t>* converter = 0); virtual ~AutomationLine (); @@ -234,6 +236,8 @@ private: /** maximum time that a point on this line can be at, relative to the position of its region or start of its track */ ARDOUR::framecnt_t _maximum_time; + const ARDOUR::ParameterDescriptor _desc; + friend class AudioRegionGainLine; }; |