[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingToolkit
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingToolkit.cs,1.4,1.5 |
Date: |
Fri, 13 Jun 2003 08:30:33 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp
In directory subversions:/tmp/cvs-serv3275/System.Drawing.Xsharp
Modified Files:
DrawingToolkit.cs
Log Message:
Implement some housekeeping classes within the Forms API.
Index: DrawingToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingToolkit.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** DrawingToolkit.cs 13 Jun 2003 02:39:29 -0000 1.4
--- DrawingToolkit.cs 13 Jun 2003 12:30:31 -0000 1.5
***************
*** 359,362 ****
--- 359,371 ----
}
+ // Get the working area of the screen, excluding task bars, etc.
+ public System.Drawing.Rectangle GetWorkingArea()
+ {
+ // There's no straight-forward way to get the
working
+ // area under X, so we return the full screen
size.
+ return new System.Drawing.Rectangle
+ (new System.Drawing.Point(0,
0), GetScreenSize());
+ }
+
}; // class DrawingToolkit
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingToolkit.cs,1.4,1.5,
Rhys Weatherley <address@hidden> <=