diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-09 02:09:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-09 02:09:04 +0000 |
commit | 5328a114c93f14178a5d5b97d7a6b95ea007552e (patch) | |
tree | 6088a761d83fe6e18529000735cf725c031e9519 /gtk2_ardour/imageframe_view.cc | |
parent | 1bf79fa88502a156a71cd3d2de35aa234950c40c (diff) |
time line items now have 64 bit location + duration; start making note resize apply across regions
git-svn-id: svn://localhost/ardour2/branches/3.0@5642 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/imageframe_view.cc')
-rw-r--r-- | gtk2_ardour/imageframe_view.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/imageframe_view.cc b/gtk2_ardour/imageframe_view.cc index 2a419ee275..0b3b01dcba 100644 --- a/gtk2_ardour/imageframe_view.cc +++ b/gtk2_ardour/imageframe_view.cc @@ -168,9 +168,9 @@ ImageFrameView::~ImageFrameView() * @return true if the position change was a success, false otherwise */ bool -ImageFrameView::set_position(nframes_t pos, void* src, double* delta) +ImageFrameView::set_position(nframes64_t pos, void* src, double* delta) { - nframes_t old_pos = frame_position ; + nframes64_t old_pos = frame_position ; // do the standard stuff bool ret = TimeAxisViewItem::set_position(pos, src, delta) ; @@ -182,7 +182,7 @@ ImageFrameView::set_position(nframes_t pos, void* src, double* delta) { // calculate the offset of the marker MarkerView* mv = (MarkerView*)*i ; - nframes_t marker_old_pos = mv->get_position() ; + nframes64_t marker_old_pos = mv->get_position() ; mv->set_position(pos + (marker_old_pos - old_pos), src) ; } @@ -199,7 +199,7 @@ ImageFrameView::set_position(nframes_t pos, void* src, double* delta) * @return true if the duration change was succesful, false otherwise */ bool -ImageFrameView::set_duration(nframes_t dur, void* src) +ImageFrameView::set_duration(nframes64_t dur, void* src) { /* do the standard stuff */ bool ret = TimeAxisViewItem::set_duration(dur, src) ; |