limit width and resize meterbride window
[ardour.git] / gtk2_ardour / control_point.h
index 2dbf225d86d2d519d3b0fb8c1acc177a4fd92912..0c2bf1e01d6d7682ebda600ee4bcda6b790d8fe5 100644 (file)
@@ -68,7 +68,7 @@ class ControlPoint : public Selectable
        double size () const {
                return _size;
        }
-       
+
        void set_size (double);
        void set_visible (bool);
        bool visible () const;
@@ -83,21 +83,21 @@ 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;
-
-       AutomationLine& _line;
-
+       ArdourCanvas::SimpleRect*        _item;
+       AutomationLine&                  _line;
        ARDOUR::AutomationList::iterator _model;
-       uint32_t _view_index;
-       bool     _can_slide;
+       uint32_t                         _view_index;
+       bool                             _can_slide;
+       double                           _x;
+       double                           _y;
+       double                           _size;
+       ShapeType                        _shape;
 
        virtual bool event_handler (GdkEvent*);
 
-       double    _x;
-       double    _y;
-       double    _size;
-       ShapeType _shape;
 };