mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
OnScreenDisplay: Allow for different colored messages
This commit is contained in:
parent
92294bf8be
commit
9d5c6c55fe
2 changed files with 15 additions and 18 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue