| 7535 | } |
| 7536 | |
| 7537 | void ImGui::PushFont(ImFont* font) |
| 7538 | { |
| 7539 | ImGuiContext& g = *GImGui; |
| 7540 | if (!font) |
| 7541 | font = GetDefaultFont(); |
| 7542 | SetCurrentFont(font); |
| 7543 | g.FontStack.push_back(font); |
| 7544 | g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID); |
| 7545 | } |
| 7546 | |
| 7547 | void ImGui::PopFont() |
| 7548 | { |
nothing calls this directly
no test coverage detected