MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / PopFont

Method PopFont

TheForceEngine/TFE_Ui/imGUI/imgui.cpp:7547–7553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7545}
7546
7547void ImGui::PopFont()
7548{
7549 ImGuiContext& g = *GImGui;
7550 g.CurrentWindow->DrawList->PopTextureID();
7551 g.FontStack.pop_back();
7552 SetCurrentFont(g.FontStack.empty() ? GetDefaultFont() : g.FontStack.back());
7553}
7554
7555void ImGui::PushItemFlag(ImGuiItemFlags option, bool enabled)
7556{

Callers

nothing calls this directly

Calls 3

GetDefaultFontFunction · 0.85
PopTextureIDMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected