mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
OnScreenDisplay: Allow for different colored messages
This commit is contained in:
@ -11,8 +11,8 @@
|
||||
|
||||
namespace OSD
|
||||
{
|
||||
// On-screen message display
|
||||
void AddMessage(const std::string& str, u32 ms = 2000);
|
||||
// On-screen message display (colored yellow by default)
|
||||
void AddMessage(const std::string& str, u32 ms = 2000, u32 rgba = 0xFFFFFF30);
|
||||
void DrawMessages(); // draw the current messages on the screen. Only call once per frame.
|
||||
void ClearMessages();
|
||||
|
||||
|
Reference in New Issue
Block a user