Set the toggled default metadata of parameters.
[ardour.git] / gtk2_ardour / automation_line.h
index 663310dc46c9d339e6433c219606c2e05c13847f..a18f93d9ae164ff742b095e836d528aada0f1afa 100644 (file)
@@ -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"
@@ -60,9 +61,13 @@ public:
                SelectedControlPoints = 0x4
        };
        
-       AutomationLine (const std::string& name, TimeAxisView&, ArdourCanvas::Item&,
-                       boost::shared_ptr<ARDOUR::AutomationList>,
+       AutomationLine (const std::string&                                 name,
+                       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 ();
 
        void queue_reset ();
@@ -231,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;
 };