#include "Cubed/debug_collector.hpp" #include "Cubed/tools/system_info.hpp" #include "version.hpp" namespace Cubed { DebugCollector::DebugCollector() : m_widget(nullptr) {} DebugCollector& DebugCollector::get() { static DebugCollector instance; return instance; } void DebugCollector::init(int width, int height) { constexpr int SPACE = 50; // version_text m_widget.set_window_size(width, height); auto& version_text = m_widget.add_child