GetButtonContent() private static method

private static GetButtonContent ( UnityEditor.Audio.AudioMixerController controller ) : GUIContent
controller UnityEditor.Audio.AudioMixerController
return UnityEngine.GUIContent
        internal static void Popup(AudioMixerController controller, GUIStyle style, params GUILayoutOption[] options)
        {
            GUIContent buttonContent = AudioMixerExposedParametersPopup.GetButtonContent(controller);
            Rect       rect          = GUILayoutUtility.GetRect(buttonContent, style, options);

            if (EditorGUI.DropdownButton(rect, buttonContent, FocusType.Passive, style))
            {
                PopupWindow.Show(rect, new AudioMixerExposedParametersPopup(controller), null, ShowMode.PopupMenuWithKeyboardFocus);
            }
        }
        internal static void Popup(AudioMixerController controller, GUIStyle style, params GUILayoutOption[] options)
        {
            GUIContent buttonContent = AudioMixerExposedParametersPopup.GetButtonContent(controller);
            Rect       rect          = GUILayoutUtility.GetRect(buttonContent, style, options);

            if (!EditorGUI.ButtonMouseDown(rect, buttonContent, FocusType.Passive, style))
            {
                return;
            }
            PopupWindow.Show(rect, (PopupWindowContent) new AudioMixerExposedParametersPopup(controller));
        }