2018-11-08 20:58:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-05-22 16:29:39 +00:00
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-06 00:31:51 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
struct gfx_config {
|
|
|
|
bool enable;
|
|
|
|
bool windowed;
|
|
|
|
bool framed;
|
2020-05-19 20:09:38 +00:00
|
|
|
int monitor;
|
2019-11-06 00:31:51 +00:00
|
|
|
};
|
2019-10-19 21:04:34 +00:00
|
|
|
|
2021-05-22 16:29:39 +00:00
|
|
|
void gfx_hook_init(const struct gfx_config *cfg, HINSTANCE self);
|
2021-10-25 09:16:14 +00:00
|
|
|
|
|
|
|
HRESULT gfx_frame_window(HWND hwnd);
|