[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Win32 DrawingToolkit.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Win32 DrawingToolkit.cs,1.2,1.3 DrawingWindow.cs,1.1,1.2 |
Date: |
Sun, 22 Jun 2003 00:07:55 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32
In directory subversions:/tmp/cvs-serv5798/System.Drawing.Win32
Modified Files:
DrawingToolkit.cs DrawingWindow.cs
Log Message:
Change the way that client area adjustments are performed.
Index: DrawingToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32/DrawingToolkit.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** DrawingToolkit.cs 21 Jun 2003 11:22:19 -0000 1.2
--- DrawingToolkit.cs 22 Jun 2003 04:07:52 -0000 1.3
***************
*** 346,349 ****
--- 346,364 ----
}
+ // Get the adjustment values for a top-level window, to convert
+ // between window bounds and client bounds. Each value should
+ // be >= 0 and indicate the number of pixels to subtract from the
+ // windows bounds to get the client bounds.
+ public void GetWindowAdjust(out int leftAdjust, out int topAdjust,
+ out int rightAdjust,
out int bottomAdjust,
+
ToolkitWindowFlags flags)
+ {
+ // TODO
+ leftAdjust = 0;
+ topAdjust = 0;
+ rightAdjust = 0;
+ bottomAdjust = 0;
+ }
+
}; // class DrawingToolkit
Index: DrawingWindow.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32/DrawingWindow.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** DrawingWindow.cs 21 Jun 2003 01:23:53 -0000 1.1
--- DrawingWindow.cs 22 Jun 2003 04:07:52 -0000 1.2
***************
*** 81,91 ****
}
- // Get the adjustment values for the client area.
- // On entry, all values are zero.
- void IToolkitWindow.GetClientAreaAdjust(ref int leftAdjust, ref int
topAdjust, ref int rightAdjust, ref int bottomAdjust)
- {
- //Nothing to do
- }
-
// Move this window to below one of its siblings.
// Is this really useful?
--- 81,84 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Win32 DrawingToolkit.cs,1.2,1.3 DrawingWindow.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms NativeWindow.cs,NONE,1.1
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkit.cs,1.6,1.7 IToolkitWindow.cs,1.4,1.5
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms NativeWindow.cs,NONE,1.1
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkit.cs,1.6,1.7 IToolkitWindow.cs,1.4,1.5
- Index(es):