| 6529 | } |
| 6530 | |
| 6531 | void ImGui::PushFont(ImFont* font) |
| 6532 | { |
| 6533 | ImGuiContext& g = *GImGui; |
| 6534 | if (!font) |
| 6535 | font = GetDefaultFont(); |
| 6536 | SetCurrentFont(font); |
| 6537 | g.FontStack.push_back(font); |
| 6538 | g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID); |
| 6539 | } |
| 6540 | |
| 6541 | void ImGui::PopFont() |
| 6542 | { |
nothing calls this directly
no test coverage detected