remove all unit-based methods from (Public)Editor; rationalize Editor::event_frame...
[ardour.git] / gtk2_ardour / editor_videotimeline.cc
index e1adb6c8b6faa35f9d30e71ef18bdb63810b6890..4951a4e35a7707e5688d54fb1313f26c554d55ff 100644 (file)
@@ -58,8 +58,8 @@ Editor::update_video_timeline (bool flush)
 #if DEBUG
        framepos_t rightmost_frame = leftmost_frame + current_page_frames();
        std::cout << "VIDEO SCROLL: " << leftmost_frame << " -- " << rightmost_frame << std::endl;
-       std::cout << "SCROLL UNITS: " << frame_to_unit(leftmost_frame) << " -- " << frame_to_unit(rightmost_frame)
-                 << " = " << frame_to_unit(rightmost_frame) - frame_to_unit(leftmost_frame)
+       std::cout << "SCROLL UNITS: " << frame_to_pixel(leftmost_frame) << " -- " << frame_to_pixel(rightmost_frame)
+                 << " = " << frame_to_pixel(rightmost_frame) - frame_to_pixel(leftmost_frame)
                        << std::endl;
 #endif