summaryrefslogtreecommitdiffhomepage
path: root/src/internal/gdi/gdi.h
blob: f68c29233958de8fa4ffec623e16939eec3e5882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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