MCPcopy Create free account
hub / github.com/cinder/Cinder / GetInputTextState

Function GetInputTextState

include/imgui/imgui_internal.h:3632–3632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3630 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);
3631 inline bool TempInputIsActive(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.ActiveId == id && g.TempInputId == id); }
3632 inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (id != 0 && g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active
3633 IMGUI_API void SetNextItemRefVal(ImGuiDataType data_type, void* p_data);
3634 inline bool IsItemActiveAsInputText() { ImGuiContext& g = *GImGui; return g.ActiveId != 0 && g.ActiveId == g.LastItemData.ID && g.InputTextState.ID == g.LastItemData.ID; } // This may be useful to apply workaround that a based on distinguish whenever an item is active as a text input field.
3635

Callers 1

InputTextExMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected