| 7117 | } |
| 7118 | |
| 7119 | void ImGui::PushFont(ImFont* font) |
| 7120 | { |
| 7121 | ImGuiContext& g = *GImGui; |
| 7122 | if (!font) |
| 7123 | font = GetDefaultFont(); |
| 7124 | SetCurrentFont(font); |
| 7125 | g.FontStack.push_back(font); |
| 7126 | g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID); |
| 7127 | } |
| 7128 | |
| 7129 | void ImGui::PopFont() |
| 7130 | { |
nothing calls this directly
no test coverage detected