diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a9018313..eebe22bf 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -980,7 +980,7 @@ bool View::DrawImpl() #endif } - DrawZones(); + DrawTimeline(); ImGui::End(); ImGui::End(); diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 790b98a5..514e627b 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -187,9 +187,9 @@ private: void DrawNotificationArea(); bool DrawConnection(); void DrawFrames(); - void DrawZoneFramesHeader(); - void DrawZoneFrames( const FrameData& frames ); - void DrawZones(); + void DrawTimelineFramesHeader(); + void DrawTimelineFrames( const FrameData& frames ); + void DrawTimeline(); void DrawContextSwitches( const ContextSwitch* ctx, const Vector& sampleData, bool hover, double pxns, int64_t nspx, const ImVec2& wpos, int offset, int endOffset, bool isFiber ); void DrawSamples( const Vector& vec, bool hover, double pxns, int64_t nspx, const ImVec2& wpos, int offset ); #ifndef TRACY_NO_STATISTICS diff --git a/server/TracyView_FrameTimeline.cpp b/server/TracyView_FrameTimeline.cpp index b3d51bcf..a510bf33 100644 --- a/server/TracyView_FrameTimeline.cpp +++ b/server/TracyView_FrameTimeline.cpp @@ -22,7 +22,7 @@ static tracy_force_inline uint32_t GetColorMuted( uint32_t color, bool active ) } } -void View::DrawZoneFramesHeader() +void View::DrawTimelineFramesHeader() { const auto wpos = ImGui::GetCursorScreenPos(); const auto dpos = wpos + ImVec2( 0.5f, 0.5f ); @@ -88,7 +88,7 @@ void View::DrawZoneFramesHeader() } } -void View::DrawZoneFrames( const FrameData& frames ) +void View::DrawTimelineFrames( const FrameData& frames ) { const auto wpos = ImGui::GetCursorScreenPos(); const auto dpos = wpos + ImVec2( 0.5f, 0.5f ); diff --git a/server/TracyView_Timeline.cpp b/server/TracyView_Timeline.cpp index c5a85627..3c1a5f85 100644 --- a/server/TracyView_Timeline.cpp +++ b/server/TracyView_Timeline.cpp @@ -12,7 +12,7 @@ enum { MinVisSize = 3 }; extern double s_time; -void View::DrawZones() +void View::DrawTimeline() { m_msgHighlight.Decay( nullptr ); m_zoneSrcLocHighlight.Decay( 0 ); @@ -75,13 +75,13 @@ void View::DrawZones() } } - DrawZoneFramesHeader(); + DrawTimelineFramesHeader(); auto& frames = m_worker.GetFrames(); for( auto fd : frames ) { if( Vis( fd ).visible ) { - DrawZoneFrames( *fd ); + DrawTimelineFrames( *fd ); } }