From f949a0aafe9825b8209c3a9d139a7bf5e22a7897 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 01:41:19 +0200 Subject: [add]: Custom UI Font --- src/Core/Window.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Core/Window.h') diff --git a/src/Core/Window.h b/src/Core/Window.h index 26df099..3afd52f 100644 --- a/src/Core/Window.h +++ b/src/Core/Window.h @@ -4,6 +4,8 @@ #include "Log.h" #include +#include + #include namespace Donut @@ -42,6 +44,9 @@ namespace Donut private: void Init(); void Shutdown(); + + void SetupImGuiFonts(); + void ApplyImGuiTheme(); void ShutdownImGui(); static void GLFWErrorCallback(int error, const char* description); @@ -64,5 +69,9 @@ namespace Donut bool m_IsClosed; bool m_CursorLocked = false; bool m_CursorVisible = true; + + ImFont* m_MainFont = nullptr; + ImFont* m_SmallFont = nullptr; + ImFont* m_LargeFont = nullptr; }; } \ No newline at end of file -- cgit v1.3