Beispiel #1
0
 protected StringFiltersTab(FilterType filterType, FilterItem[] filters, SaveFiltersCallback saveFiltersCallback, GetDefaultsCallback defaultsCallback = null) : base(filterType)
 {
     this.filters             = filters;
     this.saveFiltersCallback = saveFiltersCallback;
     this.defaultsCallback    = defaultsCallback;
 }
Beispiel #2
0
 internal PathFiltersTab(FilterType filterType, string headerExtra, FilterItem[] filtersList, bool showNotice, SaveFiltersCallback saveCallback, GetDefaultsCallback defaultsCallback = null) : base(filterType, filtersList, saveCallback, defaultsCallback)
 {
     caption = new GUIContent("Path <color=" +
                              (filterType == FilterType.Includes ? "#02C85F" : "#FF4040FF") + ">" + filterType + "</color>", CSEditorIcons.FolderIcon);
     this.headerExtra = headerExtra;
     this.showNotice  = showNotice;
 }