summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-09-17 12:08:21 +0000
committerCarl Hetherington <carl@carlh.net>2012-09-17 12:08:21 +0000
commit2373c48da627724b3ebf3021a3bda1b49b44078f (patch)
tree7aa09ebae70e543d59d17c98047add7cf3f80ae5 /gtk2_ardour/editor_cursors.cc
parent87017d581af48565a57e8aac29f90c17c278eab2 (diff)
Revert shade on playhead cursor (SVN 13048).
git-svn-id: svn://localhost/ardour2/branches/3.0@13192 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_cursors.cc')
-rw-r--r--gtk2_ardour/editor_cursors.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc
index 0d88c1cdbc..ccacda210f 100644
--- a/gtk2_ardour/editor_cursors.cc
+++ b/gtk2_ardour/editor_cursors.cc
@@ -22,8 +22,6 @@
#include <libgnomecanvas/libgnomecanvas.h>
-#include "gtkmm2ext/rgb_macros.h"
-
#include "utils.h"
#include "editor_cursors.h"
#include "editor.h"
@@ -34,7 +32,6 @@ using namespace Gtk;
EditorCursor::EditorCursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,ArdourCanvas::Item*))
: editor (ed),
- shade (*editor.cursor_group),
canvas_item (*editor.cursor_group),
length(1.0)
{
@@ -49,10 +46,6 @@ EditorCursor::EditorCursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,Ardour
canvas_item.property_arrow_shape_b() = 0.0;
canvas_item.property_arrow_shape_c() = 9.0;
- shade.property_points() = points;
- shade.property_width_pixels() = 7;
- shade.property_fill_color_rgba() = RGBA_TO_UINT (255, 255, 255, 75);
-
canvas_item.set_data ("cursor", this);
canvas_item.signal_event().connect (sigc::bind (sigc::mem_fun (ed, callbck), &canvas_item));
current_frame = 1; /* force redraw at 0 */
@@ -76,7 +69,6 @@ EditorCursor::set_position (framepos_t frame)
points.back().set_x (new_pos);
canvas_item.property_points() = points;
- shade.property_points() = points;
}
current_frame = frame;
}
@@ -87,7 +79,6 @@ EditorCursor::set_length (double units)
length = units;
points.back().set_y (points.front().get_y() + length);
canvas_item.property_points() = points;
- shade.property_points() = points;
}
void
@@ -96,5 +87,4 @@ EditorCursor::set_y_axis (double position)
points.front().set_y (position);
points.back().set_y (position + length);
canvas_item.property_points() = points;
- shade.property_points() = points;
}