TrackContentWidget: fixed background tile pixmap updating

The background tile pixmap used to draw the background of
TrackContentWidgets was only updated on size changes but not on
changes of zoom level in according editor. Fix this by updating
background pixmaps in trackContainerView::setPixelsPerTact().
This commit is contained in:
Tobias Doerffel
2009-12-07 01:38:17 +01:00
parent f82a25c3a2
commit d7ae99a5e8
3 changed files with 71 additions and 50 deletions

View File

@@ -232,6 +232,9 @@ public:
trackContentWidget( trackView * _parent );
virtual ~trackContentWidget();
/*! \brief Updates the background tile pixmap. */
void updateBackground();
void addTCOView( trackContentObjectView * _tcov );
void removeTCOView( trackContentObjectView * _tcov );
void removeTCOView( int _tco_num )