change how ScreenOptionsToggleSongs works.

Now the main page (ScreenOptionsToggleSongs) has the groups, and a sub-page (ScreenOptionsToggleSongsSubPage) holds all the songs in a specific group.
This commit is contained in:
AJ Kelly
2011-02-26 15:11:41 -06:00
parent 2af90136f0
commit 30f9215aef
4 changed files with 91 additions and 3 deletions
+19
View File
@@ -4,11 +4,30 @@
#include "ScreenOptions.h"
#include "Song.h"
// Can this be done any better? -aj
namespace ToggleSongs
{
RString m_sGroup;
}
class ScreenOptionsToggleSongs: public ScreenOptions
{
public:
virtual void BeginScreen();
private:
virtual void ImportOptions( int row, const vector<PlayerNumber> &vpns );
virtual void ExportOptions( int row, const vector<PlayerNumber> &vpns );
virtual void ProcessMenuStart( const InputEventPlus &input );
vector<RString> m_asGroups;
};
class ScreenOptionsToggleSongsSubPage: public ScreenOptions
{
public:
virtual void BeginScreen();
private:
virtual void ImportOptions( int row, const vector<PlayerNumber> &vpns );
virtual void ExportOptions( int row, const vector<PlayerNumber> &vpns );