r228@gwythaint (orig r768): fugalh | 2006-08-09 08:14:55 -0600
[ardour.git] / gtk2_ardour / marker_view.h
index fdd70ffb000e6a5106e2952ead87a41d1e1e4ce2..da45b33dd9fbd266b121314a7aa28e812fdcf901 100644 (file)
 #define __gtk_ardour_marker_view_h__
 
 #include <string>
-#include <gtk--.h>
-#include <gtk-canvas.h>
 #include "time_axis_view_item.h"
 
+#include "canvas.h"
+
+namespace Gdk {
+       class Color;
+}
+
 class MarkerTimeAxisView ;
 class ImageFrameView ;
 
@@ -54,11 +58,11 @@ class MarkerView : public TimeAxisViewItem
                 * @param start the start time of this item
                 * @param duration the duration of this item
                 */
-               MarkerView(GtkCanvasGroup *parent,
+                 MarkerView(ArdourCanvas::Group *parent,
                        TimeAxisView *tv,
                        ImageFrameView* marked,
                        double spu,
-                       GdkColor& base_color,
+                       Gdk::Color& base_color,
                        std::string mark_type,
                        std::string mark_id,
                        jack_nframes_t start,
@@ -70,7 +74,7 @@ class MarkerView : public TimeAxisViewItem
                 */
                ~MarkerView() ;
                
-               static SigC::Signal1<void,MarkerView*> GoingAway;
+               static sigc::signal<void,MarkerView*> GoingAway;
                
                //---------------------------------------------------------------------------------------//
                // Marker Type Methods
@@ -112,10 +116,10 @@ class MarkerView : public TimeAxisViewItem
                // Emitted Signals
                
                /** Emitted when the mark type text is changed */
-               SigC::Signal2<void,std::string,void*> MarkTypeChanged ;
+               sigc::signal<void,std::string,void*> MarkTypeChanged ;
                
                /** Emitted when the Marked Item is changed */
-               SigC::Signal2<void,ImageFrameView*,void*> MarkedItemChanged ;
+               sigc::signal<void,ImageFrameView*,void*> MarkedItemChanged ;
 
                
        protected: