Beispiel #1
0
        static void DoRefreshButton(
            bool isEnabled,
            MergeViewLogic mergeViewLogic)
        {
            GUI.enabled = isEnabled;

            if (GUILayout.Button(new GUIContent(
                                     Images.GetRefreshIcon())))
            {
                mergeViewLogic.Refresh();
            }

            GUI.enabled = true;
        }
Beispiel #2
0
        static void DoRefreshButton(
            bool isEnabled,
            PlasticGUIClient plasticClient,
            MergeViewLogic mergeViewLogic)
        {
            GUI.enabled = isEnabled;

            if (GUILayout.Button(new GUIContent(
                                     Images.GetRefreshIcon()), EditorStyles.toolbarButton))
            {
                mergeViewLogic.Refresh();
            }

            GUI.enabled = true;
        }