mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-06 04:20:08 +00:00
Fonts: rename many internal functions for consistency. No other changes.
This commit is contained in:
parent
c4fa9bb61f
commit
890fff92fd
3 changed files with 83 additions and 83 deletions
10
imgui.cpp
10
imgui.cpp
|
|
@ -15704,10 +15704,10 @@ void ImGui::ShowFontAtlas(ImFontAtlas* atlas)
|
|||
if (ImGuiFreeType::DebugEditFontBuilderFlags(&loader_flags))
|
||||
{
|
||||
for (ImFont* font : atlas->Fonts)
|
||||
ImFontAtlasBuildDestroyFontOutput(atlas, font);
|
||||
ImFontAtlasFontDestroyOutput(atlas, font);
|
||||
atlas->FontBuilderFlags = loader_flags;
|
||||
for (ImFont* font : atlas->Fonts)
|
||||
ImFontAtlasBuildInitFontOutput(atlas, font);
|
||||
ImFontAtlasFontInitOutput(atlas, font);
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
|
@ -15733,7 +15733,7 @@ void ImGui::ShowFontAtlas(ImFontAtlas* atlas)
|
|||
atlas->CompactCache();
|
||||
SameLine();
|
||||
if (Button("Grow"))
|
||||
ImFontAtlasBuildGrowTexture(atlas);
|
||||
ImFontAtlasTextureGrow(atlas);
|
||||
SameLine();
|
||||
if (Button("Clear All"))
|
||||
ImFontAtlasBuildClear(atlas);
|
||||
|
|
@ -16666,9 +16666,9 @@ void ImGui::DebugNodeFont(ImFont* font)
|
|||
Text("FreeType Loader Flags: 0x%08X", loader_flags);
|
||||
if (ImGuiFreeType::DebugEditFontBuilderFlags(&loader_flags))
|
||||
{
|
||||
ImFontAtlasBuildDestroyFontOutput(atlas, font);
|
||||
ImFontAtlasFontDestroyOutput(atlas, font);
|
||||
src->FontBuilderFlags = loader_flags;
|
||||
ImFontAtlasBuildInitFontOutput(atlas, font);
|
||||
ImFontAtlasFontInitOutput(atlas, font);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue