cleanup
This commit is contained in:
@@ -54,7 +54,7 @@ static ThemeMetric<apActorCommands> ROW_VALUE_ON_COMMAND("EditMenu","RowValueOnC
|
|||||||
static ThemeMetric1D<float> ROW_Y ("EditMenu",ROW_Y_NAME,NUM_EDIT_MENU_ROWS);
|
static ThemeMetric1D<float> ROW_Y ("EditMenu",ROW_Y_NAME,NUM_EDIT_MENU_ROWS);
|
||||||
|
|
||||||
|
|
||||||
static void GetSongsToShowForGroup( const CString &sGroup, vector<Song*> &vpSongsOut )
|
void EditMenu::GetSongsToShowForGroup( const CString &sGroup, vector<Song*> &vpSongsOut )
|
||||||
{
|
{
|
||||||
vpSongsOut.clear();
|
vpSongsOut.clear();
|
||||||
SONGMAN->GetSongs( vpSongsOut, sGroup );
|
SONGMAN->GetSongs( vpSongsOut, sGroup );
|
||||||
@@ -76,7 +76,8 @@ static void GetSongsToShowForGroup( const CString &sGroup, vector<Song*> &vpSong
|
|||||||
}
|
}
|
||||||
SongUtil::SortSongPointerArrayByTitle( vpSongsOut );
|
SongUtil::SortSongPointerArrayByTitle( vpSongsOut );
|
||||||
}
|
}
|
||||||
static void GetGroupsToShow( vector<CString> &vsGroupsOut )
|
|
||||||
|
void EditMenu::GetGroupsToShow( vector<CString> &vsGroupsOut )
|
||||||
{
|
{
|
||||||
vsGroupsOut.clear();
|
vsGroupsOut.clear();
|
||||||
SONGMAN->GetSongGroupNames( vsGroupsOut );
|
SONGMAN->GetSongGroupNames( vsGroupsOut );
|
||||||
|
|||||||
@@ -71,6 +71,9 @@ public:
|
|||||||
EditMenuRow GetSelectedRow() const { return m_SelectedRow; }
|
EditMenuRow GetSelectedRow() const { return m_SelectedRow; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
void GetSongsToShowForGroup( const CString &sGroup, vector<Song*> &vpSongsOut );
|
||||||
|
void GetGroupsToShow( vector<CString> &vsGroupsOut );
|
||||||
|
|
||||||
void UpdateArrows();
|
void UpdateArrows();
|
||||||
Sprite m_sprArrows[NUM_ARROWS];
|
Sprite m_sprArrows[NUM_ARROWS];
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,9 @@ private:
|
|||||||
|
|
||||||
void RefreshExplanationText();
|
void RefreshExplanationText();
|
||||||
void RefreshNumStepsLoadedFromProfile();
|
void RefreshNumStepsLoadedFromProfile();
|
||||||
public:
|
|
||||||
EditMenu m_Selector;
|
EditMenu m_Selector;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BitmapText m_textExplanation;
|
BitmapText m_textExplanation;
|
||||||
BitmapText m_textNumStepsLoadedFromProfile;
|
BitmapText m_textNumStepsLoadedFromProfile;
|
||||||
|
|||||||
Reference in New Issue
Block a user