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

Push timline context to Draw and DrawContents functions.

This commit is contained in:
Bartosz Taudul
2023-03-14 02:24:23 +01:00
parent b6b6e1edcf
commit c81ef177ab
11 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ protected:
void HeaderTooltip( const char* label ) const override;
void HeaderExtraContents( int offset, const ImVec2& wpos, float labelWidth, double pxns, bool hover ) override;
bool DrawContents( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax ) override;
bool DrawContents( const TimelineContext& ctx, int& offset, bool hover, float yMin, float yMax ) override;
bool IsEmpty() const override;