MCPcopy Create free account
hub / github.com/LMMS/lmms / setPixelsPerTact

Method setPixelsPerTact

src/gui/TrackContainerView.cpp:309–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307
308
309void TrackContainerView::setPixelsPerTact( int _ppt )
310{
311 m_ppt = _ppt;
312
313 // tell all TrackContentWidgets to update their background tile pixmap
314 for( trackViewList::Iterator it = m_trackViews.begin();
315 it != m_trackViews.end(); ++it )
316 {
317 ( *it )->getTrackContentWidget()->updateBackground();
318 }
319}
320
321
322

Callers 4

wheelEventMethod · 0.45
zoomingChangedMethod · 0.45
zoomingXChangedMethod · 0.45
zoomingChangedMethod · 0.45

Calls 4

updateBackgroundMethod · 0.80
getTrackContentWidgetMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected