diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-03 12:48:04 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-03 12:48:04 +0200 |
| commit | 6fd66d56dd5789eae345a517dc42f3488cf7aca6 (patch) | |
| tree | d8668c1870fa1cb91edac7d3d788aeed174a4c1f /src/GraphicObjects/Window.cs | |
| parent | fcfe9c2189fbbb00b0901b246e401b0f05413c7f (diff) | |
* GOLib.sln:
* GOLib.csproj:
* GOLIBTest_0.cs:
* GOLIBTest_fps.cs:
* ReflexionExtensions.cs:
* Label.cs:
* test4.goml:
* GenericStack.cs:
* PrivateContainer.cs:
* CompilerServices.cs:
* Tests.csproj:
* member.svg:
* GOLIBTest_TypeViewer.cs:
* tmpMembers.goml:
* testTypeViewer.goml: Type viewer
* Group.cs:
* Window.cs:
* GraphicObject.cs: set OnLayoutChanges to public
* Point.cs: Implement length
Diffstat (limited to 'src/GraphicObjects/Window.cs')
| -rw-r--r-- | src/GraphicObjects/Window.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/GraphicObjects/Window.cs b/src/GraphicObjects/Window.cs index 7eb910cc..0fd2b780 100644 --- a/src/GraphicObjects/Window.cs +++ b/src/GraphicObjects/Window.cs @@ -36,8 +36,19 @@ namespace go void Window_MouseMove (object sender, OpenTK.Input.MouseMoveEventArgs e) { + +// if ((e.Position - this.Slot.TopLeft).Length < 3) +// System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.SizeNWSE; +// else +// System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default; + if (!e.Mouse.IsButtonDown (MouseButton.Left)) return; + + // + + System.Windows.Forms.Cursor.Show();// = System.Windows.Forms.Cursors.SizeAll; + this.TopContainer.redrawClip.AddRectangle (this.ScreenCoordinates(this.Slot)); this.Left += e.XDelta; this.Top += e.YDelta; |