- ControlPoint (AutomationLine& al, sigc::slot<bool,GdkEvent*,ControlPoint*>);
- ControlPoint (const ControlPoint&, bool dummy_arg_to_force_special_copy_constructor);
- ~ControlPoint ();
-
- enum ShapeType {
- Full,
- Start,
- End
- };
-
- void move_to (double x, double y, ShapeType);
- void reset (double x, double y, ARDOUR::AutomationList::iterator, uint32_t, ShapeType);
- double get_x() const { return _x; }
- double get_y() const { return _y; }
-
- void hide ();
- void show ();
- void show_color (bool entered, bool hide_too);
-
- void set_size (double);
- void set_visible (bool);
-
- Gnome::Canvas::SimpleRect* item;
- AutomationLine& line;
- uint32_t view_index;
- ARDOUR::AutomationList::iterator model;
- bool can_slide;
- bool selected;
-
- private:
- double _x;
- double _y;
- double _size;
- ShapeType _shape;
-};
-
-class AutomationLine : public sigc::trackable
-{
- public:
- AutomationLine (string name, TimeAxisView&, Gnome::Canvas::Group&, ARDOUR::AutomationList&,
- sigc::slot<bool,GdkEvent*,ControlPoint*>, sigc::slot<bool,GdkEvent*,AutomationLine*>);
-
+ AutomationLine (const std::string& name, TimeAxisView&, ArdourCanvas::Group&,
+ boost::shared_ptr<ARDOUR::AutomationList>,
+ Evoral::TimeConverter<double, ARDOUR::framepos_t>* converter = 0);