mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-06 07:50:00 +01:00
Add icons on info and warning Logs
This commit is contained in:
4
Log.cpp
4
Log.cpp
@@ -177,7 +177,7 @@ void Log::Notify(const char* fmt, ...)
|
||||
notifications_timeout = 0.f;
|
||||
|
||||
// always log
|
||||
Log::Info("%s", buf.c_str());
|
||||
Log::Info(ICON_FA_INFO_CIRCLE " %s", buf.c_str());
|
||||
}
|
||||
|
||||
void Log::Warning(const char* fmt, ...)
|
||||
@@ -193,7 +193,7 @@ void Log::Warning(const char* fmt, ...)
|
||||
warnings.push_back(buf.c_str());
|
||||
|
||||
// always log
|
||||
Log::Info("Warning - %s\n", buf.c_str());
|
||||
Log::Info(ICON_FA_EXCLAMATION_TRIANGLE " Warning - %s", buf.c_str());
|
||||
}
|
||||
|
||||
void Log::Render(bool *showWarnings)
|
||||
|
||||
Reference in New Issue
Block a user