diff options
Diffstat (limited to 'src/core/window.h')
| -rw-r--r-- | src/core/window.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/window.h b/src/core/window.h index 96678f8..8b0945f 100644 --- a/src/core/window.h +++ b/src/core/window.h @@ -4,6 +4,8 @@ #include "log.h" #include <GLFW/glfw3.h> +#include <imgui.h> + #include <string> namespace Donut @@ -42,6 +44,9 @@ namespace Donut private: void init(); void shutdown(); + + void setup_im_gui_fonts(); + void apply_im_gui_theme(); void shutdown_im_gui(); static void glfw_error_callback(int error, const char* description); @@ -64,5 +69,9 @@ namespace Donut bool m_is_closed; bool m_cursor_locked = false; bool m_cursor_visible = true; + + ImFont* m_main_font = nullptr; + ImFont* m_small_font = nullptr; + ImFont* m_large_font = nullptr; }; } |
