diff options
| author | hachem <im@hachem.wtf> | 2026-08-23 17:21:37 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-23 17:21:37 +0200 |
| commit | 3fd33ecff7472e4d6fc9e6b3905f56982e497ef2 (patch) | |
| tree | 66e5812f1a18b926e88a0dd549fe14e7c7327165 /src/core/window.h | |
| parent | e3aa33fc9a99d8b817bda42a567a4c347e18ab32 (diff) | |
[feat]: complete RHI api
Diffstat (limited to 'src/core/window.h')
| -rw-r--r-- | src/core/window.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/window.h b/src/core/window.h index 9b7d7b9..b8b59c5 100644 --- a/src/core/window.h +++ b/src/core/window.h @@ -4,7 +4,6 @@ #include "log.h" #include <GLFW/glfw3.h> -#include <imgui.h> #include <string> @@ -38,17 +37,10 @@ namespace Donut auto is_cursor_locked() const -> bool { return m_cursor_locked; } auto is_cursor_visible() const -> bool { return m_cursor_visible; } - auto init_im_gui() -> void; - auto begin_im_gui_frame() -> void; - auto end_im_gui_frame() -> void; - private: auto init() -> void; auto shutdown() -> void; - auto setup_im_gui_fonts() -> void; - auto shutdown_im_gui() -> void; - static auto glfw_error_callback(int error, const char* description) -> void; static auto glfw_window_close_callback(GLFWwindow* window) -> void; static auto glfw_window_size_callback(GLFWwindow* window, int width, int height) -> void; @@ -70,9 +62,5 @@ 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; }; } |
