|
|
@ -223,7 +223,8 @@ void ImGui::ShowTestWindow(bool* p_opened)
|
|
|
|
|
|
|
|
|
|
|
|
if (ImGui::TreeNode("Fonts", "Fonts (%d)", ImGui::GetIO().Fonts->Fonts.Size))
|
|
|
|
if (ImGui::TreeNode("Fonts", "Fonts (%d)", ImGui::GetIO().Fonts->Fonts.Size))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ImGui::TextWrapped("Tip: Load fonts with io.Fonts->AddFontFromFileTTF().");
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ShowHelpMarker("Tip: Load fonts with io.Fonts->AddFontFromFileTTF()\nbefore calling io.Fonts->GetTex* functions.");
|
|
|
|
ImFontAtlas* atlas = ImGui::GetIO().Fonts;
|
|
|
|
ImFontAtlas* atlas = ImGui::GetIO().Fonts;
|
|
|
|
if (ImGui::TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight))
|
|
|
|
if (ImGui::TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight))
|
|
|
|
{
|
|
|
|
{
|
|
|
|