MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / AlignTextToFramePadding

Method AlignTextToFramePadding

DLL/Lib/ImGUI/imgui_widgets.cpp:1346–1355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1344}
1345
1346void ImGui::AlignTextToFramePadding()
1347{
1348 ImGuiWindow* window = GetCurrentWindow();
1349 if (window->SkipItems)
1350 return;
1351
1352 ImGuiContext& g = *GImGui;
1353 window->DC.CurrLineSize.y = ImMax(window->DC.CurrLineSize.y, g.FontSize + g.Style.FramePadding.y * 2);
1354 window->DC.CurrLineTextBaseOffset = ImMax(window->DC.CurrLineTextBaseOffset, g.Style.FramePadding.y);
1355}
1356
1357// Horizontal/vertical separating line
1358void ImGui::SeparatorEx(ImGuiSeparatorFlags flags)

Callers

nothing calls this directly

Calls 2

GetCurrentWindowFunction · 0.85
ImMaxFunction · 0.85

Tested by

no test coverage detected