summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_cursors.h')
-rw-r--r--gtk2_ardour/editor_cursors.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_cursors.h b/gtk2_ardour/editor_cursors.h
index b5c228a54a..2e2c654bd1 100644
--- a/gtk2_ardour/editor_cursors.h
+++ b/gtk2_ardour/editor_cursors.h
@@ -21,12 +21,13 @@
class Editor;
-struct EditorCursor {
- Editor& editor;
- ArdourCanvas::Points points;
- ArdourCanvas::Line canvas_item;
+class EditorCursor {
+public:
+ Editor& editor;
+ ArdourCanvas::Points points;
+ ArdourCanvas::Line canvas_item;
framepos_t current_frame;
- double length;
+ double length;
EditorCursor (Editor&, bool (Editor::*)(GdkEvent*,ArdourCanvas::Item*));
~EditorCursor ();
@@ -35,5 +36,5 @@ struct EditorCursor {
void set_length (double units);
void set_y_axis (double position);
- PBD::Signal1<void, framepos_t> PositionChanged;
+ PBD::Signal1<void, framepos_t> PositionChanged;
};