add canvas-based Meter object
[ardour.git] / gtk2_ardour / time_axis_view.h
index 2ad221495207db60dee646a06755818377f9769f..f33379e4d63bc2660150b1d5a69f11d24721bf49 100644 (file)
@@ -186,7 +186,7 @@ class TimeAxisView : public virtual AxisView
        virtual bool paste (ARDOUR::framepos_t pos,
                            const Selection&   selection,
                            PasteContext&      ctx,
-                           const int32_t& sub_num) { return false; }
+                           const int32_t sub_num) { return false; }
 
        virtual void set_selected_regionviews (RegionSelection&) {}
        virtual void set_selected_points (PointSelection&) {}
@@ -219,8 +219,6 @@ class TimeAxisView : public virtual AxisView
        typedef std::vector<boost::shared_ptr<TimeAxisView> > Children;
        Children get_child_list ();
 
-       SelectionRect* get_selection_rect(uint32_t id);
-
        static uint32_t preset_height (Height);
 
        protected:
@@ -320,6 +318,8 @@ class TimeAxisView : public virtual AxisView
        static uint32_t extra_height;
        static int const _max_order;
 
+       SelectionRect* get_selection_rect(uint32_t id);
+
        void compute_heights ();
        bool maybe_set_cursor (int y);