// Token: 0x06000019 RID: 25 RVA: 0x00002AD4 File Offset: 0x00000CD4 public void OnGUI() { EditorGUILayout.BeginVertical(new GUILayoutOption[] { GUILayout.Width(this.Width) }); this._menu.OnGUI(); this._listbox.OnGUI(); GUILayout.Space(2f); EditorGUILayout.BeginVertical(new GUILayoutOption[] { GUILayout.Height(this.BundleDependencySplitter) }); float num = this.BundleDependencySplitter; EditorGUILayout2.VerticalSplitter(ref num); num = Mathf.Clamp(num, 30f, this._owner.position.height * 0.8f); if (!Mathf.Approximately(num, this.BundleDependencySplitter)) { this.BundleDependencySplitter = num; EditorWindow2 editorWindow = this._owner as EditorWindow2; if (editorWindow != null) { editorWindow.TriggerResize(); } } this._dependencyListbox.OnGUI(); EditorGUILayout.EndVertical(); EditorGUILayout.EndVertical(); float num2 = this.Width; EditorGUILayout2.HorizontalSplitter(ref num2); num2 = Mathf.Clamp(num2, 30f, this._owner.position.width * 0.8f); if (!Mathf.Approximately(num2, this.Width)) { this.Width = num2; EditorWindow2 editorWindow2 = this._owner as EditorWindow2; if (editorWindow2 != null) { editorWindow2.TriggerResize(); } } }
// Token: 0x06000197 RID: 407 RVA: 0x0000C3F4 File Offset: 0x0000A5F4 private void OnGUI() { if (this._result == null || this._searchresult == null || this._searchfor == null) { this.Init(); } EditorGUILayout.BeginHorizontal(new GUILayoutOption[0]); EditorGUILayout.BeginHorizontal(new GUILayoutOption[] { GUILayout.Width(this._splitterWidth) }); this._searchfor.OnGUI(); EditorGUILayout.EndHorizontal(); if (EditorGUILayout2.HorizontalSplitter(ref this._splitterWidth)) { EditorPrefs.SetFloat(string.Format("{0}.FindAssetUsage.SplitterWidth", this._productId), this._splitterWidth); } this._splitterWidth = Mathf.Clamp(this._splitterWidth, Mathf.Max(64f, base.position.width * 0.05f), Mathf.Min(base.position.width - 64f, base.position.width * 0.95f)); this._searchresult.OnGUI(); EditorGUILayout.EndHorizontal(); }