MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / PopFont

Method PopFont

plugins/Cardinal/src/DearImGui/imgui.cpp:6812–6818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6810}
6811
6812void ImGui::PopFont()
6813{
6814 ImGuiContext& g = *GImGui;
6815 g.CurrentWindow->DrawList->PopTextureID();
6816 g.FontStack.pop_back();
6817 SetCurrentFont(g.FontStack.empty() ? GetDefaultFont() : g.FontStack.back());
6818}
6819
6820void ImGui::PushItemFlag(ImGuiItemFlags option, bool enabled)
6821{

Callers

nothing calls this directly

Calls 5

GetDefaultFontFunction · 0.85
PopTextureIDMethod · 0.80
pop_backMethod · 0.80
backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected