Пример #1
0
 public void UpdateAssetMarkerTable()
 {
     if (!m_AssetMarkerTableIsCreated)
     {
         CreateAssetMarkerTable();
     }
     m_AssetMarkerTreeView = new AssetMarkerTreeView(m_AssetMarkerTreeViewState, m_AssetMarkerMultiColumnHeader, m_CaptureData, this);
 }
Пример #2
0
        public void CreateAssetMarkerTable()
        {
            m_AssetMarkerTreeViewState          = new TreeViewState();
            m_AssetMarkerMulticolumnHeaderState = AssetMarkerTreeView.CreateDefaultMultiColumnHeaderState(700);

            m_AssetMarkerMultiColumnHeader = new MultiColumnHeader(m_AssetMarkerMulticolumnHeaderState);
            m_AssetMarkerMultiColumnHeader.SetSorting((int)AssetMarkerTreeView.Columns.Index, true);
            m_AssetMarkerMultiColumnHeader.ResizeToFit();

            m_AssetMarkerTableIsCreated = true;
        }
Пример #3
0
        void ClearData()
        {
            m_AssetMarkerTreeViewState          = null;
            m_AssetMarkerMulticolumnHeaderState = null;
            m_AssetMarkerTreeView          = null;
            m_AssetMarkerMultiColumnHeader = null;
            m_AssetMarkerTableIsCreated    = false;
            m_CaptureData = new AssetCaptureData();
            DataPulled    = false;

            // Once there is no data, this will not need to be called again
            ProfilerDriver.profileCleared -= ClearData;
        }