hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/window.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-23 17:21:37 +0200
committerhachem <im@hachem.wtf>2026-08-23 17:21:37 +0200
commita76180aaf4e38a1623a93586800e0f3e54d58c1b (patch)
tree99d16d1fd074b112a92fbb4ad9ff3ba543b453d3 /src/core/window.h
parentb72762fd3fa3735c12146e8c702f03000317db6f (diff)
feat: complete RHI api
Diffstat (limited to 'src/core/window.h')
-rw-r--r--src/core/window.h12
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;
};
}