| 9028 | } |
| 9029 | |
| 9030 | ImFont* ImGui::GetDefaultFont() |
| 9031 | { |
| 9032 | ImGuiContext& g = *GImGui; |
| 9033 | ImFontAtlas* atlas = g.IO.Fonts; |
| 9034 | if (atlas->Builder == NULL || atlas->Fonts.Size == 0) |
| 9035 | ImFontAtlasBuildMain(atlas); |
| 9036 | return g.IO.FontDefault ? g.IO.FontDefault : atlas->Fonts[0]; |
| 9037 | } |
| 9038 | |
| 9039 | // EXPERIMENTAL. Use ImTextureDataQueueUpload() to queue updates. |
| 9040 | void ImGui::RegisterUserTexture(ImTextureData* tex) |
nothing calls this directly
no test coverage detected