X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_line.h;h=3a283621956bca20059af4a18aa0ce657348ebaa;hb=cf136a59ba12dbf8c8da5f7db6b884a68149c9de;hp=a05a7b918058b493def596db721c278c5f9d5d1c;hpb=a97d522a4fa5ea96a638a9ce54a056d77fbd0128;p=ardour.git diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index a05a7b9180..3a28362195 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -66,8 +66,8 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible void reset (); void clear (); - std::list point_selection_to_control_points (PointSelection const &); - void set_selected_points (PointSelection&); + std::list point_selection_to_control_points (PointSelection const &); + void set_selected_points (PointSelection const &); void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list&); void get_inverted_selectables (Selection&, std::list& results); @@ -147,7 +147,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible void set_offset (ARDOUR::framecnt_t); void set_width (ARDOUR::framecnt_t); - + protected: std::string _name; @@ -182,7 +182,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible static void invalidate_point (ALPoints&, uint32_t index); static bool invalid_point (ALPoints&, uint32_t index); - void determine_visible_control_points (ALPoints&); + void determine_visible_control_points (ALPoints &, int); void sync_model_with_view_point (ControlPoint&, bool, int64_t); void sync_model_with_view_points (std::list, bool, int64_t); void start_drag_common (double, float); @@ -234,7 +234,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible /** 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; - + friend class AudioRegionGainLine; };