Rework ParentWindowHandle to be a sum type

So we can mix and match versions of baseview that target different
versions of `raw_window_handle`.
This commit is contained in:
Robbert van der Helm
2023-11-05 16:25:30 +01:00
parent 4af581ba07
commit b794cdeafe
5 changed files with 79 additions and 45 deletions

View File

@@ -19,6 +19,16 @@ state is to list breaking changes.
may require small changes before they behave the same again. A summary of the
most important changes can be found in Vizia PR
[#291](https://github.com/vizia/vizia/pull/291).
- The `raw_window_handle` version used by NIH-plug has been updated to version
0.5.x.
### Changed
- `ParentWindowHandle` has changed to be a sum type of different parent window
handle types, similar to `RawWindowHandle`. This makes it easier to use GUI
libraries that link against a different version of `raw_window_handle` than
the one used by NIH-plug itself by simply wrapping around
`ParentWindowHandle`.
## [2023-12-30]