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

Store View and Worker in TimelineController.

This commit is contained in:
Bartosz Taudul
2022-09-03 16:38:39 +02:00
parent b42182f0a8
commit 449dff0eca
3 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -19,7 +19,7 @@ class TimelineController
};
public:
TimelineController();
TimelineController( View& view, const Worker& worker );
void FirstFrameExpired();
void End( float offset );
@@ -48,6 +48,9 @@ private:
float m_scroll;
bool m_firstFrame;
View& m_view;
const Worker& m_worker;
};
}