dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms/Themes DefaultThemePa


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Windows.Forms/Themes DefaultThemePainter.cs, 1.23, 1.24
Date: Fri, 21 Nov 2003 07:14:58 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Themes
In directory subversions:/tmp/cvs-serv18355/System.Windows.Forms/Themes

Modified Files:
        DefaultThemePainter.cs 
Log Message:


Off by one bug when drawing the outline of a flat checkbox.


Index: DefaultThemePainter.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Themes/DefaultThemePainter.cs,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** DefaultThemePainter.cs      21 Nov 2003 07:04:28 -0000      1.23
--- DefaultThemePainter.cs      21 Nov 2003 07:14:55 -0000      1.24
***************
*** 989,998 ****
                                        {
                                                graphics.DrawRectangle
!                                                       
(SystemPens.ControlDark, x, y, width, height);
                                        }
                                        else
                                        {
                                                graphics.DrawRectangle
!                                                       
(SystemPens.ControlText, x, y, width, height);
                                        }
                                        x += 1;
--- 989,1000 ----
                                        {
                                                graphics.DrawRectangle
!                                                       
(SystemPens.ControlDark, x, y,
!                                                        width - 1, height - 1);
                                        }
                                        else
                                        {
                                                graphics.DrawRectangle
!                                                       
(SystemPens.ControlText, x, y,
!                                                        width - 1, height - 1);
                                        }
                                        x += 1;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]