public static ColorSettings HighContrastColorScheme() { ColorSettings scheme = new ColorSettings(); scheme.ProjectViewBackColor = System.Drawing.SystemColors.ControlDark; scheme.TrackBackColor = System.Drawing.SystemColors.Control; scheme.TrackSelectedBackColor = System.Drawing.SystemColors.Highlight; scheme.TrackForeColor = System.Drawing.SystemColors.ControlText; scheme.TrackSelectedForeColor = System.Drawing.SystemColors.HighlightText; scheme.AudioBlockBackColor = System.Drawing.SystemColors.ControlLightLight; scheme.AudioBlockSelectedBackColor = scheme.TrackSelectedBackColor; scheme.WaveformMonoPen = new Pen(System.Drawing.SystemColors.ControlText); scheme.TrackLayoutSelectedBrush = new SolidBrush(System.Drawing.SystemColors.Highlight); scheme.WaveformChannelSelectedPen = new Pen(System.Drawing.SystemColors.HighlightText); scheme.WaveformBaseLinePen = new Pen(System.Drawing.SystemColors.ControlText); scheme.WaveformBaseLineSelectedPen = scheme.WaveformBaseLinePen; return(scheme); }
public Settings() { this.colorScheme = ColorSettings.DefaultColorScheme(); this.colorScheme_HighContrast = ColorSettings.HighContrastColorScheme(); }
// Set the color scheme for the project view private void SetColorScheme(ColorSettings scheme) { this.colorScheme = scheme; this.projectView.Colors = scheme; }