change AxisView color API to be virtual and implement per-type variants
[ardour.git] / gtk2_ardour / axis_view.h
index 3f7e8236c50fc6e84dc87b40a71e4b63e79f5cec..75a5f7d42186cfd882320b6b9fc621bf791d7714 100644 (file)
@@ -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;