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 IToolkitEvent


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkitEventSink.cs,1.1,1.2 IToolkitWindow.cs,1.2,1.3
Date: Wed, 11 Jun 2003 06:37:30 -0400

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

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


Process user-initiated move and resize events from the window manager;
implement "SetBoundsCore" and window invalidation.


Index: IToolkitEventSink.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit/IToolkitEventSink.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** IToolkitEventSink.cs        11 Jun 2003 07:07:18 -0000      1.1
--- IToolkitEventSink.cs        11 Jun 2003 10:37:27 -0000      1.2
***************
*** 77,80 ****
--- 77,88 ----
                 int clicks, int x, int y, int delta);
  
+       // Event that is emitted when the window is moved by
+       // external means (e.g. the user dragging the window).
+       void ToolkitExternalMove(int x, int y);
+ 
+       // Event that is emitted when the window is resized by
+       // external means (e.g. the user resizing the window).
+       void ToolkitExternalResize(int width, int height);
+ 
  }; // interface IToolkitEventSink
  

Index: IToolkitWindow.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit/IToolkitWindow.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** IToolkitWindow.cs   11 Jun 2003 07:07:18 -0000      1.2
--- IToolkitWindow.cs   11 Jun 2003 10:37:27 -0000      1.3
***************
*** 92,95 ****
--- 92,104 ----
        IntPtr GetHwnd();
  
+       // Invalidate this window.
+       void Invalidate();
+ 
+       // Invalidate a rectangle within this window.
+       void Invalidate(int x, int y, int width, int height);
+ 
+       // Force an update of all invalidated regions.
+       void Update();
+ 
        // Set the event sink to use for this window.
        void SetEventSink(IToolkitEventSink sink);





reply via email to

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