MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / IsActiveIdUsingNavInput

Function IsActiveIdUsingNavInput

plugins/Cardinal/src/DearImGui/imgui_internal.h:2595–2595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2593 IMGUI_API void SetActiveIdUsingNavAndKeys();
2594 inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; }
2595 inline bool IsActiveIdUsingNavInput(ImGuiNavInput input) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavInputMask & (1 << input)) != 0; }
2596 inline bool IsActiveIdUsingKey(ImGuiKey key) { ImGuiContext& g = *GImGui; IM_ASSERT(key < 64); return (g.ActiveIdUsingKeyInputMask & ((ImU64)1 << key)) != 0; }
2597 IMGUI_API bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold = -1.0f);
2598 inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { ImGuiContext& g = *GImGui; const int key_index = g.IO.KeyMap[key]; return (key_index >= 0) ? IsKeyPressed(key_index, repeat) : false; }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected