[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms ControlPaint.cs
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms ControlPaint.cs,1.8,1.9 |
Date: |
Mon, 07 Jul 2003 00:58:52 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv19641/System.Windows.Forms
Modified Files:
ControlPaint.cs
Log Message:
Shift the theme handling into the "System.Windows.Forms.Themes" namespace.
Index: ControlPaint.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/ControlPaint.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ControlPaint.cs 25 Jun 2003 00:44:05 -0000 1.8
--- ControlPaint.cs 7 Jul 2003 04:58:50 -0000 1.9
***************
*** 23,29 ****
--- 23,33 ----
{
+ using System.Windows.Forms.Themes;
using System.Drawing;
using System.Drawing.Drawing2D;
+ // The real work is done in "System.Windows.Forms.Themes.DefaultThemePainter",
+ // where it can be easily overridden for theme-specific rendering.
+
[...1352 lines suppressed...]
(Rectangle rectangle, Color backColor)
{
! // TODO
}
--- 535,548 ----
StringFormat format)
{
! ThemeManager.MainPainter.DrawStringDisabled
! (graphics, s, font, color,
layoutRectangle, format);
}
// Draw a filled reversible rectangle.
public static void FillReversibleRectangle
(Rectangle rectangle, Color backColor)
{
! ThemeManager.MainPainter.FillReversibleRectangle
! (rectangle, backColor);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms ControlPaint.cs,1.8,1.9,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1121,1.1122
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms/Themes DefaultThemePainter.cs,NONE,1.1 IThemePainter.cs,NONE,1.1 Makefile,NONE,1.1 ThemeManager.cs,NONE,1.1
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1121,1.1122
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms/Themes DefaultThemePainter.cs,NONE,1.1 IThemePainter.cs,NONE,1.1 Makefile,NONE,1.1 ThemeManager.cs,NONE,1.1
- Index(es):