FullscreenUI: Add notifications API

This commit is contained in:
Connor McLaughlin
2021-02-21 16:55:28 +10:00
parent 229ed5a852
commit 7e1fe166ee
4 changed files with 220 additions and 41 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include "common/types.h"
#include <string>
class CommonHostInterface;
class SettingsInterface;
@ -47,6 +48,8 @@ void CloseQuickMenu();
void Shutdown();
void Render();
bool InvalidateCachedTexture(const std::string& path);
// Returns true if the message has been dismissed.
bool DrawErrorWindow(const char* message);
bool DrawConfirmWindow(const char* message, bool* result);