#include "editor_drag.h"
#include "midi_time_axis.h"
#include "editor_regions.h"
+#include "verbose_cursor.h"
#include "i18n.h"
}
}
last_track_height_step_timestamp = get_microseconds();
- current_stepping_trackview->step_height (true);
+ current_stepping_trackview->step_height (false);
return true;
} else {
scroll_tracks_up_line ();
}
}
last_track_height_step_timestamp = get_microseconds();
- current_stepping_trackview->step_height (false);
+ current_stepping_trackview->step_height (true);
return true;
} else {
scroll_tracks_down_line ();
bool
Editor::track_canvas_motion (GdkEvent *ev)
{
- if (verbose_cursor_visible) {
- verbose_canvas_cursor->property_x() = clamp_verbose_cursor_x (ev->motion.x + 10);
- verbose_canvas_cursor->property_y() = clamp_verbose_cursor_y (ev->motion.y + 10);
+ if (_verbose_cursor->visible ()) {
+ _verbose_cursor->set_position (ev->motion.x + 10, ev->motion.y + 10);
}
return false;
case GDK_LEAVE_NOTIFY:
set_entered_track (0);
break;
-
+
default:
break;
}
perspective. XXX change this ??
*/
- ItemType type;
+ ItemType type;
- if (item->get_data ("isleft")) {
- type = LeftFrameHandle;
- } else {
- type = RightFrameHandle;
- }
+ if (item->get_data ("isleft")) {
+ type = LeftFrameHandle;
+ } else {
+ type = RightFrameHandle;
+ }
switch (event->type) {
case GDK_BUTTON_PRESS:
break;
case GDK_MOTION_NOTIFY:
motion_handler (item, event);
- ret = true; // force this to avoid progagating the event into the regionview
+ ret = true; // force this to avoid progagating the event into the regionview
break;
case GDK_ENTER_NOTIFY:
set_entered_regionview (rv);