summaryrefslogtreecommitdiff
path: root/gtk2_ardour/meter_strip.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-05 15:39:22 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-05 16:33:01 -0400
commit384d05dd35191077f3c2e6a5b6547f627aa0b68f (patch)
treee7876235190ccda1b433535caee1b39a9069c840 /gtk2_ardour/meter_strip.h
parent2aeb33989e2ad46a5ac00df166cce66aed922150 (diff)
change AxisView color API to be virtual and implement per-type variants
Diffstat (limited to 'gtk2_ardour/meter_strip.h')
-rw-r--r--gtk2_ardour/meter_strip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/meter_strip.h b/gtk2_ardour/meter_strip.h
index dfeb406976..fc9b61edb1 100644
--- a/gtk2_ardour/meter_strip.h
+++ b/gtk2_ardour/meter_strip.h
@@ -43,13 +43,16 @@ namespace Gtk {
class Style;
}
-class MeterStrip : public Gtk::VBox, public RouteUI
+class MeterStrip : public Gtk::VBox, public AxisView, public RouteUI
{
public:
MeterStrip (ARDOUR::Session*, boost::shared_ptr<ARDOUR::Route>);
MeterStrip (int, ARDOUR::MeterType);
~MeterStrip ();
+ std::string name() const;
+ Gdk::Color color () const;
+
void set_session (ARDOUR::Session* s);
void fast_update ();
boost::shared_ptr<ARDOUR::Route> route() { return _route; }