From 46e0584ccaaf5e90197fa842b4857442a3e1bfc4 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 13 Nov 2021 22:16:37 +0100 Subject: [PATCH] Use big icons in load/cleanup dialogs. --- profiler/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 60535667..48ee83ee 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -973,7 +973,9 @@ static void DrawContents() } if( ImGui::BeginPopupModal( "Loading trace...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) ) { + ImGui::PushFont( bigFont ); tracy::TextCentered( ICON_FA_HOURGLASS_HALF ); + ImGui::PopFont(); animTime += ImGui::GetIO().DeltaTime; tracy::DrawWaitingDots( animTime ); @@ -1057,7 +1059,9 @@ static void DrawContents() if( ImGui::BeginPopupModal( "Capture cleanup...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) ) { if( viewShutdown.load( std::memory_order_relaxed ) != ViewShutdown::True ) ImGui::CloseCurrentPopup(); + ImGui::PushFont( bigFont ); tracy::TextCentered( ICON_FA_BROOM ); + ImGui::PopFont(); animTime += ImGui::GetIO().DeltaTime; tracy::DrawWaitingDots( animTime ); ImGui::TextUnformatted( "Please wait, cleanup is in progress" );