/[dotgnu-pnet]/pnetlib/System.Drawing.Xsharp/DrawingWindow.cs
ViewVC logotype

Diff of /pnetlib/System.Drawing.Xsharp/DrawingWindow.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by t3rmin4t0r, Mon Jul 19 14:57:15 2004 UTC revision 1.27 by Rich333, Thu Dec 30 07:31:17 2004 UTC
# Line 37  internal sealed class DrawingWindow : In Line 37  internal sealed class DrawingWindow : In
37          private bool hasCapture;          private bool hasCapture;
38          private static Xsharp.Cursor[] cursors;          private static Xsharp.Cursor[] cursors;
39    
40    
41          // Constructor.          // Constructor.
42          public DrawingWindow(IToolkit toolkit, Widget parent,          public DrawingWindow(IToolkit toolkit, Widget parent,
43                                                   int x, int y, int width, int height, IToolkitEventSink sink)                                                   int x, int y, int width, int height, IToolkitEventSink sink)
# Line 47  internal sealed class DrawingWindow : In Line 48  internal sealed class DrawingWindow : In
48                                  this.AutoMapChildren = false;                                  this.AutoMapChildren = false;
49                          }                          }
50    
51    
52          // Get the toolkit that owns this window.          // Get the toolkit that owns this window.
53          public IToolkit Toolkit          public IToolkit Toolkit
54                          {                          {
# Line 187  internal sealed class DrawingWindow : In Line 189  internal sealed class DrawingWindow : In
189          // Move this window to above one of its siblings.          // Move this window to above one of its siblings.
190          void IToolkitWindow.MoveToAbove(IToolkitWindow sibling)          void IToolkitWindow.MoveToAbove(IToolkitWindow sibling)
191                          {                          {
192                                  // TODO                                  // Move this window below the sibling widget.
193                                    MoveToAbove(sibling as Widget);
194                          }                          }
195    
196          // Move this window to below one of its siblings.          // Move this window to below one of its siblings.
197          void IToolkitWindow.MoveToBelow(IToolkitWindow sibling)          void IToolkitWindow.MoveToBelow(IToolkitWindow sibling)
198                          {                          {
199                                  // TODO                                  // Move this window below the sibling widget.
200                                    MoveToBelow(sibling as Widget);
201                          }                          }
202    
203          // Get the HWND for this window.  IntPtr.Zero if not supported.          // Get the HWND for this window.  IntPtr.Zero if not supported.
# Line 232  internal sealed class DrawingWindow : In Line 236  internal sealed class DrawingWindow : In
236                                  ModifyCursor(this, cursorType, frame);                                  ModifyCursor(this, cursorType, frame);
237                          }                          }
238    
239    
240          // Map an Xsharp key description into a "ToolkitKeys" value.          // Map an Xsharp key description into a "ToolkitKeys" value.
241          private static ToolkitKeys MapKey(KeyName key)          private static ToolkitKeys MapKey(KeyName key)
242                          {                          {
# Line 601  internal sealed class DrawingWindow : In Line 606  internal sealed class DrawingWindow : In
606                                          }                                          }
607                                  }                                  }
608                          }                          }
609            
610          // Convert an Xsharp.Region to System.Drawing.Region          // Convert an Xsharp.Region to System.Drawing.Region
611          internal static System.Drawing.Region RegionToDrawingRegion          internal static System.Drawing.Region RegionToDrawingRegion
612                                  (Xsharp.Region region)                                  (Xsharp.Region region)
# Line 731  internal sealed class DrawingWindow : In Line 736  internal sealed class DrawingWindow : In
736                                  }                                  }
737                          }                          }
738    
739                          void IToolkitWindow.SendBeginInvoke(IntPtr i_gch)          void IToolkitWindow.SendBeginInvoke(IntPtr i_gch)
740                          {                          {
741                                  base.SendBeginInvoke(i_gch);                                  base.SendBeginInvoke(i_gch);
742                          }                          }

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26