| 7192 | } |
| 7193 | |
| 7194 | void ImGui::PushFont(ImFont* font) |
| 7195 | { |
| 7196 | ImGuiContext& g = *GImGui; |
| 7197 | if (!font) |
| 7198 | font = GetDefaultFont(); |
| 7199 | SetCurrentFont(font); |
| 7200 | g.FontStack.push_back(font); |
| 7201 | g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID); |
| 7202 | } |
| 7203 | |
| 7204 | void ImGui::PopFont() |
| 7205 | { |
nothing calls this directly
no test coverage detected