mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-04 01:18:29 +00:00
Stop pretending to not require additional fonts.
This commit is contained in:
@@ -35,9 +35,9 @@ void BadVersionImpl( BadVersionState& badVer, ImFont* big )
|
||||
}
|
||||
if( ImGui::BeginPopupModal( "Bad file", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||
{
|
||||
if( big ) ImGui::PushFont( big );
|
||||
ImGui::PushFont( big );
|
||||
TextCentered( ICON_FA_EXCLAMATION_TRIANGLE );
|
||||
if( big ) ImGui::PopFont();
|
||||
ImGui::PopFont();
|
||||
ImGui::Text( "The file you are trying to open is not a Tracy dump." );
|
||||
ImGui::Separator();
|
||||
if( ImGui::Button( "Oops" ) )
|
||||
@@ -49,9 +49,9 @@ void BadVersionImpl( BadVersionState& badVer, ImFont* big )
|
||||
}
|
||||
if( ImGui::BeginPopupModal( "File read error", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||
{
|
||||
if( big ) ImGui::PushFont( big );
|
||||
ImGui::PushFont( big );
|
||||
TextCentered( ICON_FA_EXCLAMATION_TRIANGLE );
|
||||
if( big ) ImGui::PopFont();
|
||||
ImGui::PopFont();
|
||||
ImGui::Text( "The file you are trying to open cannot be mapped to memory." );
|
||||
ImGui::Separator();
|
||||
if( ImGui::Button( "OK" ) )
|
||||
@@ -63,9 +63,9 @@ void BadVersionImpl( BadVersionState& badVer, ImFont* big )
|
||||
}
|
||||
if( ImGui::BeginPopupModal( "Unsupported file version", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||
{
|
||||
if( big ) ImGui::PushFont( big );
|
||||
ImGui::PushFont( big );
|
||||
TextCentered( ICON_FA_CLOUD_DOWNLOAD_ALT );
|
||||
if( big ) ImGui::PopFont();
|
||||
ImGui::PopFont();
|
||||
ImGui::Text( "The file you are trying to open is unsupported.\nYou should update to Tracy %i.%i.%i or newer and try again.", badVer.version >> 16, ( badVer.version >> 8 ) & 0xFF, badVer.version & 0xFF );
|
||||
ImGui::Separator();
|
||||
if( ImGui::Button( ICON_FA_DOWNLOAD " Download update" ) )
|
||||
@@ -84,9 +84,9 @@ void BadVersionImpl( BadVersionState& badVer, ImFont* big )
|
||||
}
|
||||
if( ImGui::BeginPopupModal( "Legacy file version", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||
{
|
||||
if( big ) ImGui::PushFont( big );
|
||||
ImGui::PushFont( big );
|
||||
TextCentered( ICON_FA_GHOST );
|
||||
if( big ) ImGui::PopFont();
|
||||
ImGui::PopFont();
|
||||
ImGui::Text( "You are trying to open a file which was created by legacy version %i.%i.%i.\nUse the update utility from an older version of the profiler to convert the file to a supported version.", badVer.version >> 16, ( badVer.version >> 8 ) & 0xFF, badVer.version & 0xFF );
|
||||
ImGui::Separator();
|
||||
if( ImGui::Button( "Maybe I don't need it" ) )
|
||||
|
||||
Reference in New Issue
Block a user