X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmeter_strip.h;h=0e7232537de172bb733a237d307787c2b9e95555;hb=34da2896c636a18376f0da2da8c2732f52c99461;hp=fc9b61edb1876d22f102d0cec692f1aaf0c57d00;hpb=384d05dd35191077f3c2e6a5b6547f627aa0b68f;p=ardour.git diff --git a/gtk2_ardour/meter_strip.h b/gtk2_ardour/meter_strip.h index fc9b61edb1..0e7232537d 100644 --- a/gtk2_ardour/meter_strip.h +++ b/gtk2_ardour/meter_strip.h @@ -53,6 +53,8 @@ class MeterStrip : public Gtk::VBox, public AxisView, public RouteUI std::string name() const; Gdk::Color color () const; + boost::shared_ptr stripable() const { return RouteUI::stripable(); } + void set_session (ARDOUR::Session* s); void fast_update (); boost::shared_ptr route() { return _route; } @@ -75,6 +77,8 @@ class MeterStrip : public Gtk::VBox, public AxisView, public RouteUI bool is_metric_display() { return _strip_type == 0; } ARDOUR::MeterType meter_type(); + bool selected() const { return false; } + protected: boost::shared_ptr _route; PBD::ScopedConnectionList meter_route_connections; @@ -133,7 +137,7 @@ class MeterStrip : public Gtk::VBox, public AxisView, public RouteUI LevelMeterHBox *level_meter; - void strip_property_changed (const PBD::PropertyChange&); + void route_property_changed (const PBD::PropertyChange&); void meter_configuration_changed (ARDOUR::ChanCount); void meter_type_changed (ARDOUR::MeterType); void update_background (ARDOUR::MeterType);