summaryrefslogtreecommitdiff
path: root/include/rune
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-11-07 00:37:21 -0600
committerDanny Holman <dholman@gymli.org>2024-11-07 00:37:21 -0600
commit8b3cd02761887a80f440d55e46e1d47def48d962 (patch)
tree23d50e56fb17304b60c3400fcd5b33ebf721b242 /include/rune
parent57e837822bd5dc5a1bc491968b3ab483c9c04535 (diff)
ui: rename window.h to app_window.h
Rename the main window definition files to app_window. This should differentiate it from a future window class that is part of the engine UI. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/rune')
-rw-r--r--include/rune/ui/app_window.h (renamed from include/rune/ui/window.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rune/ui/window.h b/include/rune/ui/app_window.h
index bd12fb9..f2dfc77 100644
--- a/include/rune/ui/window.h
+++ b/include/rune/ui/app_window.h
@@ -19,8 +19,8 @@
* 3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef RUNE_UI_WINDOW_H
-#define RUNE_UI_WINDOW_H
+#ifndef RUNE_UI_APP_WINDOW_H
+#define RUNE_UI_APP_WINDOW_H
#include <rune/util/types.h>
#include <GLFW/glfw3.h>
@@ -32,7 +32,7 @@ struct rune_window {
GLFWwindow *window;
};
-RAPI struct rune_window* rune_init_window(uint32_t width, uint32_t height, const char *title);
+RAPI struct rune_window* rune_init_window(void);
RAPI void rune_destroy_window(struct rune_window *window);
#endif