1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-02 05:33:53 +00:00

Add highlighted message accessor to View.

This commit is contained in:
Bartosz Taudul 2023-03-23 21:47:22 +01:00
parent b0fb230287
commit fbc87275e7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -121,6 +121,8 @@ public:
ShortenName GetShortenName() const { return m_shortenName; } ShortenName GetShortenName() const { return m_shortenName; }
int GetNextGpuIdx() { return m_gpuIdx++; } int GetNextGpuIdx() { return m_gpuIdx++; }
const MessageData* GetMessageHighlight() const { return m_msgHighlight; }
void HighlightThread( uint64_t thread ); void HighlightThread( uint64_t thread );
void ZoomToRange( int64_t start, int64_t end, bool pause = true ); void ZoomToRange( int64_t start, int64_t end, bool pause = true );
bool DrawPlot( const TimelineContext& ctx, PlotData& plot, int& offset ); bool DrawPlot( const TimelineContext& ctx, PlotData& plot, int& offset );