From b26f27d9e3fd44ec5775accdc3666a339684be4c Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Mon, 1 Aug 2022 20:03:12 -0400 Subject: large changes to bitmap structure --- strings.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'strings.cpp') diff --git a/strings.cpp b/strings.cpp index 814a52f..c1b9c9f 100644 --- a/strings.cpp +++ b/strings.cpp @@ -1,7 +1,10 @@ -global_variable bool32 Hacko = false; -global_variable int32 EffectSel = -1; +static bool32 Hacko = false; +static int32 EffectSel = -1; -internal int +// I'm using the filter's grep functionality to sort the effects for us +// (probably severely suboptimal), so I'm just using this callback function to +// signal back to our code that tab has been pressed in the text edit. +static int EffectConsoleCallback(ImGuiInputTextCallbackData* data) { if (data->EventFlag == ImGuiInputTextFlags_CallbackCompletion) -- cgit v1.2.3