platform/core/csapi/opentk.git
8 years agoUpdated nuspecs to change package Id to OpenTK.Community
Varon [Sat, 30 Apr 2016 10:17:45 +0000 (12:17 +0200)]
Updated nuspecs to change package Id to OpenTK.Community

8 years agoRemove duplicate test files
cra0zy [Wed, 11 May 2016 08:47:17 +0000 (10:47 +0200)]
Remove duplicate test files

8 years agoNUnit Tests from Manuli and Wcdeich4 (#373)
William Deich [Thu, 21 Apr 2016 15:28:37 +0000 (08:28 -0700)]
NUnit Tests from Manuli and Wcdeich4 (#373)

* NUnit Tests from Manuli and Wcdeich4

8 years agoMerge pull request #374 from ReadmeCritic/patch-2
Harry [Mon, 11 Apr 2016 15:14:47 +0000 (17:14 +0200)]
Merge pull request #374 from ReadmeCritic/patch-2

[readme] Update Tutorials for OpenGL link

8 years ago[readme] Update Tutorials for OpenGL link
ReadmeCritic [Mon, 28 Mar 2016 14:44:52 +0000 (07:44 -0700)]
[readme] Update Tutorials for OpenGL link

8 years agoMerge pull request #370 from amulware/improve-gethashcode
Harry [Mon, 28 Mar 2016 09:20:08 +0000 (11:20 +0200)]
Merge pull request #370 from amulware/improve-gethashcode

improved GetHashCode overrides of float/double Math types, closes #355

8 years agoMerge pull request #369 from cra0zy/fixminus
Paul Scharf [Wed, 16 Mar 2016 10:03:49 +0000 (11:03 +0100)]
Merge pull request #369 from cra0zy/fixminus

Fix gamepad y-axis inversion to avoid integer overflow

8 years agoimproved GetHashCode override of all float and double based Vector/Matrix/Quaternion...
amulware [Wed, 16 Mar 2016 07:11:13 +0000 (08:11 +0100)]
improved GetHashCode override of all float and double based Vector/Matrix/Quaternion/Box types

8 years agoFix axis range
cra0zy [Tue, 15 Mar 2016 18:21:04 +0000 (19:21 +0100)]
Fix axis range

8 years agoMerge pull request #354 from mrhelmut/RetinaMouseFix2TK
Harry [Mon, 14 Mar 2016 16:29:54 +0000 (17:29 +0100)]
Merge pull request #354 from mrhelmut/RetinaMouseFix2TK

Scaling mouse coordinate to match Retina scaling

8 years agoMerge pull request #356 from skkestrel/develop
Paul Scharf [Tue, 8 Mar 2016 05:03:58 +0000 (06:03 +0100)]
Merge pull request #356 from skkestrel/develop

improvements to Math/Box2 and addition of Math/Box2d

8 years agoupdate license headers
kevin [Mon, 7 Mar 2016 21:03:03 +0000 (13:03 -0800)]
update license headers

8 years agoupdate license text for Box2*
kevin [Mon, 7 Mar 2016 20:42:33 +0000 (12:42 -0800)]
update license text for Box2*

8 years agoremove FromCorners, add Contains overloads
kevin [Sun, 6 Mar 2016 22:01:11 +0000 (14:01 -0800)]
remove FromCorners, add Contains overloads

8 years agoMerge pull request #347 from TD25/develop
Harry [Sun, 6 Mar 2016 14:59:46 +0000 (15:59 +0100)]
Merge pull request #347 from TD25/develop

Fixed few bugs related to getting mouse coordinates

8 years agoFixed few bugs related to getting mouse coordinates
TD25 [Mon, 22 Feb 2016 00:27:18 +0000 (02:27 +0200)]
Fixed few bugs related to getting mouse coordinates

8 years agodistinguish between Translate and Translated
kevin [Thu, 3 Mar 2016 04:35:20 +0000 (20:35 -0800)]
distinguish between Translate and Translated

8 years agonormalize indentation
kevin [Thu, 3 Mar 2016 04:27:03 +0000 (20:27 -0800)]
normalize indentation

8 years agoadd double precision Box2
kevin [Thu, 3 Mar 2016 04:22:52 +0000 (20:22 -0800)]
add double precision Box2

8 years agoadd more functionality to Box2
kevin [Thu, 3 Mar 2016 02:56:43 +0000 (18:56 -0800)]
add more functionality to Box2

8 years agoScaling mouse coordinate to match Retina scaling
mrhelmut [Tue, 9 Feb 2016 12:52:37 +0000 (13:52 +0100)]
Scaling mouse coordinate to match Retina scaling

8 years agoMerge pull request #353 from mrhelmut/MappingUpdateTK
Harry [Fri, 26 Feb 2016 13:00:03 +0000 (13:00 +0000)]
Merge pull request #353 from mrhelmut/MappingUpdateTK

Gamepad mapping update

8 years agoGamepad mapping update
Thomas Altenburger [Fri, 26 Feb 2016 10:00:54 +0000 (11:00 +0100)]
Gamepad mapping update

8 years agoMerge pull request #350 from mrhelmut/GamePadYFix
Paul Scharf [Fri, 26 Feb 2016 09:00:21 +0000 (10:00 +0100)]
Merge pull request #350 from mrhelmut/GamePadYFix

Invert Y axis on all GamePad

8 years agoMerge pull request #352 from mrhelmut/SDL2GamePadInstanceId
Harry [Thu, 25 Feb 2016 22:42:25 +0000 (23:42 +0100)]
Merge pull request #352 from mrhelmut/SDL2GamePadInstanceId

Fix SDL2 instance enumeration and mapping

8 years agoMerge pull request #351 from mrhelmut/SDL2Screensaver
Harry [Thu, 25 Feb 2016 22:34:44 +0000 (23:34 +0100)]
Merge pull request #351 from mrhelmut/SDL2Screensaver

Deactivate screensaver on SDL2

8 years agoFix SDL2 instance enumeration and mapping
Thomas Altenburger [Thu, 25 Feb 2016 19:19:27 +0000 (20:19 +0100)]
Fix SDL2 instance enumeration and mapping

8 years agoDeactivate screensaver on SDL2
Thomas Altenburger [Wed, 10 Feb 2016 16:55:47 +0000 (17:55 +0100)]
Deactivate screensaver on SDL2

8 years agoMerge pull request #348 from amulware/fix-vector3-matrix4-interaction
Harry [Thu, 25 Feb 2016 16:52:52 +0000 (17:52 +0100)]
Merge pull request #348 from amulware/fix-vector3-matrix4-interaction

Removed confusing Vector3 Matrix4 interactions introduced with #331

8 years agoremoved confusing Vector3 Matrix4 interactions introduced with #331
amulware [Thu, 25 Feb 2016 15:38:00 +0000 (16:38 +0100)]
removed confusing Vector3 Matrix4 interactions introduced with #331

8 years agoFix tabs/spaces and righthandtransform caused by #331
cra0zy [Sat, 20 Feb 2016 19:55:15 +0000 (20:55 +0100)]
Fix tabs/spaces and righthandtransform caused by #331

8 years agoMerge pull request #331 from MatthiasHarvey/develop
William Deich [Sat, 20 Feb 2016 19:18:40 +0000 (14:18 -0500)]
Merge pull request #331 from MatthiasHarvey/develop

Vector transform operators see #329

8 years agoUpdated docs
Matthias [Sat, 20 Feb 2016 13:24:02 +0000 (15:24 +0200)]
Updated docs

8 years agoAdded missing operator for Vector3 * Matrix4
Matthias [Sat, 20 Feb 2016 13:18:12 +0000 (15:18 +0200)]
Added missing operator for Vector3 * Matrix4

8 years agoAdded operators for Mat * Vec
Matthias [Sat, 20 Feb 2016 13:16:37 +0000 (15:16 +0200)]
Added operators for Mat * Vec

8 years agoAdded the non-ref RightHandedTransform
Matthias [Sat, 20 Feb 2016 13:06:18 +0000 (15:06 +0200)]
Added the non-ref RightHandedTransform

8 years agoAdded RightHandedTransform
Matthias [Sat, 20 Feb 2016 13:00:21 +0000 (15:00 +0200)]
Added RightHandedTransform

8 years agoSwapped order of parameters for Vec Mat multiplication operator
Matthias [Sat, 20 Feb 2016 12:34:59 +0000 (14:34 +0200)]
Swapped order of parameters for Vec Mat multiplication operator

8 years agoMerge remote-tracking branch 'upstream/develop' into develop
Matthias [Sat, 20 Feb 2016 11:44:23 +0000 (13:44 +0200)]
Merge remote-tracking branch 'upstream/develop' into develop

8 years agoMerge pull request #345 from cra0zy/linuximp
William Deich [Fri, 19 Feb 2016 19:09:06 +0000 (14:09 -0500)]
Merge pull request #345 from cra0zy/linuximp

[Linux X11] Fix incorrect window state if it was set while the window was invisible

8 years ago[Linux X11] Fix incorrect window state if it was set while the window was invisible
cra0zy [Fri, 19 Feb 2016 17:03:11 +0000 (18:03 +0100)]
[Linux X11] Fix incorrect window state if it was set while the window was invisible

8 years agoMerge pull request #335 from mrhelmut/HIDFix
Harry [Fri, 19 Feb 2016 11:24:14 +0000 (12:24 +0100)]
Merge pull request #335 from mrhelmut/HIDFix

Fix for multiple HID driver issues

8 years agoMerge pull request #343 from gitter-badger/gitter-badge
Harry [Thu, 18 Feb 2016 10:57:59 +0000 (11:57 +0100)]
Merge pull request #343 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

8 years agoAdd Gitter badge
The Gitter Badger [Thu, 18 Feb 2016 10:51:10 +0000 (10:51 +0000)]
Add Gitter badge

8 years agoMerge pull request #320 from cra0zy/otkwidget
William Deich [Tue, 16 Feb 2016 19:17:28 +0000 (14:17 -0500)]
Merge pull request #320 from cra0zy/otkwidget

GLWidget for Gtk 2 and 3

8 years agoRemove notice of leave
cra0zy [Tue, 16 Feb 2016 17:00:42 +0000 (18:00 +0100)]
Remove notice of leave

8 years agoNotice of leave
Fraser Waters [Mon, 18 Jan 2016 19:17:31 +0000 (19:17 +0000)]
Notice of leave

8 years agoFixes keyboard being recognized as 2 HID devices
Thomas Altenburger [Fri, 8 Jan 2016 12:16:38 +0000 (13:16 +0100)]
Fixes keyboard being recognized as 2 HID devices

8 years agoFix HID WinRaw driver to handle PS4 controller
Thomas Altenburger [Fri, 8 Jan 2016 10:43:39 +0000 (11:43 +0100)]
Fix HID WinRaw driver to handle PS4 controller

8 years agoFix PS4 controller mapping on Windows
Thomas Altenburger [Fri, 8 Jan 2016 10:43:05 +0000 (11:43 +0100)]
Fix PS4 controller mapping on Windows

8 years agoInvert Y axis on all GamePad
Thomas Altenburger [Fri, 8 Jan 2016 08:13:26 +0000 (09:13 +0100)]
Invert Y axis on all GamePad

8 years agoMultiplication operator for Matrix-Vector transformation and Quaternion-Vector transf...
Matthias [Mon, 4 Jan 2016 10:34:02 +0000 (12:34 +0200)]
Multiplication operator for Matrix-Vector transformation and Quaternion-Vector transformations

8 years agoMerge pull request #328 from WardBenjamin/develop
Fraser Waters [Sat, 2 Jan 2016 23:28:34 +0000 (23:28 +0000)]
Merge pull request #328 from WardBenjamin/develop

Fix documentation for NativeWindow.Width

8 years agoFix documentation for NativeWindow.WindowBorder
Benjamin Ward [Sat, 2 Jan 2016 17:04:14 +0000 (12:04 -0500)]
Fix documentation for NativeWindow.WindowBorder

8 years agoFix documentation for NativeWindow.WindowState
Benjamin Ward [Sat, 2 Jan 2016 17:00:01 +0000 (12:00 -0500)]
Fix documentation for NativeWindow.WindowState

8 years agoFix documentation for NativeWindow.Width
Benjamin Ward [Sat, 2 Jan 2016 16:40:16 +0000 (11:40 -0500)]
Fix documentation for NativeWindow.Width

8 years agoMerge pull request #199 from Frassle/anydown
Fraser Waters [Mon, 28 Dec 2015 00:16:37 +0000 (00:16 +0000)]
Merge pull request #199 from Frassle/anydown

[Input] Add IsAnyKey/ButtonDown to Keyboard/MouseState.

8 years agoMerge pull request #326 from neonsoup/dll_mdb
Fraser Waters [Mon, 28 Dec 2015 00:15:37 +0000 (00:15 +0000)]
Merge pull request #326 from neonsoup/dll_mdb

Rewrite program file name confusion: .mdb vs .dll.mdb

8 years agoRewrite .mdb file name fix
neonsoup [Sun, 27 Dec 2015 20:40:51 +0000 (00:40 +0400)]
Rewrite .mdb file name fix
-Fixed Generator.Rewrite program mistake because of which it was looking for
 "filename.mdb" file instead of "filename.dll.mdb"

8 years agoMerge pull request #319 from cra0zy/joyid
Fraser Waters [Sun, 6 Dec 2015 14:23:46 +0000 (14:23 +0000)]
Merge pull request #319 from cra0zy/joyid

Make joystick ID public

8 years agoMake joystick ID public
cra0zy [Sat, 5 Dec 2015 10:32:48 +0000 (11:32 +0100)]
Make joystick ID public

8 years agoMerge pull request #318 from leezer3/leezer3
Fraser Waters [Sun, 6 Dec 2015 12:36:08 +0000 (12:36 +0000)]
Merge pull request #318 from leezer3/leezer3

Fix: KP_ENTER key missing from SDL2 keymap.

8 years agoAlign whitespace for SDL2 KeypadEnter fix....
leezer3 [Sat, 5 Dec 2015 23:54:42 +0000 (23:54 +0000)]
Align whitespace for SDL2 KeypadEnter fix....

8 years agoGLWidget for Gtk 2 and 3
cra0zy [Sat, 5 Dec 2015 22:39:37 +0000 (23:39 +0100)]
GLWidget for Gtk 2 and 3

8 years agoFix: KP_ENTER key missing from SDL2 keymap.
leezer3 [Fri, 4 Dec 2015 23:49:15 +0000 (23:49 +0000)]
Fix: KP_ENTER key missing from SDL2 keymap.

8 years agoMerge pull request #314 from leezer3/leezer3-a
Fraser Waters [Sun, 15 Nov 2015 07:10:46 +0000 (07:10 +0000)]
Merge pull request #314 from leezer3/leezer3-a

Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs

8 years agoFix: Insert key not working on Linux, due to typo in X11KeyMap.cs
leezer3 [Sat, 14 Nov 2015 22:23:40 +0000 (22:23 +0000)]
Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs

8 years agoMerge pull request #306 from PowerOfCode/fix-nsis-config
Fraser Waters [Sat, 7 Nov 2015 14:05:50 +0000 (14:05 +0000)]
Merge pull request #306 from PowerOfCode/fix-nsis-config

Fix build configuration "Nsis"

8 years agoFix build configuration "Nsis"
Benjamin Klettbach [Mon, 26 Oct 2015 12:37:56 +0000 (13:37 +0100)]
Fix build configuration "Nsis"

- Generator.Rewrite can be build with Nsis
- OpenTK project can be build with Nsis and is getting rewritten with
  Rewrite.exe

8 years agoMerge pull request #304 from Frassle/travis
Fraser Waters [Sun, 18 Oct 2015 12:57:42 +0000 (13:57 +0100)]
Merge pull request #304 from Frassle/travis

[travis] Remove mono 3.2.8 and 2.10.8 builds

8 years ago[travis] Remove mono 3.2.8 and 2.10.8 builds
Fraser Waters [Sun, 18 Oct 2015 12:31:11 +0000 (13:31 +0100)]
[travis] Remove mono 3.2.8 and 2.10.8 builds

Old versions of mono on travis didn't have nuget support that we now use to
fetch Mono.Cecil.

8 years agoMerge pull request #302 from Frassle/mouse
Fraser Waters [Sat, 17 Oct 2015 22:24:33 +0000 (23:24 +0100)]
Merge pull request #302 from Frassle/mouse

[Win32] Fix spurious mouse enter and leave messages

8 years ago[Win32] Fix spurious mouse enter and leave messages
Fraser Waters [Sat, 17 Oct 2015 15:56:35 +0000 (16:56 +0100)]
[Win32] Fix spurious mouse enter and leave messages

Mouse tracking and mouse capture didn't work well together. Mouse capture was
also buggy in that it could release capture prematurely.

Mouse capture is now counted and tracked better, multiple requests to set
capture will only call SetCapture once. ReleaseCapture will only be called once
the same number of releases have been made as sets.
MW_MOUSELEAVE messages are now ignored if the mouse is captured.
Mouse tracking is renabled when mouse capture is released.
While the mouse is captured enter and leave events are genereated based on
tracking of the mouse inside MouseMove.

Fixes #301

8 years ago[GL] Add overloads for ProgramUniform
Fraser Waters [Sun, 11 Oct 2015 16:55:36 +0000 (17:55 +0100)]
[GL] Add overloads for ProgramUniform

Fixes #293

8 years ago[Bind] Replace copies of cecil with nuget links
Fraser Waters [Sun, 11 Oct 2015 14:11:04 +0000 (15:11 +0100)]
[Bind] Replace copies of cecil with nuget links

Use nuget to get cecil rather than storing the binaries in the repo.

Fixes #284

8 years ago[Bind] Declare key file is only read
Fraser Waters [Thu, 1 Oct 2015 11:19:21 +0000 (12:19 +0100)]
[Bind] Declare key file is only read

Partly fixes #284

8 years agoMerge pull request #295 from BikingGlobetrotter/develop
Fraser Waters [Mon, 7 Sep 2015 11:31:12 +0000 (12:31 +0100)]
Merge pull request #295 from BikingGlobetrotter/develop

[GLControl] Destroy context after OnHandleDestroyed to allow cleanup

8 years agoDestroy context after OnHandleDestroyed to allow cleanup
unknown [Mon, 7 Sep 2015 11:07:59 +0000 (13:07 +0200)]
Destroy context after OnHandleDestroyed to allow cleanup

8 years agoMerge pull request #292 from Frassle/cursorgrab
Fraser Waters [Fri, 28 Aug 2015 18:01:56 +0000 (19:01 +0100)]
Merge pull request #292 from Frassle/cursorgrab

[X11] Fix CursorVisible

8 years ago[X11] Fix CursorVisible
Fraser Waters [Fri, 21 Aug 2015 22:58:00 +0000 (23:58 +0100)]
[X11] Fix CursorVisible

Change X11 CursorVisible to only execute if a change is actually needed,
that is if we're going from visible to not visible or vice versa.

Fixes #281

8 years agoRevert changes to VS project version
Fraser Waters [Fri, 21 Aug 2015 22:22:12 +0000 (23:22 +0100)]
Revert changes to VS project version

8 years agoMerge pull request #262 from infinitespace-studios/develop
Fraser Waters [Thu, 20 Aug 2015 20:17:53 +0000 (21:17 +0100)]
Merge pull request #262 from infinitespace-studios/develop

Fixed MINIMAL compilation

8 years agoRemoved NO_SYSDRAWING in favour of just MINUMAL
Dean Ellis [Tue, 19 May 2015 19:09:04 +0000 (20:09 +0100)]
Removed NO_SYSDRAWING in favour of just MINUMAL
Reverted changes to GLControl.cs
Updated sln to not build OpenTK.GLControl in MINIMAL mode

8 years agoFixed MINIMAL and NO_SYSDRAWING compilation
Dean Ellis [Tue, 12 May 2015 20:11:27 +0000 (21:11 +0100)]
Fixed MINIMAL and NO_SYSDRAWING compilation

8 years agoMerge pull request #289 from Frassle/leak
Fraser Waters [Mon, 10 Aug 2015 21:01:42 +0000 (22:01 +0100)]
Merge pull request #289 from Frassle/leak

[Win32] Fix leaks in Win32 Cursor property

8 years ago[Win32] Fix leaks in Win32 Cursor property
Fraser Waters [Mon, 10 Aug 2015 20:57:05 +0000 (21:57 +0100)]
[Win32] Fix leaks in Win32 Cursor property

GetIconInfo
(https://msdn.microsoft.com/en-us/library/windows/desktop/ms648070(v=vs.85).aspx)
creates bitmaps that must be deleted after the call to
CreateIconIndirect, which copies the bitmaps to the icon it creates.

bmpIcon created by Bitmap.GetHicon is now destroyed after being used.

The return value of SetCursor was used to retrieve the last cursor, as
it could have been set by another library (Some UI libraries change the
cursor using the .net Cursor) this could of leaked the cursor we created
and now lost track of. We now delete the handle we had set, not the one
returned by SetCursor.

8 years agoMerge pull request #264 from Frassle/minimal
Fraser Waters [Mon, 10 Aug 2015 20:38:18 +0000 (21:38 +0100)]
Merge pull request #264 from Frassle/minimal

Remove NO_SYSDRAWING, replace with MINIMAL

8 years agoRemove NO_SYSDRAWING, replace with MINIMAL
Fraser Waters [Mon, 18 May 2015 11:31:54 +0000 (12:31 +0100)]
Remove NO_SYSDRAWING, replace with MINIMAL

8 years agoMerge pull request #288 from zeldin/develop
Fraser Waters [Sun, 9 Aug 2015 09:27:40 +0000 (10:27 +0100)]
Merge pull request #288 from zeldin/develop

[X11] Fix XIEventMask to work on any architecture

8 years agoFix XIEventMask to work on any architecture
Marcus Comstedt [Sat, 8 Aug 2015 21:46:18 +0000 (23:46 +0200)]
Fix XIEventMask to work on any architecture

The mask part of an XIEventMask struct is actually not a pointer to an
integer containing the mask, but rather to an array of bytes each
holding 8 bits of the mask, with the first byte holding bit 0-7.
Therefore the old code would only work on little endian arches.

9 years ago[Bind] Remove Zero-width space from overrides file
Fraser Waters [Thu, 30 Jul 2015 17:46:30 +0000 (18:46 +0100)]
[Bind] Remove Zero-width space from overrides file

9 years agoMerge pull request #270 from Frassle/bind
Fraser Waters [Thu, 30 Jul 2015 13:42:27 +0000 (14:42 +0100)]
Merge pull request #270 from Frassle/bind

[Bind] Cleaning up binding generator

9 years agoRegenerate bindings
Fraser Waters [Thu, 30 Jul 2015 13:31:34 +0000 (14:31 +0100)]
Regenerate bindings

Just white space changes.

9 years ago[Bind] Remove Type.IndirectionLevel
Fraser Waters [Wed, 29 Jul 2015 13:07:14 +0000 (14:07 +0100)]
[Bind] Remove Type.IndirectionLevel

Property wasn't used.

9 years ago[Bind] Improve BindStreamWriter
Fraser Waters [Fri, 20 Jun 2014 19:58:02 +0000 (20:58 +0100)]
[Bind] Improve BindStreamWriter

Allows multiple calls to Write to build up one line of text. Splits on
new line characters even in Write. Only places tabs if line is not
otherwise empty.

9 years ago[Bind] Remove all C header code from Convert
Fraser Waters [Mon, 8 Jun 2015 14:38:08 +0000 (15:38 +0100)]
[Bind] Remove all C header code from Convert

Cleaning up old C header code from convert, we'll just deal with Khronos
XML files now. If there's a need for parsing C headers we should do that
as a separate tool that either parses and generates the OpenTK XML specs
directly generates Khronos XML specs that can then be parsed by Convert.

9 years ago[Bind] Remove setting of DefaultOutputNamespace
Fraser Waters [Sun, 7 Jun 2015 22:16:55 +0000 (23:16 +0100)]
[Bind] Remove setting of DefaultOutputNamespace

Settings wasn't required to be set. The generator constructors set the
default namespace.

9 years ago[Bind] Remove dirName
Fraser Waters [Sun, 7 Jun 2015 22:01:46 +0000 (23:01 +0100)]
[Bind] Remove dirName

Wasn't used, always ended up as "GL2"

9 years agoMerge pull request #261 from Frassle/resize
Fraser Waters [Fri, 29 May 2015 09:40:35 +0000 (10:40 +0100)]
Merge pull request #261 from Frassle/resize

X11: Fix so ClientSize can resize windows with fixed borders

9 years agoX11: Fix so ClientSize can resize windows with fixed borders
Fraser Waters [Tue, 12 May 2015 13:15:33 +0000 (14:15 +0100)]
X11: Fix so ClientSize can resize windows with fixed borders

Also fixes issue that NativeWindowBase.Height was setting non-client
height but Width was setting client Width. Both now set client size.

Fixes #259