HostInterface: Add keyed OSD messages

This commit is contained in:
Connor McLaughlin
2021-11-16 23:52:31 +10:00
parent c346dfe8a4
commit 7522304360
6 changed files with 64 additions and 7 deletions

View File

@@ -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*/)
{