Add function for highlighting a thread.

This commit is contained in:
Bartosz Taudul 2022-09-03 19:25:02 +02:00
parent e19a3a8767
commit 0c4ca4cd69
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 7 additions and 0 deletions

View File

@ -1277,4 +1277,10 @@ bool View::Save( const char* fn, FileWrite::Compression comp, int zlevel, bool b
return true;
}
void View::HighlightThread( uint64_t thread )
{
m_drawThreadMigrations = thread;
m_drawThreadHighlight = thread;
}
}

View File

@ -113,6 +113,7 @@ public:
ShortenName GetShortenName() const { return m_shortenName; }
void HighlightThread( uint64_t thread );
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
void DrawPlot( PlotData& plot, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );