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

Method changeLength

src/core/Track.cpp:164–169  ·  view source on GitHub ↗

! \brief Change the length of this TrackContentObject * * If the track content object's length has chaanged, update it. We * also add a journal entry for undo and update the display. * * \param _length The new length of the track content object. */

Source from the content-addressed store, hash-verified

162 * \param _length The new length of the track content object.
163 */
164void TrackContentObject::changeLength( const MidiTime & length )
165{
166 m_length = length;
167 Engine::getSong()->updateLength();
168 emit lengthChanged();
169}
170
171bool TrackContentObject::comparePosition(const TrackContentObject *a, const TrackContentObject *b)
172{

Callers 7

mouseMoveEventMethod · 0.45
changePositionMethod · 0.45
createTCOsForBBMethod · 0.45
testLengthRespectedMethod · 0.45
testInlineAutomationMethod · 0.45
testBBTrackMethod · 0.45
smfMidiCCClass · 0.45

Calls 2

getSongFunction · 0.85
updateLengthMethod · 0.45

Tested by 3

testLengthRespectedMethod · 0.36
testInlineAutomationMethod · 0.36
testBBTrackMethod · 0.36