From fe2e237a7008c94cab317eab0cf6e83b9ad2411a Mon Sep 17 00:00:00 2001 From: blankie Date: Fri, 24 Feb 2023 18:26:48 +0700 Subject: [PATCH] Forward declare ImGui::IsKeyPressed --- fragments/ok_buttons_fragment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragments/ok_buttons_fragment.h b/fragments/ok_buttons_fragment.h index 119a0d9..ed155ee 100644 --- a/fragments/ok_buttons_fragment.h +++ b/fragments/ok_buttons_fragment.h @@ -1,7 +1,7 @@ #pragma once #include -#include "../misc.h" +namespace ImGui { bool IsKeyPressed(ImGuiKeyChord key_chord, bool repeat); }; // forward declaration from ../misc.h void ok_buttons_fragment(bool* p_open, auto ok, auto apply);