1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-07 15:33:52 +00:00

Cosmetics.

This commit is contained in:
Bartosz Taudul 2024-05-21 20:18:54 +02:00
parent 60ae46a373
commit cf23441116
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -201,23 +201,23 @@ static void PrintSpeedupOrSlowdown( double time_this, double time_external, cons
}
ImGui::TextDisabled( "%s:", metric );
ImGui::SameLine();
TextColoredUnformatted( color, time_diff );
ImGui::TextUnformatted( time_diff );
ImGui::SameLine();
TextColoredUnformatted( color, label );
ImGui::SameLine();
ImGui::TextUnformatted( "than external" );
TextDisabledUnformatted( "than external" );
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
TextDisabledUnformatted("(");
ImGui::SameLine();
ImGui::SameLine( 0, 0 );
TextColoredUnformatted( ImVec4( 0xDD/511.f, 0xDD/511.f, 0x22/511.f, 1.f ), ICON_FA_LEMON );
ImGui::SameLine();
ImGui::TextDisabled("= %.2f%%", factor * 100 );
ImGui::SameLine();
TextColoredUnformatted( ImVec4( 0xDD/511.f, 0x22/511.f, 0x22/511.f, 1.f ), ICON_FA_GEM );
ImGui::SameLine();
ImGui::SameLine( 0, 0 );
TextDisabledUnformatted(")");
}