MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetDefaultFont

Function GetDefaultFont

KBotExt/imgui/imgui_internal.h:2810–2810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2808 // Fonts, drawing
2809 IMGUI_API void SetCurrentFont(ImFont* font);
2810 inline ImFont* GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; }
2811 inline ImDrawList* GetForegroundDrawList(ImGuiWindow* window) { IM_UNUSED(window); return GetForegroundDrawList(); } // This seemingly unnecessary wrapper simplifies compatibility between the 'master' and 'docking' branches.
2812 IMGUI_API ImDrawList* GetBackgroundDrawList(ImGuiViewport* viewport); // get background draw list for the given viewport. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents.
2813 IMGUI_API ImDrawList* GetForegroundDrawList(ImGuiViewport* viewport); // get foreground draw list for the given viewport. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents.

Callers 3

NewFrameMethod · 0.85
PushFontMethod · 0.85
PopFontMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected