From 211f547b85aa10d9e520f4e0fa4b8d4e476ad340 Mon Sep 17 00:00:00 2001 From: youneuoy <61095686+youneuoy@users.noreply.github.com> Date: Sat, 19 Sep 2020 16:50:02 +0300 Subject: [PATCH] Update Menu.h added checkMsgs(); --- Menu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Menu.h b/Menu.h index 3c8b741..d17a595 100644 --- a/Menu.h +++ b/Menu.h @@ -32,12 +32,14 @@ bool menuCharacterSettingsShow = false; ImGuiContext* context = 0; -WNDPROC oWndProc = NULL; // òåêóùèé õåíäë ïðîöåññà +WNDPROC oWndProc = NULL; // òåêóùèé õåíäë ïðîöåññà HWND window1 = NULL; typedef LRESULT(CALLBACK* WNDPROC)(HWND, UINT, WPARAM, LPARAM); extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); void InitImgui(ID3D11Device* device, ID3D11DeviceContext* device_context); void MenuMainFunc(ID3D11Device* device, ID3D11DeviceContext* device_context); + +void checkMsgs(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); LRESULT __stdcall WndProc(const HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);