Removed last usage of checkmark XPMs.
[ardour.git] / gtk2_ardour / axis_view.h
index 5fc6917b7497dffdbbffe1bfa8cb0028e66cb751..38deece11a0da2b4a2ebf0c68ee8225648577eb9 100644 (file)
 #define __ardour_gtk_axis_view_h__
 
 #include <list>
-#include <gtk--.h>
+
+#include <gtkmm/label.h>
+#include <gdkmm/color.h>
+
 #include <pbd/xml++.h>
 #include "prompter.h"
 
@@ -34,7 +37,7 @@ namespace ARDOUR {
  * AxisView defines the abstract base class for time-axis trackviews and routes.
  *
  */
-class AxisView : public SigC::Object
+class AxisView : public virtual sigc::trackable
 {
   public:
        /**
@@ -42,7 +45,7 @@ class AxisView : public SigC::Object
         *
         * @return the current Track Color
         */
-       Gdk_Color color() const { return _color; }
+       Gdk::Color color() const { return _color; }
 
        ARDOUR::Session& session() const { return _session; }
 
@@ -63,8 +66,8 @@ class AxisView : public SigC::Object
        }
        
        virtual bool selected() const { return _selected; }
-       SigC::Signal0<void> Hiding;
-       SigC::Signal0<void> GoingAway;
+       sigc::signal<void> Hiding;
+       sigc::signal<void> GoingAway;
 
   protected:
 
@@ -77,13 +80,13 @@ class AxisView : public SigC::Object
         *
         * @return the unique random color.
         */
-       static GdkColor unique_random_color();
+       static Gdk::Color unique_random_color();
 
 
        ARDOUR::Session& _session;
-       Gdk_Color _color;
+       Gdk::Color _color;
 
-       static list<GdkColor> used_colors;
+       static list<Gdk::Color> used_colors;
 
        Gtk::Label name_label;