Make menu option for speaker config the same as the window title.
[ardour.git] / gtk2_ardour / time_axis_view.h
index b376ba2aba735619d39256b11e20f6f4f7e1620f..6fd6865485481750d1022ccaf6fdba34d7cb496a 100644 (file)
@@ -98,6 +98,9 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
        /** @return maximum allowable value of order */
        static int max_order () { return _max_order; }
 
+        virtual void enter_internal_edit_mode () {}
+        virtual void leave_internal_edit_mode () {}
+
        ArdourCanvas::Group* canvas_display () { return _canvas_display; }
        ArdourCanvas::Group* canvas_background () { return _canvas_background; }
        ArdourCanvas::Group* ghost_group () { return _ghost_group; }
@@ -149,18 +152,12 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
        virtual void exited () {}
 
        virtual void set_height (uint32_t h);
-       void set_height (Height);
+       void set_height_enum (Height, bool apply_to_selection = false);
        void reset_height();
 
        std::pair<TimeAxisView*, ARDOUR::layer_t> covers_y_position (double);
 
-       /**
-        * Steps through the defined heights for this TrackView.
-        * Sets bigger to true to step up in size, set to fals eot step smaller.
-        *
-        * @param bigger true if stepping should increase in size, false otherwise
-        */
-       virtual void step_height (bool bigger);
+       virtual void step_height (bool);
 
        virtual ARDOUR::RouteGroup* route_group() const { return 0; }
        virtual boost::shared_ptr<ARDOUR::Playlist> playlist() const { return boost::shared_ptr<ARDOUR::Playlist> (); }
@@ -310,6 +307,9 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
 
        void conditionally_add_to_selection ();
 
+       void build_size_menu ();
+       Gtk::Menu* _size_menu;
+
        ArdourCanvas::Group* _canvas_display;
        double _y_position;
        PublicEditor& _editor;