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

DrawContents reports if anything was drawn.

This commit is contained in:
Bartosz Taudul
2022-09-03 21:41:38 +02:00
parent eaa78de534
commit 0e94ed8fc6
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ public:
virtual ~TimelineItem() = default;
void Draw( bool firstFrame, double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax );
virtual void DrawContents( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax ) = 0;
virtual bool DrawContents( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax ) = 0;
virtual bool IsEmpty() const { return false; }