コード例 #1
0
        /// <summary>
        /// Get the default color settings for high-contrast mode.
        /// </summary>
        public static ColorSettings DefaultColorSettingsHC()
        {
            ColorSettings settings = DefaultColorSettings();

            // Blocks don't change color much in high contrast settings.
            settings.BlockBackColor_Custom  = SystemColors.Window;
            settings.BlockBackColor_Empty   = SystemColors.Window;
            settings.BlockBackColor_Heading = SystemColors.Window;
            settings.BlockBackColor_Page    = SystemColors.Window;
            settings.BlockBackColor_Silence = SystemColors.Window;
            settings.BlockBackColor_Anchor  = SystemColors.Window;
            settings.BlockBackColor_TODO    = SystemColors.Window;

            settings.BlockForeColor_Custom  = SystemColors.ControlText;
            settings.BlockForeColor_Empty   = SystemColors.ControlText;
            settings.BlockForeColor_Heading = SystemColors.ControlText;
            settings.BlockForeColor_Page    = SystemColors.ControlText;
            settings.BlockForeColor_TODO    = SystemColors.ControlText;

            settings.TransportBarLabelBackColor  = Color.DarkSlateGray;
            settings.mWaveformChannel1Color      = Color.Green;
            settings.mWaveformChannel2Color      = Color.Green;
            settings.mWaveformMonoColor          = Color.Green;
            settings.mWaveformCursorColor        = Color.Yellow;
            settings.EmptySectionBackgroundColor = Color.Green;
            settings.HighlightedSectionNodeWithoutSelectionColor = System.Drawing.SystemColors.Control;
            return(settings);
        }
コード例 #2
0
        /// <summary>
        /// Get the default color settings.
        /// </summary>
        public static ColorSettings DefaultColorSettings()
        {
            ColorSettings settings = new ColorSettings();

            settings.BlockBackColor_Custom   = Color.Orange;
            settings.BlockBackColor_Empty    = Color.LightSkyBlue;
            settings.BlockBackColor_Heading  = Color.LightGreen;
            settings.BlockBackColor_Page     = Color.LightSalmon;
            settings.BlockBackColor_Plain    = SystemColors.Window;
            settings.BlockBackColor_Silence  = Color.Purple;
            settings.BlockBackColor_Selected = SystemColors.Highlight;
            settings.BlockBackColor_TODO     = Color.Red;
            settings.BlockBackColor_Anchor   = Color.Chocolate;
            settings.BlockBackColor_Unused   = SystemColors.ControlDark;

            settings.BlockForeColor_Custom   = SystemColors.HighlightText;
            settings.BlockForeColor_Empty    = SystemColors.ControlText;
            settings.BlockForeColor_Heading  = SystemColors.ControlText;
            settings.BlockForeColor_Page     = SystemColors.ControlText;
            settings.BlockForeColor_Plain    = SystemColors.ControlText;
            settings.BlockForeColor_Selected = SystemColors.HighlightText;
            settings.BlockForeColor_Silence  = SystemColors.HighlightText;
            settings.BlockForeColor_TODO     = Color.Yellow;
            settings.BlockForeColor_Anchor   = SystemColors.HighlightText;
            settings.BlockForeColor_Unused   = SystemColors.HighlightText;

            settings.BlockLayoutSelectedColor      = SystemColors.Highlight;
            settings.ContentViewBackColor          = SystemColors.AppWorkspace;
            settings.EditableLabelTextBackColor    = SystemColors.Window;
            settings.ProjectViewBackColor          = SystemColors.Control;
            settings.StripBackColor                = SystemColors.Control;
            settings.StripCursorSelectedBackColor  = SystemColors.Highlight;
            settings.StripForeColor                = SystemColors.ControlText;
            settings.StripSelectedBackColor        = SystemColors.Highlight;
            settings.StripSelectedForeColor        = SystemColors.HighlightText;
            settings.StripUnusedBackColor          = SystemColors.ControlDark;
            settings.StripUnusedForeColor          = SystemColors.ControlText;
            settings.StripWithoutPhrasesBackcolor  = SystemColors.GradientActiveCaption;
            settings.TOCViewBackColor              = SystemColors.Window;
            settings.TOCViewForeColor              = SystemColors.ControlText;
            settings.TOCViewUnusedColor            = SystemColors.InactiveCaptionText;
            settings.ToolTipForeColor              = SystemColors.ControlText;
            settings.TransportBarBackColor         = SystemColors.Control;
            settings.TransportBarLabelBackColor    = Color.Azure;
            settings.TransportBarLabelForeColor    = SystemColors.ControlText;
            settings.WaveformBackColor             = SystemColors.Window;
            settings.WaveformBaseLineColor         = SystemColors.ControlText;
            settings.WaveformHighlightedBackColor  = SystemColors.Highlight;
            settings.mWaveFormHighlightedForeColor = SystemColors.HighlightText;

            settings.mWaveformChannel1Color        = Color.FromArgb(127, Color.Blue);
            settings.mWaveformChannel2Color        = Color.FromArgb(127, Color.Red);
            settings.mWaveformMonoColor            = Color.FromArgb(127, Color.Blue);
            settings.mWaveformSelectionColor       = SystemColors.Highlight;
            settings.mWaveformCursorColor          = Color.Red;
            settings.FineNavigationColor           = Color.Aqua;
            settings.RecordingHighlightPhraseColor = Color.DarkSeaGreen;
            settings.EmptySectionBackgroundColor   = Color.LightPink;
            settings.HighlightedSectionNodeWithoutSelectionColor = System.Drawing.SystemColors.Control;
            return(settings);
        }