public AssetProcessEventListTree(AssetProcessEventLogViewController parent, TreeViewState state, MultiColumnHeaderState mchs) : base(state, new MultiColumnHeader(mchs))
        {
            m_controller = parent;
            showBorder   = true;
            showAlternatingRowBackgrounds = true;
            //DefaultStyles.label.richText = true;

            m_errorIcon = EditorGUIUtility.Load("icons/console.erroricon.png") as Texture2D;
            m_infoIcon  = EditorGUIUtility.Load("icons/console.infoicon.png") as Texture2D;
        }
Example #2
0
        private void Init()
        {
            this.titleContent = new GUIContent("Asset Log");
            this.minSize      = new Vector2(150f, 100f);

            m_errorIcon = EditorGUIUtility.Load("icons/console.erroricon.sml.png") as Texture2D;
            m_infoIcon  = EditorGUIUtility.Load("icons/console.infoicon.sml.png") as Texture2D;

            m_showError = true;
            m_showInfo  = true;

            m_clearOnBuild = UserPreference.ClearAssetLogOnBuild;

            m_logViewController = new AssetProcessEventLogViewController();
        }
        private void Init()
        {
            this.titleContent = new GUIContent("Asset Log");
            this.minSize      = new Vector2(150f, 100f);

            m_errorIcon = EditorGUIUtility.Load("icons/console.erroricon.sml.png") as Texture2D;
            m_infoIcon  = EditorGUIUtility.Load("icons/console.infoicon.sml.png") as Texture2D;

            m_showError = true;
            m_showInfo  = true;

            m_clearOnBuild = UserPreference.ClearAssetLogOnBuild;

            m_logViewController = new AssetProcessEventLogViewController();
            m_search            = new SearchField();

            AssetProcessEventRecord.GetRecord().SetFilterCondition(m_showInfo, m_showError);
            AssetProcessEventRecord.GetRecord().SetFilterKeyword(string.Empty);
        }