fix comment
[ardour.git] / gtk2_ardour / control_point.h
index 603d062ec40273cf1b3e73a5412b87885d4a7fdf..1a7a1f22b8ebe154f9874d4f8e9f54f4315925cf 100644 (file)
 #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;
@@ -36,11 +35,9 @@ class AutomationTimeAxisView;
 class Selectable;
 class Selection;
 
-namespace Gnome {
-       namespace Canvas {
-               class SimpleRect;
-               class Diamond;
-       }
+namespace ArdourCanvas {
+       class Rectangle;
+       class Diamond;
 }
 
 class ControlPoint : public Selectable
@@ -83,8 +80,10 @@ 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;