79 void SetSongs(
const std::vector<String> &songs,
int nChoiceCount);
92 std::vector<String> mSongs;
93 const char *mPicPanel;
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqList(DataArray *pData, const char *pszPanel)
Construct the list from its script description.
SongSelList(DataArray *pData, const char *pszPanel)
Construct the list from its script description, listing nothing.
~SongSelList() override=default
Destroy the object.
std::vector< String > & GetSongs()
Definition songsellist.h:87
void SetSongs(const std::vector< String > &songs, int nChoiceCount)
Replace the listed items and show them.
const std::vector< String > & GetSongs() const
Definition songsellist.h:82
void UpdateCursor() override
Move the cursor, and show the genre and the band picture of the selected song, or the label and the a...
static UIComponent * New(DataArray *pData, const char *pszPanel)
Create a list from its script description.
Definition songsellist.h:48
void UpdateRow(int nRow, int nItem) override
Fill a row with a choice, or with the short artist of a song.
UIComponent(DataArray *pData)
Construct a showing component in the normal state.
Definition uicomponent.h:37