load custom imgui theme

This commit is contained in:
2025-08-19 17:26:29 +02:00
parent cd33ea28dc
commit 53d2e3cf6b
3 changed files with 97 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include <td/misc/Format.h>
#include <td/misc/Log.h>
#include <td/display/ImGuiTheme.h>
namespace td {
@@ -127,6 +128,7 @@ Display::Display(int a_Width, int a_Height, const std::string& a_Title) :
// Setup Platform/Renderer backends
ImGui_ImplSDL3_InitForOpenGL(m_Window, m_GLContext);
ImGui_ImplOpenGL3_Init("#version 330");
LoadTheme();
}
void Display::Close() {