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

Method createTCOView

src/core/Track.cpp:2866–2874  ·  view source on GitHub ↗

! \brief Create a TrackContentObject View in this track View. * * \param tco the TrackContentObject to create the view for. * \todo is this a good description for what this method does? */

Source from the content-addressed store, hash-verified

2864 * \todo is this a good description for what this method does?
2865 */
2866void TrackView::createTCOView( TrackContentObject * tco )
2867{
2868 TrackContentObjectView * tv = tco->createView( this );
2869 if( tco->getSelectViewOnCreate() == true )
2870 {
2871 tv->setSelected( true );
2872 }
2873 tco->selectViewOnCreate( false );
2874}

Callers

nothing calls this directly

Calls 4

getSelectViewOnCreateMethod · 0.80
selectViewOnCreateMethod · 0.80
createViewMethod · 0.45
setSelectedMethod · 0.45

Tested by

no test coverage detected