60 void Exit(
bool bForce,
float fTime)
override;
69 void Poll(
float fTime)
override;
93 void SetBandPicture(
const char *pszSong,
bool bSmall,
bool bUnlocked,
bool bEncrypted);
117 return mPictureReady;
122 return mPictureShowing;
Reference-counted array of script data nodes.
Definition dataarray.h:20
Path of a file, kept relative to a shared root directory.
Definition filepath.h:14
FreqPanel(DataArray *pData, const char *pszDir)
Construct a panel from its script description.
Triangle mesh with a material.
Definition rndmesh.h:31
void Poll(float fTime) override
Advance the panel, and place a picture that finished loading on the picture mesh.
int GetPictureShowing() const
Definition songpicpanel.h:121
int GetPictureReady() const
Definition songpicpanel.h:116
void Exit(bool bForce, float fTime) override
Start the exit and release the picture.
SongPicPanel(DataArray *pData, const char *pszDir)
Construct a panel from its script description, with no picture.
void SetArenaPicture(const char *pszArena)
Start loading the picture of an arena, Metagame\image<arena>_band.bmp.
void SetPictureShowing(bool bShowing)
Show or hide the picture mesh.
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition songpicpanel.h:48
void FinishLoad() override
Finish the load, and find and hide the picture mesh <name>.mesh.
void SetBandPicture(const char *pszSong, bool bSmall, bool bUnlocked, bool bEncrypted)
Start loading the picture of a song's band.
~SongPicPanel() override=default
Destroy the object.
UIPanel(DataArray *pData, const char *pszDir)
Construct a hidden panel from its script description.