From d2ab66195c47f33a76758b97669dd564ccde90b9 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 5 Sep 2022 20:29:45 +0200 Subject: [PATCH] Allow changing timeline item collapsed state. --- server/TracyTimelineItem.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyTimelineItem.hpp b/server/TracyTimelineItem.hpp index 59652328..c08d911a 100644 --- a/server/TracyTimelineItem.hpp +++ b/server/TracyTimelineItem.hpp @@ -23,6 +23,8 @@ public: virtual void SetVisible( bool visible ) { m_visible = visible; } virtual bool IsVisible() const { return m_visible; } + void SetShowFull( bool showFull ) { m_showFull = showFull; } + protected: virtual uint32_t HeaderColor() const = 0; virtual uint32_t HeaderColorInactive() const = 0;