MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / SetWindowFontScale

Method SetWindowFontScale

include/imgui/imgui.cpp:8767–8773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8765// Prefer using PushFont(NULL, style.FontSizeBase * factor), or use style.FontScaleMain to scale all windows.
8766#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
8767void ImGui::SetWindowFontScale(float scale)
8768{
8769 IM_ASSERT(scale > 0.0f);
8770 ImGuiWindow* window = GetCurrentWindow();
8771 window->FontWindowScale = scale;
8772 UpdateCurrentFontSize(0.0f);
8773}
8774#endif
8775
8776void ImGui::PushFocusScope(ImGuiID id)

Callers

nothing calls this directly

Calls 1

GetCurrentWindowFunction · 0.85

Tested by

no test coverage detected