예제 #1
0
파일: Settings.cs 프로젝트: daisy/obi
        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);
        }
예제 #2
0
파일: Settings.cs 프로젝트: daisy/obi
 public Settings()
 {
     this.colorScheme = ColorSettings.DefaultColorScheme();
     this.colorScheme_HighContrast = ColorSettings.HighContrastColorScheme();
 }
예제 #3
0
 // Set the color scheme for the project view
 private void SetColorScheme(ColorSettings scheme)
 {
     this.colorScheme        = scheme;
     this.projectView.Colors = scheme;
 }