hooklib: Shift config structs around

This commit is contained in:
Tau 2019-11-05 19:31:51 -05:00
parent 8b8656c9d2
commit 8485879ff7
3 changed files with 9 additions and 6 deletions

View File

@ -5,6 +5,7 @@
#include <stddef.h>
#include "hooklib/config.h"
#include "hooklib/gfx.h"
void gfx_config_load(struct gfx_config *cfg, const wchar_t *filename)
{

View File

@ -3,10 +3,6 @@
#include <stdbool.h>
#include <stddef.h>
struct gfx_config {
bool enable;
bool windowed;
bool framed;
};
#include "hooklib/gfx.h"
void gfx_config_load(struct gfx_config *cfg, const wchar_t *filename);

View File

@ -1,5 +1,11 @@
#pragma once
#include "hooklib/config.h"
#include <stdbool.h>
struct gfx_config {
bool enable;
bool windowed;
bool framed;
};
void gfx_hook_init(const struct gfx_config *cfg);