blob: c1b9c9f03678138ff6e3a14f35e14bccbf3c16e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
static bool32 Hacko = false;
static int32 EffectSel = -1;
// 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)
{
Hacko = true;
}
return 0;
}
|