mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
New : implementation of Log::Notify. Displays the message as a
notification on top of the screen before logging.
This commit is contained in:
3
Log.h
3
Log.h
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user