mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
improv: ImGui test engine window can now be opened and closed from debug menu (#2310)
This commit is contained in:
@@ -1443,6 +1443,16 @@ namespace ImGuiExt {
|
||||
// Return the button press state
|
||||
ImGui::PopClipRect();
|
||||
}
|
||||
|
||||
static bool s_imguiTestEngineEnabled = false;
|
||||
|
||||
void ImGuiTestEngine::setEnabled(bool enabled) {
|
||||
s_imguiTestEngineEnabled = enabled;
|
||||
}
|
||||
|
||||
bool ImGuiTestEngine::isEnabled() {
|
||||
return s_imguiTestEngineEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
namespace ImGui {
|
||||
|
||||
Reference in New Issue
Block a user