make sure editor can follow visibility changes for VCAs
[ardour.git] / gtk2_ardour / automation_line.h
index 23fc17617a004bd9c8bb84a6d979130205159e23..816cefedef9a6260b2e226179178c3fb0b90b878 100644 (file)
@@ -60,7 +60,7 @@ public:
                ControlPoints = 0x2,
                SelectedControlPoints = 0x4
        };
-       
+
        AutomationLine (const std::string&                                 name,
                        TimeAxisView&                                      tv,
                        ArdourCanvas::Item&                                parent,
@@ -169,7 +169,7 @@ protected:
        bool _our_time_converter;
 
        VisibleAspects _visible;
+
        bool    _uses_gain_mapping;
        bool    terminal_points_can_slide;
        bool    update_pending;
@@ -202,12 +202,10 @@ private:
        typedef boost::shared_ptr<ContiguousControlPoints> CCP;
        std::vector<CCP> contiguous_points;
 
-       void sync_model_with_view_point (ControlPoint&);
-       void sync_model_with_view_points (std::list<ControlPoint*>);
+       bool sync_model_with_view_point (ControlPoint&);
+       bool sync_model_with_view_points (std::list<ControlPoint*>);
        void start_drag_common (double, float);
 
-       virtual void change_model (ARDOUR::AutomationList::iterator, double x, double y);
-
        void reset_callback (const Evoral::ControlList&);
        void list_changed ();