CommonHostInterface: Add enumerator for OSD messages

This commit is contained in:
Connor McLaughlin
2021-01-30 15:45:18 +10:00
parent 96a36f4850
commit 556cd6d168
2 changed files with 35 additions and 0 deletions

View File

@ -130,6 +130,7 @@ public:
/// Adds OSD messages, duration is in seconds.
void AddOSDMessage(std::string message, float duration = 2.0f) override;
bool EnumerateOSDMessages(std::function<bool(const std::string&, float)> callback);
void ClearOSDMessages();
/// Displays a loading screen with the logo, rendered with ImGui. Use when executing possibly-time-consuming tasks