diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-01 20:03:12 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-01 20:04:43 -0400 |
commit | b26f27d9e3fd44ec5775accdc3666a339684be4c (patch) | |
tree | e5c7b8b48f5597904190529f90d71a8526ca9800 /strings.cpp | |
parent | 7d3dcee5b370c05065eb409ad5c21d0bc64790b1 (diff) |
large changes to bitmap structure
Diffstat (limited to 'strings.cpp')
-rw-r--r-- | strings.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
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) |