mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-29 14:38:21 +00:00
Store View and Worker in TimelineController.
This commit is contained in:
@@ -52,6 +52,7 @@ View::View( void(*cbMainThread)(std::function<void()>, bool), const char* addr,
|
||||
, m_viewMode( ViewMode::LastFrames )
|
||||
, m_viewModeHeuristicTry( true )
|
||||
, m_forceConnectionPopup( true, true )
|
||||
, m_tc( *this, m_worker )
|
||||
, m_frames( nullptr )
|
||||
, m_messagesScrollBottom( true )
|
||||
, m_reactToCrash( true )
|
||||
@@ -76,6 +77,7 @@ View::View( void(*cbMainThread)(std::function<void()>, bool), FileRead& f, ImFon
|
||||
, m_filename( f.GetFilename() )
|
||||
, m_staticView( true )
|
||||
, m_viewMode( ViewMode::Paused )
|
||||
, m_tc( *this, m_worker )
|
||||
, m_frames( m_worker.GetFramesBase() )
|
||||
, m_messagesScrollBottom( false )
|
||||
, m_smallFont( smallFont )
|
||||
|
||||
Reference in New Issue
Block a user