Optimize theme usage in editor log

This commit is contained in:
kobewi
2022-08-11 12:48:43 +02:00
parent e9e9e92e48
commit be0de927c7
2 changed files with 21 additions and 5 deletions

View File

@ -67,6 +67,16 @@ private:
}
};
struct {
Color error_color;
Ref<Texture2D> error_icon;
Color warning_color;
Ref<Texture2D> warning_icon;
Color message_color;
} theme_cache;
// Encapsulates all data and functionality regarding filters.
struct LogFilter {
private: