49 return new PlayList(pData, pszPanel);
80 void SetSongs(
const std::vector<PlaylistSongData> &songs,
int nNumGroups);
93 const std::vector<PlaylistSongData> &
GetSongs()
const {
103 std::vector<PlaylistSongData> mSongs;
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqList(DataArray *pData, const char *pszPanel)
Construct the list from its script description.
void UpdateCursor() override
Move the cursor and show the picture of the selected entry.
void UpdateRow(int nRow, int nItem) override
Show the light and the name or the artist of an entry in a row.
const std::vector< PlaylistSongData > & GetSongs() const
Definition playlist.h:93
void ToggleSelected()
Turn the selected entry on or off.
static UIComponent * New(DataArray *pData, const char *pszPanel)
Create a list from its script description.
Definition playlist.h:48
void SetSongs(const std::vector< PlaylistSongData > &songs, int nNumGroups)
Replace the entries and keep the selection.
std::vector< PlaylistSongData > & GetSongs()
Definition playlist.h:98
PlayList(DataArray *pData, const char *pszPanel)
Construct a list from its script description.
~PlayList() override
Destroy the list.
Definition playlist.h:36
Growable text buffer that is also a PrnStream.
Definition string.h:19
UIComponent(DataArray *pData)
Construct a showing component in the normal state.
Definition uicomponent.h:37