[Top][All Lists]
[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.17, 1.18 |
Date: |
Thu, 20 Nov 2003 00:53:54 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Themes
In directory subversions:/tmp/cvs-serv1398/System.Windows.Forms/Themes
Modified Files:
DefaultThemePainter.cs
Log Message:
Always use the "ScrollBar" and "ControlLightLight" colors to draw
the background of scroll bars, regardless of the foreground and
background colors, to match MS behaviour.
Index: DefaultThemePainter.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Themes/DefaultThemePainter.cs,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** DefaultThemePainter.cs 2 Nov 2003 22:14:38 -0000 1.17
--- DefaultThemePainter.cs 20 Nov 2003 00:53:52 -0000 1.18
***************
*** 1454,1459 ****
hatchBrush.Dispose();
if (hatchBrush == null)
! hatchBrush = new
HatchBrush(HatchStyle.Percent50,
! backColor, foreColor);
Color color;
--- 1454,1461 ----
hatchBrush.Dispose();
if (hatchBrush == null)
! hatchBrush = new HatchBrush
! (HatchStyle.Percent50,
! SystemColors.ScrollBar,
!
SystemColors.ControlLightLight);
Color color;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Windows.Forms/Themes DefaultThemePainter.cs, 1.17, 1.18,
Rhys Weatherley <address@hidden> <=