Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 394:592d692b4f8b
* A bit more work on the data editor
author | Chris Cannam |
---|---|
date | Wed, 11 Jun 2008 12:54:18 +0000 |
parents | e1a9e478b7f2 |
children | 80e279e4f9fe |
comparison
equal
deleted
inserted
replaced
393:6671eb37d6d6 | 394:592d692b4f8b |
---|---|
472 ViewManager::viewCentreFrameChanged(unsigned long f, bool locked, | 472 ViewManager::viewCentreFrameChanged(unsigned long f, bool locked, |
473 PlaybackFollowMode mode) | 473 PlaybackFollowMode mode) |
474 { | 474 { |
475 View *v = dynamic_cast<View *>(sender()); | 475 View *v = dynamic_cast<View *>(sender()); |
476 | 476 |
477 std::cerr << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << std::endl; | |
478 | |
477 if (locked) { | 479 if (locked) { |
478 m_globalCentreFrame = f; | 480 m_globalCentreFrame = f; |
479 emit globalCentreFrameChanged(f); | 481 emit globalCentreFrameChanged(f); |
480 } else { | 482 } else { |
481 if (v) emit viewCentreFrameChanged(v, f); | 483 if (v) emit viewCentreFrameChanged(v, f); |