forked from Roka1338/RedEngine-full-leaked-source
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathgui_core.h
29 lines (22 loc) · 874 Bytes
/
gui_core.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include <Windows.h>
#include <d3d11.h>
#include <dxgi.h>
#include <GUI/kiero/kiero.h>
#include <GUI/imgui/imgui.h>
#include <GUI/imgui/imgui_impl_win32.h>
#include <GUI/imgui/imgui_impl_dx11.h>
#include "menu.h"
HRESULT __stdcall hkPresent(IDXGISwapChain* pSwapChain, UINT SyncInterval, UINT Flags);
typedef HRESULT(__stdcall* Present) (IDXGISwapChain* pSwapChain, UINT SyncInterval, UINT Flags);
typedef LRESULT(CALLBACK* WNDPROC)(HWND, UINT, WPARAM, LPARAM);
typedef uintptr_t PTR;
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
void InitImGui();
LRESULT __stdcall WndProc(const HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HRESULT __stdcall hkPresent(IDXGISwapChain* pSwapChain, UINT SyncInterval, UINT Flags);
namespace GuiCore
{
DWORD WINAPI MainThread();
DWORD WINAPI KeybindThread();
}