#define __ardour_control_point_h__
#include <sys/types.h>
+#include <gdk/gdkevents.h>
#include "ardour/automation_list.h"
-#include "canvas.h"
-#include "simplerect.h"
#include "selectable.h"
class AutomationLine;
class Selectable;
class Selection;
-namespace Gnome {
- namespace Canvas {
- class SimpleRect;
- class Diamond;
- }
+namespace ArdourCanvas {
+ class Rectangle;
+ class Diamond;
}
class ControlPoint : public Selectable
ARDOUR::AutomationList::iterator model() const { return _model; }
AutomationLine& line() const { return _line; }
+ static PBD::Signal1<void, ControlPoint *> CatchDeletion;
+
private:
- ArdourCanvas::SimpleRect* _item;
+ ArdourCanvas::Rectangle* _item;
AutomationLine& _line;
ARDOUR::AutomationList::iterator _model;
uint32_t _view_index;