mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 06:05:47 -04:00
HostInterface: Add keyed OSD messages
This commit is contained in:
@ -77,6 +77,13 @@ void RegTestHostInterface::AddOSDMessage(std::string message, float duration /*=
|
||||
Log_InfoPrintf("OSD: %s", message.c_str());
|
||||
}
|
||||
|
||||
void RegTestHostInterface::AddKeyedOSDMessage(std::string key, std::string message, float duration /* = 2.0f */)
|
||||
{
|
||||
Log_InfoPrintf("OSD: %s", message.c_str());
|
||||
}
|
||||
|
||||
void RegTestHostInterface::RemoveKeyedOSDMessage(std::string key) {}
|
||||
|
||||
void RegTestHostInterface::DisplayLoadingScreen(const char* message, int progress_min /*= -1*/,
|
||||
int progress_max /*= -1*/, int progress_value /*= -1*/)
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ public:
|
||||
bool ConfirmMessage(const char* message) override;
|
||||
|
||||
void AddOSDMessage(std::string message, float duration = 2.0f) override;
|
||||
void AddKeyedOSDMessage(std::string key, std::string message, float duration = 2.0f) override;
|
||||
void RemoveKeyedOSDMessage(std::string key) override;
|
||||
void DisplayLoadingScreen(const char* message, int progress_min = -1, int progress_max = -1,
|
||||
int progress_value = -1) override;
|
||||
void GetGameInfo(const char* path, CDImage* image, std::string* code, std::string* title) override;
|
||||
|
Reference in New Issue
Block a user