From fbc87275e75956f5f75a6d58765733f088b06a85 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 23 Mar 2023 21:47:22 +0100 Subject: [PATCH] Add highlighted message accessor to View. --- server/TracyView.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.hpp b/server/TracyView.hpp index ec49a5d3..fc98a065 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -121,6 +121,8 @@ public: ShortenName GetShortenName() const { return m_shortenName; } int GetNextGpuIdx() { return m_gpuIdx++; } + const MessageData* GetMessageHighlight() const { return m_msgHighlight; } + void HighlightThread( uint64_t thread ); void ZoomToRange( int64_t start, int64_t end, bool pause = true ); bool DrawPlot( const TimelineContext& ctx, PlotData& plot, int& offset );