projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change package names for i18n files, in an attempt to fix #4085
[ardour.git]
/
gtk2_ardour
/
editor_cursors.cc
diff --git
a/gtk2_ardour/editor_cursors.cc
b/gtk2_ardour/editor_cursors.cc
index b304b9cfc7fa5eaadbcd4e84104a3deac6958169..ccacda210f01484f5342e381e7248e34aeb0e423 100644
(file)
--- a/
gtk2_ardour/editor_cursors.cc
+++ b/
gtk2_ardour/editor_cursors.cc
@@
-23,9
+23,9
@@
#include <libgnomecanvas/libgnomecanvas.h>
#include "utils.h"
#include <libgnomecanvas/libgnomecanvas.h>
#include "utils.h"
+#include "editor_cursors.h"
#include "editor.h"
#include "editor.h"
-using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
@@
-57,7
+57,7
@@
EditorCursor::~EditorCursor ()
}
void
}
void
-EditorCursor::set_position (
nframes64
_t frame)
+EditorCursor::set_position (
framepos
_t frame)
{
PositionChanged (frame);
{
PositionChanged (frame);
@@
-84,7
+84,7
@@
EditorCursor::set_length (double units)
void
EditorCursor::set_y_axis (double position)
{
void
EditorCursor::set_y_axis (double position)
{
-
points.front().set_y (position);
+ points.front().set_y (position);
points.back().set_y (position + length);
canvas_item.property_points() = points;
}
points.back().set_y (position + length);
canvas_item.property_points() = points;
}