aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h (renamed from include/mgl/window.h)3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgl/window.h b/include/mgl/window/window.h
index 0184577..5232260 100644
--- a/include/mgl/window.h
+++ b/include/mgl/window/window.h
@@ -1,7 +1,7 @@
#ifndef MGL_WINDOW_H
#define MGL_WINDOW_H
-#include "system/vec.h"
+#include "../system/vec.h"
typedef struct mgl_window mgl_window;
@@ -18,6 +18,7 @@ struct mgl_window {
};
int mgl_window_create(mgl_window *self, const char *title, int width, int height, mgl_window_callback *callback);
+/* if |parent_window| is 0 then the root window is used */
int mgl_window_create_with_params(mgl_window *self, const char *title, int width, int height, unsigned long parent_window, mgl_window_callback *callback);
void mgl_window_deinit(mgl_window *self);