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

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

[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkit.cs,1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkit.cs,1.6,1.7 IToolkitWindow.cs,1.4,1.5
Date: Sun, 22 Jun 2003 00:07:55 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit
In directory subversions:/tmp/cvs-serv5798/System.Drawing/Toolkit

Modified Files:
        IToolkit.cs IToolkitWindow.cs 
Log Message:


Change the way that client area adjustments are performed.


Index: IToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit/IToolkit.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** IToolkit.cs 21 Jun 2003 11:22:19 -0000      1.6
--- IToolkit.cs 22 Jun 2003 04:07:52 -0000      1.7
***************
*** 128,131 ****
--- 128,139 ----
        Rectangle GetWorkingArea();
  
+       // 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.
+       void GetWindowAdjust(out int leftAdjust, out int topAdjust,
+                                                out int rightAdjust, out int 
bottomAdjust,
+                                                ToolkitWindowFlags flags);
+ 
  }; // interface IToolkit
  

Index: IToolkitWindow.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit/IToolkitWindow.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** IToolkitWindow.cs   12 Jun 2003 05:50:29 -0000      1.4
--- IToolkitWindow.cs   22 Jun 2003 04:07:52 -0000      1.5
***************
*** 77,85 ****
        void SetWindowFlags(ToolkitWindowFlags flags);
  
-       // Get the adjustment values for the client area.
-       // On entry, all values are zero.
-       void GetClientAreaAdjust(ref int leftAdjust, ref int topAdjust,
-                                                        ref int rightAdjust, 
ref int bottomAdjust);
- 
        // Move this window to above one of its siblings.
        void MoveToAbove(IToolkitWindow sibling);
--- 77,80 ----





reply via email to

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