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
This commit is contained in:
Paul Davis 2009-09-09 02:09:04 +00:00
parent 1bf79fa885
commit 5328a114c9
14 changed files with 90 additions and 52 deletions

View file

@ -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) ;