Author: jordi
Date: 2005-06-16 06:29:41 -0400 (Thu, 16 Jun 2005)
New Revision: 46081
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
2005-06-16 Jordi Mas i Hernandez <[EMAIL PROTECTED]>
* ThemeWin32Classic.cs: fixes colour
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-06-16 10:18:04 UTC (rev 46080)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-06-16 10:29:41 UTC (rev 46081)
@@ -1,3 +1,7 @@
+2005-06-16 Jordi Mas i Hernandez <[EMAIL PROTECTED]>
+
+ * ThemeWin32Classic.cs: fixes colour
+
2005-06-15 Peter Bartok <[EMAIL PROTECTED]>
* MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer
support)
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2005-06-16 10:18:04 UTC (rev 46080)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2005-06-16 10:29:41 UTC (rev 46081)
@@ -5165,9 +5165,8 @@
dc.DrawLine (ResPool.GetPen
(ColorButtonHilight), area.X + area.Width -1 , area.Y, area.X + area.Width -1,
area.Y + area.Height);
- // FIXME: These colors are not correct.
Microsoft uses different ones but I didn't find them.
- dc.DrawLine (ResPool.GetPen (ColorButtonLight),
area.X + 1, area.Bottom - 2, area.Right - 2, area.Bottom - 2);
- dc.DrawLine (ResPool.GetPen (ColorButtonLight),
area.Right - 2, area.Top + 1, area.Right - 2, area.Bottom - 2);
+ dc.DrawLine (ResPool.GetPen
(ColorActiveBorder), area.X + 1, area.Bottom - 2, area.Right - 2, area.Bottom -
2);
+ dc.DrawLine (ResPool.GetPen
(ColorActiveBorder), area.Right - 2, area.Top + 1, area.Right - 2, area.Bottom
- 2);
dc.DrawLine (ResPool.GetPen
(ColorButtonDkShadow), area.X + 1, area.Top + 1, area.X + 1, area.Bottom - 3);
dc.DrawLine (ResPool.GetPen
(ColorButtonDkShadow), area.X + 1, area.Top + 1, area.Right - 3, area.Top + 1);
break;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches