MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / DebugNodeTableGetSizingPolicyDesc

Function DebugNodeTableGetSizingPolicyDesc

KBotExt/imgui/imgui_tables.cpp:3595–3603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3593#ifndef IMGUI_DISABLE_DEBUG_TOOLS
3594
3595static const char* DebugNodeTableGetSizingPolicyDesc(ImGuiTableFlags sizing_policy)
3596{
3597 sizing_policy &= ImGuiTableFlags_SizingMask_;
3598 if (sizing_policy == ImGuiTableFlags_SizingFixedFit) { return "FixedFit"; }
3599 if (sizing_policy == ImGuiTableFlags_SizingFixedSame) { return "FixedSame"; }
3600 if (sizing_policy == ImGuiTableFlags_SizingStretchProp) { return "StretchProp"; }
3601 if (sizing_policy == ImGuiTableFlags_SizingStretchSame) { return "StretchSame"; }
3602 return "N/A";
3603}
3604
3605void ImGui::DebugNodeTable(ImGuiTable* table)
3606{

Callers 1

DebugNodeTableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected