GUI/SensorNotifyIcon.cs
changeset 44 c150de283ca0
parent 43 5b7398d061b7
child 57 142907c75be4
     1.1 --- a/GUI/SensorNotifyIcon.cs	Sat Feb 13 17:08:36 2010 +0000
     1.2 +++ b/GUI/SensorNotifyIcon.cs	Sun Feb 14 20:16:30 2010 +0000
     1.3 @@ -107,9 +107,9 @@
     1.4        set { 
     1.5          this.color = value;
     1.6          this.darkColor = Color.FromArgb(255,
     1.7 -          Math.Max(this.color.R - 100, 0),
     1.8 -          Math.Max(this.color.G - 100, 0),
     1.9 -          Math.Max(this.color.B - 100, 0));
    1.10 +          this.color.R / 3,
    1.11 +          this.color.G / 3,
    1.12 +          this.color.B / 3);
    1.13          Brush brush = this.brush;
    1.14          this.brush = new SolidBrush(this.color);
    1.15          if (brush != null)