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

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

ソングポジションを1小節進めます

Definition at line 4258 of file FormMain.cs.

References org::kbinani::cadencii::AppManager::editorConfig, org::kbinani::cadencii::AppManager::getCurrentClock(), org::kbinani::cadencii::QuantizeModeUtil::getQuantizeClock(), org::kbinani::cadencii::AppManager::getVsqFile(), org::kbinani::cadencii::AppManager::isPlaying(), org::kbinani::cadencii::AppManager::keyWidth, org::kbinani::cadencii::AppManager::setCurrentClock(), and org::kbinani::cadencii::AppManager::setPlaying().

        {
            boolean playing = AppManager.isPlaying();
            if ( playing ) {
                return;
            }
            VsqFileEx vsq = AppManager.getVsqFile();
            if ( vsq == null ) {
                return;
            }
            int cl_clock = AppManager.getCurrentClock();
            int unit = QuantizeModeUtil.getQuantizeClock(
                AppManager.editorConfig.getPositionQuantize(),
                AppManager.editorConfig.isPositionQuantizeTriplet() );
            int cl_new = doQuantize( cl_clock + unit, unit );

            if ( cl_new <= hScroll.getMaximum() + (pictPianoRoll.getWidth() - AppManager.keyWidth) * controller.getScaleXInv() ) {
                // 表示の更新など
                AppManager.setCurrentClock( cl_new );

                // ステップ入力時の処理
                updateNoteLengthStepSequencer();

                ensureCursorVisible();
                AppManager.setPlaying( playing, this );
                refreshScreen();
            }
        }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index