MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / GetDefaultFont

Function GetDefaultFont

extern/imgui/imgui_internal.h:2972–2972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2970 // Fonts, drawing
2971 IMGUI_API void SetCurrentFont(ImFont* font);
2972 inline ImFont* GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; }
2973 inline ImDrawList* GetForegroundDrawList(ImGuiWindow* window) { return GetForegroundDrawList(window->Viewport); }
2974
2975 // Init

Callers 3

NewFrameMethod · 0.85
PushFontMethod · 0.85
PopFontMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected