#pragma once #include "imgui.h" #include namespace dragonx { namespace ui { struct ConsoleOutputFilter { std::string text; bool daemonMessagesEnabled = true; bool errorsOnly = false; bool rpcTraceEnabled = false; ImU32 daemonColor = 0; ImU32 errorColor = 0; ImU32 rpcTraceColor = 0; }; bool consoleLinePassesFilter(const std::string& lineText, ImU32 lineColor, const ConsoleOutputFilter& filter); } // namespace ui } // namespace dragonx