Logo Search packages:      
Sourcecode: cadencii version File versions  Download package

void org::kbinani::cadencii::FormMain::copyTrackCore (  ) [inline]

トラック全体のコピーを行います。

Definition at line 6024 of file FormMain.cs.

References org::kbinani::cadencii::AppManager::editHistory, org::kbinani::cadencii::VsqFileEx::generateCommandAddTrack(), org::kbinani::vsq::VsqTrack::getName(), org::kbinani::cadencii::AppManager::getSelected(), org::kbinani::cadencii::AppManager::getVsqFile(), org::kbinani::cadencii::AppManager::mMixerWindow, org::kbinani::cadencii::EditHistoryModel::register(), org::kbinani::vsq::VsqTrack::setName(), org::kbinani::vsq::VsqMixer::Slave, org::kbinani::vsq::VsqFile::Track, and org::kbinani::cadencii::FormMixer::updateStatus().

        {
            VsqFileEx vsq = AppManager.getVsqFile();
            int selected = AppManager.getSelected();
            VsqTrack track = (VsqTrack)vsq.Track.get( selected ).clone();
            track.setName( track.getName() + " (1)" );
            CadenciiCommand run = VsqFileEx.generateCommandAddTrack( track,
                                                                     vsq.Mixer.Slave.get( selected - 1 ),
                                                                     vsq.Track.size(),
                                                                     vsq.AttachedCurves.get( selected - 1 ) ); ;
            AppManager.editHistory.register( vsq.executeCommand( run ) );
            setEdited( true );
            AppManager.mMixerWindow.updateStatus();
            refreshScreen();
        }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index