[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.6,1.7 |
Date: |
Sat, 21 Jun 2003 07:16:21 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp
In directory subversions:/tmp/cvs-serv20918/System.Drawing.Xsharp
Modified Files:
DrawingToolkit.cs
Log Message:
Split the event loop into "ProcessPendingEvents()" and
"WaitForEvent()" so that it is possible to return back to the
application between events.
Index: DrawingToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingToolkit.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** DrawingToolkit.cs 14 Jun 2003 11:06:19 -0000 1.6
--- DrawingToolkit.cs 21 Jun 2003 11:16:18 -0000 1.7
***************
*** 132,138 ****
public bool ProcessEvents(bool waitForEvent)
{
! // TODO
! app.Run();
! return false;
}
--- 132,143 ----
public bool ProcessEvents(bool waitForEvent)
{
! if(waitForEvent)
! {
! return app.WaitForEvent();
! }
! else
! {
! return app.ProcessPendingEvents();
! }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingToolkit.cs,1.6,1.7,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp Application.cs,1.2,1.3 Display.cs,1.5,1.6 Timer.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Win32 DrawingToolkit.cs,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp Application.cs,1.2,1.3 Display.cs,1.5,1.6 Timer.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Win32 DrawingToolkit.cs,1.1,1.2
- Index(es):