25 #include "canvas/rectangle.h"
47 _item->set_fill (
true);
50 _item->set_data (
"control_point",
this);
72 _item->set_fill (
true);
108 return _item->visible ();
143 double half_size = rint(
_size/2.0);
160 _item->set (ArdourCanvas::Rect (x1, y - half_size, x2, y + half_size));
ArdourCanvas::Container & canvas_group() const
boost::shared_ptr< ARDOUR::AutomationList > the_list() const
void reset(double x, double y, ARDOUR::AutomationList::iterator, uint32_t, ShapeType)
void move_to(double x, double y, ShapeType)
static PBD::Signal1< void, ControlPoint * > CatchDeletion
virtual bool canvas_control_point_event(GdkEvent *event, ArdourCanvas::Item *, ControlPoint *)=0
ControlPoint(AutomationLine &al)
ArdourCanvas::Item & item() const
virtual bool event_handler(GdkEvent *)
ARDOUR::AutomationList::iterator _model
static PublicEditor & instance()
static UIConfiguration * config()
ArdourCanvas::Rectangle * _item
LIBARDOUR_API PBD::PropertyDescriptor< bool > color