comparison base/View.cpp @ 45:b11edc8b8ea0

* Restore proper channel selection support for new layers * Use binary mode for SV file I/O on Windows * Commands for selection
author Chris Cannam
date Wed, 15 Mar 2006 18:11:23 +0000
parents 701404725897
children 5364a9d338a2
comparison
equal deleted inserted replaced
44:701404725897 45:b11edc8b8ea0
53 53
54 View::~View() 54 View::~View()
55 { 55 {
56 std::cerr << "View::~View(" << this << ")" << std::endl; 56 std::cerr << "View::~View(" << this << ")" << std::endl;
57 57
58 //!!! will want to _not_ delete layers
59
60 m_deleting = true; 58 m_deleting = true;
61 /*!!!
62 for (LayerList::iterator i = m_layers.begin(); i != m_layers.end(); ++i) {
63 delete *i;
64 }
65 */
66 delete m_propertyContainer; 59 delete m_propertyContainer;
67 } 60 }
68 61
69 PropertyContainer::PropertyList 62 PropertyContainer::PropertyList
70 View::getProperties() const 63 View::getProperties() const
472 void 465 void
473 View::setFollowGlobalZoom(bool f) 466 View::setFollowGlobalZoom(bool f)
474 { 467 {
475 m_followZoom = f; 468 m_followZoom = f;
476 emit propertyContainerPropertyChanged(m_propertyContainer); 469 emit propertyContainerPropertyChanged(m_propertyContainer);
470 }
471
472 void
473 View::drawVisibleText(int x, int y, QString text, TextStyle style)
474 {
475 //!!! blah.
477 } 476 }
478 477
479 void 478 void
480 View::setPlaybackFollow(PlaybackFollowMode m) 479 View::setPlaybackFollow(PlaybackFollowMode m)
481 { 480 {