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

Function TempInputIsActive

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

Source from the content-addressed store, hash-verified

2759 IMGUI_API bool TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* buf, int buf_size, ImGuiInputTextFlags flags);
2760 IMGUI_API bool TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min = NULL, const void* p_clamp_max = NULL);
2761 inline bool TempInputIsActive(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.ActiveId == id && g.TempInputId == id); }
2762 inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active
2763
2764 // Color

Callers 2

DragScalarMethod · 0.85
SliderScalarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected