diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 15:39:22 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 16:33:01 -0400 |
commit | 384d05dd35191077f3c2e6a5b6547f627aa0b68f (patch) | |
tree | e7876235190ccda1b433535caee1b39a9069c840 /gtk2_ardour/axis_view.h | |
parent | 2aeb33989e2ad46a5ac00df166cce66aed922150 (diff) |
change AxisView color API to be virtual and implement per-type variants
Diffstat (limited to 'gtk2_ardour/axis_view.h')
-rw-r--r-- | gtk2_ardour/axis_view.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/axis_view.h b/gtk2_ardour/axis_view.h index 3f7e8236c5..75a5f7d421 100644 --- a/gtk2_ardour/axis_view.h +++ b/gtk2_ardour/axis_view.h @@ -43,15 +43,13 @@ namespace ARDOUR { * AxisView defines the abstract base class for time-axis trackviews and routes. * */ -class AxisView : public virtual Selectable, public PBD::ScopedConnectionList, public ARDOUR::SessionHandlePtr +class AxisView : public virtual Selectable, public virtual PBD::ScopedConnectionList, public virtual ARDOUR::SessionHandlePtr { public: - /** @return the track's own color */ - Gdk::Color color () const { return _color; } - ARDOUR::Session* session() const { return _session; } virtual std::string name() const = 0; + virtual Gdk::Color color() const = 0; sigc::signal<void> Hiding; |