| 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 |