MCPcopy Create free account
hub / github.com/RenderKit/embree / TempInputIsActive

Function TempInputIsActive

tutorials/common/imgui/imgui_internal.h:3104–3104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3102 IMGUI_API bool TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* buf, int buf_size, ImGuiInputTextFlags flags);
3103 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);
3104 inline bool TempInputIsActive(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.ActiveId == id && g.TempInputId == id); }
3105 inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (id != 0 && g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active
3106
3107 // Color

Callers 2

DragScalarMethod · 0.85
SliderScalarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected