Esempio n. 1
0
        /// <summary>
        /// Apply settings to all panels.
        /// </summary>
        internal static void ApplySettings()
        {
            mainUI.ApplySettings();
            foreach (var pluginUI in pluginUIs)
            {
                pluginUI.ApplySettings();
                pluginUI.ClearSquiggles();
            }

            mainUI.ClearSquiggles();
            mainUI.AddSquiggles();
            if (mainUI.Settings.HighlightOnlyActivePanelEntries)
            {
                if (ActiveUI.GroupId != null)
                {
                    ActiveUI.AddSquiggles();
                }
            }
            else
            {
                foreach (var pluginUI in pluginUIs)
                {
                    if (!pluginUI.ParentPanel.IsHidden)
                    {
                        pluginUI.AddSquiggles();
                    }
                }
            }
        }