mirror of
https://github.com/wolfpld/tracy
synced 2025-05-02 13:43:52 +00:00
Use big icons in load/cleanup dialogs.
This commit is contained in:
parent
d4a5df0244
commit
46e0584cca
@ -973,7 +973,9 @@ static void DrawContents()
|
|||||||
}
|
}
|
||||||
if( ImGui::BeginPopupModal( "Loading trace...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
if( ImGui::BeginPopupModal( "Loading trace...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||||
{
|
{
|
||||||
|
ImGui::PushFont( bigFont );
|
||||||
tracy::TextCentered( ICON_FA_HOURGLASS_HALF );
|
tracy::TextCentered( ICON_FA_HOURGLASS_HALF );
|
||||||
|
ImGui::PopFont();
|
||||||
|
|
||||||
animTime += ImGui::GetIO().DeltaTime;
|
animTime += ImGui::GetIO().DeltaTime;
|
||||||
tracy::DrawWaitingDots( animTime );
|
tracy::DrawWaitingDots( animTime );
|
||||||
@ -1057,7 +1059,9 @@ static void DrawContents()
|
|||||||
if( ImGui::BeginPopupModal( "Capture cleanup...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
if( ImGui::BeginPopupModal( "Capture cleanup...", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||||
{
|
{
|
||||||
if( viewShutdown.load( std::memory_order_relaxed ) != ViewShutdown::True ) ImGui::CloseCurrentPopup();
|
if( viewShutdown.load( std::memory_order_relaxed ) != ViewShutdown::True ) ImGui::CloseCurrentPopup();
|
||||||
|
ImGui::PushFont( bigFont );
|
||||||
tracy::TextCentered( ICON_FA_BROOM );
|
tracy::TextCentered( ICON_FA_BROOM );
|
||||||
|
ImGui::PopFont();
|
||||||
animTime += ImGui::GetIO().DeltaTime;
|
animTime += ImGui::GetIO().DeltaTime;
|
||||||
tracy::DrawWaitingDots( animTime );
|
tracy::DrawWaitingDots( animTime );
|
||||||
ImGui::TextUnformatted( "Please wait, cleanup is in progress" );
|
ImGui::TextUnformatted( "Please wait, cleanup is in progress" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user