1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Move adding annotations to a separate function.

This commit is contained in:
Bartosz Taudul
2022-03-15 17:25:28 +01:00
parent 42688c9bf3
commit f17a579753
2 changed files with 15 additions and 8 deletions
+2
View File
@@ -253,6 +253,8 @@ private:
void HandleRange( Range& range, int64_t timespan, const ImVec2& wpos, float w );
void HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, double& pxns );
void AddAnnotation( int64_t start, int64_t end );
uint32_t GetThreadColor( uint64_t thread, int depth );
uint32_t GetSrcLocColor( const SourceLocation& srcloc, int depth );
uint32_t GetRawSrcLocColor( const SourceLocation& srcloc, int depth );