Author: jackson
Date: 2005-04-28 17:23:26 -0400 (Thu, 28 Apr 2005)
New Revision: 43748

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
        * ThemeWin32Classic.cs: Don't fill the middle of progress
        bars. This fills areas outside of the clip bounds that don't need
        to be filled.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-04-28 20:48:28 UTC (rev 43747)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-04-28 21:23:26 UTC (rev 43748)
@@ -1,5 +1,11 @@
 2005-04-28  Jackson Harper  <[EMAIL PROTECTED]>
 
+       * ThemeWin32Classic.cs: Don't fill the middle of progress
+       bars. This fills areas outside of the clip bounds that don't need
+       to be filled.
+
+2005-04-28  Jackson Harper  <[EMAIL PROTECTED]>
+
        * Control.cs: Don't expose functionality to touch the image buffers.
        * ProgressBar.cs:
        * ListView.cs: We do not need to (and no longer can) manipulate

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2005-04-28 20:48:28 UTC (rev 43747)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2005-04-28 21:23:26 UTC (rev 43748)
@@ -2253,7 +2253,7 @@
                        increment = block_width + space_betweenblocks;
 
                        /* Draw border */
-                       CPDrawBorder3D (dc, ctrl.ClientRectangle, 
Border3DStyle.SunkenInner, Border3DSide.All, ColorButtonFace);
+                       CPDrawBorder3D (dc, ctrl.ClientRectangle, 
Border3DStyle.SunkenInner, Border3DSide.All & ~Border3DSide.Middle, 
ColorButtonFace);
                        
                        /* Draw Blocks */
                        block_rect = new Rectangle (client_area.X, 
client_area.Y, block_width, client_area.Height);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to