summaryrefslogtreecommitdiffhomepage
path: root/src/internal/gdi/gdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/gdi/gdi.h')
-rw-r--r--src/internal/gdi/gdi.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/internal/gdi/gdi.h b/src/internal/gdi/gdi.h
new file mode 100644
index 0000000..f68c292
--- /dev/null
+++ b/src/internal/gdi/gdi.h
@@ -0,0 +1,23 @@
+#ifndef GDI_H
+#define GDI_H
+
+#include <psxtypes/psxtypes.h>
+#include "gdi_window.h"
+#include "gdi_system.h"
+
+typedef struct _gdi_vtbl {
+ gdi_get_system_metrics * get_system_metrics;
+ gdi_is_iconic * is_iconic;
+ gdi_is_zoomed * is_zoomed;
+ gdi_peek_message_utf16 * peek_message;
+ gdi_move_window * move_window;
+ gdi_set_window_pos * set_window_pos;
+ gdi_get_window_rect * get_window_rect;
+ gdi_get_client_rect * get_client_rect;
+ gdi_get_desktop_window * get_desktop_window;
+ gdi_set_window_long_ptr_utf16 * set_window_long_ptr;
+} gdi_vtbl;
+
+int32_t __fastcall gdi_vtbl_init(gdi_vtbl *);
+
+#endif