| 6179 | } |
| 6180 | |
| 6181 | void ImGui::PushFont(ImFont* font) |
| 6182 | { |
| 6183 | ImGuiContext& g = *GImGui; |
| 6184 | if (!font) |
| 6185 | font = GetDefaultFont(); |
| 6186 | SetCurrentFont(font); |
| 6187 | g.FontStack.push_back(font); |
| 6188 | g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID); |
| 6189 | } |
| 6190 | |
| 6191 | void ImGui::PopFont() |
| 6192 | { |
nothing calls this directly
no test coverage detected