From 319ee53ce2d9998c86cae0e25e5838cccdf83c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4ger?= Date: Thu, 30 May 2024 20:21:13 +0200 Subject: [PATCH] Release 4.3.0 --- README.md | 2 ++ RELEASE_NOTES.md | 14 ++++++++++++++ src/GLWpfControl/paket | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ee156e1..aa39bf6 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ WPF by design only sends keyboard events to the control that has keybaord focus. If you however need to get keyboard events idependent of keyboard focus you will have to use the `Keyboard.AddPreview*` functions. These functions allow you to register a preview event that is called before the control with keyboard focus gets the keyboard event. +This replaces the old `CanInvokeOnHandledEvents` and `RegisterToEventsDirectly` settings. + See [Example](./src/Example/TabbedMainWindowTest.xaml.cs) for an example how to set this up. ## Build instructions diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 15dbcdc..7ac3057 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,17 @@ +## 4.3.0 + +* Made each `GLWpfControl` have it's own OpenGL context allowing different controls to have different context settings. (@NogginBops) +* Enabled multisample anti-aliasing though `GLWpfControlSettings.Samples`. (@NogginBops) +* Implemented `IDisposable` for `GLWpfControl` that allows native DirectX and OpenGL resources to be freed. (@NogginBops) +* Made `GLWpfControl` have `Focusable` be `true` by default, solving a lot of the keyboard input event issues. (@NogginBops) +* Deprecated `GLWpfControlSettings.GraphicsContextFlags` in favor of `GLWpfControlSettings.ContextFlags`. (@NogginBops) +* Deprecated `GLWpfControlSettings.GraphicsProfile` in favor of `GLWpfControlSettings.Profile`. (@NogginBops) +* Added `GLWpfControlSettings.SharedContext` to allow context sharing. (@NogginBops) +* Deprecated `GLWpfControl.CanInvokeOnHandledEvents` and `GLWpfControl.RegisterToEventsDirectly`, updated readme to reflect this. (@NogginBops) +* Fixed rounding issues related to DPI scaling. (@NogginBops, @5E-324) +* Updated to depend on OpenTK 4.8.2. (@NogginBops, @softwareantics) +* Fixed memory leak where DirectX resouces would never be freed. (@NogginBops) + ## 4.2.3 * Fix event issue, use `RegisterToEventsDirectly` and `CanInvokeOnHandledEvents` to customize event registering/handling. (@softwareantics) diff --git a/src/GLWpfControl/paket b/src/GLWpfControl/paket index 60e9b26..bafab49 100644 --- a/src/GLWpfControl/paket +++ b/src/GLWpfControl/paket @@ -23,7 +23,7 @@ copyright include-pdbs true dependencies - OpenTK ~> 4.0 >= 4.8.0 + OpenTK ~> 4.0 >= 4.8.2 files bin\Release\netcoreapp3.1\netcoreapp3.1\GLWpfControl.dll ==> lib\netcoreapp3.1