aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-24 04:52:30 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-24 04:52:30 +0200
commit115630b520668304af1ccd3eb0b13c06e17ecccc (patch)
treee3949bd4fe36ae3b43c11d4e9ecd0bf523a6e910 /include/mgl/window
parent898b8c95f1f904307c02e978b57301cf1cb0560f (diff)
Add function to load image from memory, initialize window from an existing window, allow creating text without font/string
Diffstat (limited to 'include/mgl/window')
-rw-r--r--include/mgl/window/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h
index c1517da..c1542b4 100644
--- a/include/mgl/window/window.h
+++ b/include/mgl/window/window.h
@@ -20,6 +20,7 @@ struct mgl_window {
int mgl_window_create(mgl_window *self, const char *title, int width, int height);
/* 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, mgl_window_handle parent_window);
+int mgl_window_init_from_existing_window(mgl_window *self, mgl_window_handle existing_window);
void mgl_window_deinit(mgl_window *self);
void mgl_window_clear(mgl_window *self, mgl_color color);