Brought back visual indication of delete dragging.
[ardour.git] / gtk2_ardour / editor_cursors.cc
index 2353481daf1305e530cda2aad2955469a2cf7894..239d27d4f98dd413358e755f9100cc016c083117 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <cstdlib>
@@ -31,7 +30,7 @@ using namespace ARDOUR;
 using namespace PBD;
 using namespace Gtk;
 
-Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck)(GdkEvent*,ArdourCanvas::Item*))
+Editor::Cursor::Cursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,ArdourCanvas::Item*))
        : editor (ed),
          canvas_item (*editor.cursor_group),
          length(1.0)
@@ -43,7 +42,6 @@ Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck)
        points.push_back(Gnome::Art::Point(1.0, 0.0));
 
        canvas_item.property_points() = points;
-       canvas_item.property_fill_color() = color; //.c_str());
        canvas_item.property_width_pixels() = 1;
        canvas_item.property_first_arrowhead() = TRUE;
        canvas_item.property_last_arrowhead() = TRUE;
@@ -63,7 +61,7 @@ Editor::Cursor::~Cursor ()
 }
 
 void
-Editor::Cursor::set_position (jack_nframes_t frame)
+Editor::Cursor::set_position (nframes_t frame)
 {
        double new_pos =  editor.frame_to_unit (frame);