From 427dc4fffa522e581fcc1187865fb509996ec2dd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 3 Sep 2022 16:53:02 +0200 Subject: [PATCH] Make View::ZoomToRange() public. --- server/TracyView.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 2ed85e5e..3bc242e3 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -113,6 +113,8 @@ public: ShortenName GetShortenName() const { return m_shortenName; } + void ZoomToRange( int64_t start, int64_t end, bool pause = true ); + bool m_showRanges = false; Range m_statRange; Range m_waitStackRange; @@ -279,7 +281,6 @@ private: void ZoomToZone( const ZoneEvent& ev ); void ZoomToZone( const GpuEvent& ev ); - void ZoomToRange( int64_t start, int64_t end, bool pause = true ); void ZoomToPrevFrame(); void ZoomToNextFrame(); void CenterAtTime( int64_t t );