Use a button in the processor box for toggle parameters.
[ardour.git] / gtk2_ardour / streamview.h
index 3268519534194eb9530455bdc4f129b72880f562..349b380d9f645378e04b466a25c4082312a53e19 100644 (file)
@@ -74,8 +74,8 @@ public:
        gdouble     get_samples_per_unit () { return _samples_per_unit; }
        virtual void horizontal_position_changed () {}
 
-        virtual void enter_internal_edit_mode () {}
-        virtual void leave_internal_edit_mode () {}
+        virtual void enter_internal_edit_mode ();
+        virtual void leave_internal_edit_mode ();
 
        void set_layer_display (LayerDisplay);
        LayerDisplay layer_display () const { return _layer_display; }
@@ -89,7 +89,7 @@ public:
        };
 
        Gdk::Color get_region_color () const { return region_color; }
-       void       apply_color (Gdk::Color&, ColorTarget t);
+       void       apply_color (Gdk::Color, ColorTarget t);
 
        uint32_t     num_selected_regionviews () const;
 
@@ -117,6 +117,8 @@ public:
        }
 
        void check_record_layers (boost::shared_ptr<ARDOUR::Region>, ARDOUR::framepos_t);
+
+       virtual void playlist_layered (boost::weak_ptr<ARDOUR::Track>);
        
        sigc::signal<void, RegionView*> RegionViewAdded;
        sigc::signal<void> RegionViewRemoved;
@@ -141,7 +143,6 @@ protected:
        void         layer_regions ();
 
        virtual void playlist_switched (boost::weak_ptr<ARDOUR::Track>);
-       virtual void playlist_layered (boost::weak_ptr<ARDOUR::Track>);
 
        virtual void color_handler () = 0;
 
@@ -182,7 +183,7 @@ protected:
        */
        framepos_t _new_rec_layer_time;
        void setup_new_rec_layer_time (boost::shared_ptr<ARDOUR::Region>);
-       
+
 private:
        void update_coverage_frames ();
 };