aboutsummaryrefslogtreecommitdiff
path: root/app/include/dxwindow.h
diff options
context:
space:
mode:
authorMarc Sunet <marc.sunet@amd.com>2025-11-21 10:58:06 -0800
committerMarc Sunet <marc.sunet@amd.com>2025-11-21 10:58:06 -0800
commite39e9b5bf1fb28f321b01fa427e2a7c206195b2c (patch)
tree51d0f561e0373806466f965e41250386d3fb0828 /app/include/dxwindow.h
parent0b5491e0a2f1a9a4023e2c4eb171287bede41388 (diff)
Tidy
Diffstat (limited to 'app/include/dxwindow.h')
-rw-r--r--app/include/dxwindow.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/include/dxwindow.h b/app/include/dxwindow.h
index 7e5a373..14caa36 100644
--- a/app/include/dxwindow.h
+++ b/app/include/dxwindow.h
@@ -21,8 +21,17 @@ void window_global_quit();
21/// Return the last Window error. 21/// Return the last Window error.
22const char* window_get_error(); 22const char* window_get_error();
23 23
24/// Initialize the window.
24Window* window_init(int width, int height, const char* title); 25Window* window_init(int width, int height, const char* title);
26
27/// Destroy the window.
25void window_destroy(Window**); 28void window_destroy(Window**);
29
30/// Return the Windows handle.
26HWND window_handle(Window*); 31HWND window_handle(Window*);
32
33/// Update the window, poll for events.
27void window_update(Window*); 34void window_update(Window*);
35
36/// Return whether the user has requested that the window should be closed.
28bool window_should_close(const Window*); 37bool window_should_close(const Window*);