73 std::unique_ptr<RndLoader> mBonusLoader;
void Unload() override
Release the bonus picture with the last unload of the panel.
void Load() override
Start loading the bonus picture of mSong with the first load of the panel.
void SetSong(const char *pszSong)
Definition bonuspicpanel.h:67
BonusPicPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description, with no song.
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition bonuspicpanel.h:46
~BonusPicPanel() override=default
Destroy the object.
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqPanel(DataArray *pData, const char *pszDir)
Construct a panel from its script description.
UIPanel(DataArray *pData, const char *pszDir)
Construct a hidden panel from its script description.