CommonHost: Fix volume hotkeys

This commit is contained in:
Connor McLaughlin
2022-08-04 21:20:26 +10:00
parent 49b4e1f0a6
commit 679f1a51db
3 changed files with 25 additions and 15 deletions

View File

@ -87,6 +87,7 @@ float GetOSDScale();
/// Adds OSD messages, duration is in seconds.
void AddOSDMessage(std::string message, float duration = 2.0f);
void AddKeyedOSDMessage(std::string key, std::string message, float duration = 2.0f);
void AddIconOSDMessage(std::string key, const char* icon, std::string message, float duration = 2.0f);
void AddFormattedOSDMessage(float duration, const char* format, ...);
void AddKeyedFormattedOSDMessage(std::string key, float duration, const char* format, ...);
void RemoveKeyedOSDMessage(std::string key);