| 7806 | } |
| 7807 | |
| 7808 | void ImGui::PushFont(ImFont* font) |
| 7809 | { |
| 7810 | ImGuiContext& g = *GImGui; |
| 7811 | if (!font) |
| 7812 | font = GetDefaultFont(); |
| 7813 | SetCurrentFont(font); |
| 7814 | g.FontStack.push_back(font); |
| 7815 | g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID); |
| 7816 | } |
| 7817 | |
| 7818 | void ImGui::PopFont() |
| 7819 | { |
nothing calls this directly
no test coverage detected