New : implementation of Log::Notify. Displays the message as a

notification on top of the screen before logging.
This commit is contained in:
brunoherbelin
2020-05-19 00:05:30 +02:00
parent e3e212d11b
commit b86b76fa54
5 changed files with 105 additions and 27 deletions

3
Log.h
View File

@@ -5,13 +5,14 @@ namespace Log
{
// log
void Info(const char* fmt, ...);
void Notify(const char* fmt, ...);
void Warning(const char* fmt, ...);
void Error(const char* fmt, ...);
// Draw logs
void ShowLogWindow(bool* p_open = nullptr);
void Render();
void Render(bool showNofitications = true, bool showWarnings = true);
}
#endif // __LOG_H_