mirror of
https://github.com/wolfpld/tracy.git
synced 2026-01-18 17:11:26 +01:00
Rename DrawWaitingDots() to DrawWaitingDotsCentered().
This commit is contained in:
@@ -1170,7 +1170,7 @@ static void DrawContents()
|
||||
static float rnTime = 0;
|
||||
rnTime += ImGui::GetIO().DeltaTime;
|
||||
tracy::TextCentered( "Fetching release notes…" );
|
||||
tracy::DrawWaitingDots( rnTime );
|
||||
tracy::DrawWaitingDotsCentered( rnTime );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1222,7 +1222,7 @@ static void DrawContents()
|
||||
ImGui::PopFont();
|
||||
|
||||
animTime += ImGui::GetIO().DeltaTime;
|
||||
tracy::DrawWaitingDots( animTime );
|
||||
tracy::DrawWaitingDotsCentered( animTime );
|
||||
|
||||
auto currProgress = progress.progress.load( std::memory_order_relaxed );
|
||||
if( totalProgress == 0 )
|
||||
@@ -1309,7 +1309,7 @@ static void DrawContents()
|
||||
ImGui::Spacing();
|
||||
ImGui::PopFont();
|
||||
animTime += ImGui::GetIO().DeltaTime;
|
||||
tracy::DrawWaitingDots( animTime );
|
||||
tracy::DrawWaitingDotsCentered( animTime );
|
||||
ImGui::TextUnformatted( "Please wait, cleanup is in progress" );
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ static constexpr const uint32_t AsmSyntaxColors[] = {
|
||||
ImGui::TextUnformatted( value );
|
||||
}
|
||||
|
||||
[[maybe_unused]] static inline void DrawWaitingDots( double time )
|
||||
[[maybe_unused]] static inline void DrawWaitingDotsCentered( double time )
|
||||
{
|
||||
s_wasActive = true;
|
||||
ImGui::TextUnformatted( "" );
|
||||
|
||||
@@ -85,7 +85,7 @@ void TracyLlm::Draw()
|
||||
ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 ) * 0.5f ) );
|
||||
TextCentered( ICON_FA_HOURGLASS );
|
||||
TextCentered( "Please wait…" );
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::PopFont();
|
||||
ImGui::End();
|
||||
return;
|
||||
@@ -102,7 +102,7 @@ void TracyLlm::Draw()
|
||||
ImGui::Spacing();
|
||||
TextCentered( "Building manual embeddings…" );
|
||||
ImGui::Spacing();
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::TextUnformatted( "" );
|
||||
ImGui::PopFont();
|
||||
const float w = 100 * scale;
|
||||
|
||||
@@ -702,7 +702,7 @@ bool View::DrawImpl()
|
||||
ImGui::Spacing();
|
||||
ImGui::PopFont();
|
||||
ImGui::TextUnformatted( "Waiting for connection…" );
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::End();
|
||||
return keepOpen;
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ void View::DrawCompare()
|
||||
TextCentered( ICON_FA_FROG );
|
||||
TextCentered( "Please wait, computing data…" );
|
||||
ImGui::PopFont();
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ void View::DrawFindZone()
|
||||
TextCentered( ICON_FA_CROW );
|
||||
TextCentered( "Please wait, computing data…" );
|
||||
ImGui::PopFont();
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ void View::DrawStatistics()
|
||||
TextCentered( ICON_FA_HIPPO );
|
||||
TextCentered( "Please wait, computing data…" );
|
||||
ImGui::PopFont();
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
}
|
||||
@@ -105,7 +105,7 @@ void View::DrawStatistics()
|
||||
ImGui::Separator();
|
||||
ImGui::PopStyleVar();
|
||||
ImGui::TextWrapped( "Please wait, computing data…" );
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
}
|
||||
@@ -328,7 +328,7 @@ void View::DrawStatistics()
|
||||
ImGui::Separator();
|
||||
ImGui::PopStyleVar();
|
||||
ImGui::TextWrapped( "Please wait, computing data…" );
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -799,7 +799,7 @@ void View::DrawZoneInfoWindow()
|
||||
if( !mem.plot )
|
||||
{
|
||||
ImGui::Text( "Please wait, computing data…" );
|
||||
DrawWaitingDots( s_time );
|
||||
DrawWaitingDotsCentered( s_time );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user