Use small font for debug data in about window.

This commit is contained in:
Bartosz Taudul 2022-09-26 01:15:37 +02:00
parent e7184565b3
commit ff8a85ea2d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -392,9 +392,17 @@ static void DrawContents()
tracy::TextDisabledUnformatted( "<wolf@nereid.pl>" );
tracy::TextDisabledUnformatted( "Additional authors listed in AUTHORS file and in git history." );
ImGui::Separator();
ImGui::PushFont( s_smallFont );
tracy::TextFocused( "Protocol version", tracy::RealToString( tracy::ProtocolVersion ) );
ImGui::SameLine();
ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical );
ImGui::SameLine();
tracy::TextFocused( "Broadcast version", tracy::RealToString( tracy::BroadcastVersion ) );
ImGui::SameLine();
ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical );
ImGui::SameLine();
tracy::TextFocused( "Build date", __DATE__ ", " __TIME__ );
ImGui::PopFont();
ImGui::EndPopup();
}
ImGui::Spacing();