change Metric element of a Canvas::Ruler item into a pointer internally
[ardour.git] / libs / canvas / canvas / canvas.h
index b14f20b69c0e13bafab72e0f9c1418beef5ce9dc..c3ab322b67cf12079c277743c424650151d69f8d 100644 (file)
@@ -135,6 +135,11 @@ public:
         std::string indent() const;
         std::string render_indent() const;
         void dump (std::ostream&) const;
+
+       /** Ask the canvas to pick the current item again, and generate
+           an enter event for it.
+       */
+       virtual void re_enter () = 0;
     
 protected:
        void queue_draw_item_area (Item *, Rect);
@@ -169,6 +174,8 @@ public:
 
        bool get_mouse_position (Duple& winpos) const;
 
+       void re_enter ();
+
 protected:
        bool on_scroll_event (GdkEventScroll *);
        bool on_expose_event (GdkEventExpose *);