[editorKeysounds] Some of the menu code.
This commit is contained in:
@@ -5226,6 +5226,22 @@ static RString GetDeviceButtonsLocalized( const vector<EditButton> &veb, const M
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static LocalizedString TRACK_NUM("ScreenEdit", "Track %d");
|
||||||
|
|
||||||
|
void ScreenEdit::DoKeyboardTrackMenu()
|
||||||
|
{
|
||||||
|
g_KeysoundTrack.rows.clear();
|
||||||
|
int numKeysounds = m_pSong->m_vsKeysoundFile.size();
|
||||||
|
for (int i = 0; i < m_NoteDataEdit.GetNumTracks(); ++i)
|
||||||
|
{
|
||||||
|
const TapNote &tn = m_NoteDataEdit.GetTapNote(i, this->GetRow());
|
||||||
|
|
||||||
|
//MenuRowDef(i, ssprintf(TRACK_NUM.c_str(), i + 1), true, EditMode_Full, false, false,
|
||||||
|
}
|
||||||
|
|
||||||
|
EditMiniMenu(&g_KeysoundTrack);
|
||||||
|
}
|
||||||
|
|
||||||
void ScreenEdit::DoHelp()
|
void ScreenEdit::DoHelp()
|
||||||
{
|
{
|
||||||
g_EditHelp.rows.clear();
|
g_EditHelp.rows.clear();
|
||||||
|
|||||||
@@ -248,6 +248,9 @@ protected:
|
|||||||
float GetMaximumBeatForNewNote() const; // don't allow Down key to go past this beat.
|
float GetMaximumBeatForNewNote() const; // don't allow Down key to go past this beat.
|
||||||
float GetMaximumBeatForMoving() const; // don't allow Down key to go past this beat.
|
float GetMaximumBeatForMoving() const; // don't allow Down key to go past this beat.
|
||||||
|
|
||||||
|
/** @brief Display the keyboard track menu for the current row. */
|
||||||
|
void DoKeyboardTrackMenu();
|
||||||
|
|
||||||
void DoHelp();
|
void DoHelp();
|
||||||
|
|
||||||
/** @brief Display the TimingData menu for editing song and step timing. */
|
/** @brief Display the TimingData menu for editing song and step timing. */
|
||||||
|
|||||||
Reference in New Issue
Block a user