1
0
Fork 0
Go to file
Micah Johnston df0e3928a2
Remove Window::open_as_if_parented (#153)
The open_as_if_parented method was intended to support the use case of Audio
Unit plugin views. However, the Audio Unit API differs in important ways from
other plugin APIs (such as VST 3 and CLAP) with regard to the lifetime
management of the plugin's NSView, and trying to support both lifetime
management patterns simultaneously has been the source of complexity and bugs.
Thus, rather than implementing Audio Unit NSView management directly in
Baseview, it will be the responsibility of plugin frameworks to implement a
compatibility layer between the Audio Unit API and the Baseview API.
2023-12-12 16:45:12 +00:00
.github/workflows Build both with and without opengl on CI 2022-02-07 20:25:01 +01:00
examples Use &str instead of String. 2023-02-22 10:14:54 -08:00
src Remove Window::open_as_if_parented (#153) 2023-12-12 16:45:12 +00:00
.gitignore Add Windows initial code 2020-05-25 21:35:03 +02:00
.rustfmt.toml Run rustfmt (#154) 2023-12-12 10:41:03 -06:00
Cargo.toml Merge pull request #134 from greatest-ape/raw-window-handle-0.5 2023-10-07 15:12:01 +02:00
LICENSE-APACHE Add license statement and files (dual MIT or Apache 2.0) 2020-11-12 21:52:49 +01:00
LICENSE-MIT Add license statement and files (dual MIT or Apache 2.0) 2020-11-12 21:52:49 +01:00
README.md Mention OpenGL contexts in the readme 2022-02-07 17:59:40 +01:00

baseview

A low-level windowing system geared towards making audio plugin UIs.

baseview abstracts the platform-specific windowing APIs (winapi, cocoa, xcb) into a platform-independent API, but otherwise gets out of your way so you can write plugin UIs.

Interested in learning more about the project? Join us on discord, channel #plugin-gui.

Roadmap

Below is a proposed list of milestones (roughly in-order) and their status. Subject to change at any time.

Feature Windows Mac OS Linux
Spawns a window, no parent ✔️ ✔️ ✔️
Cross-platform API for window spawning ✔️ ✔️ ✔️
Can find DPI scale factor ✔️ ✔️
Basic event handling (mouse, keyboard) ✔️ ✔️ ✔️
Parent window support ✔️ ✔️ ✔️
OpenGL context creation (behind the opengl feature) ✔️ ✔️ ✔️

Prerequisites

Linux

Install dependencies, e.g.,

sudo apt-get install libx11-dev libxcursor-dev libxcb-dri2-0-dev libxcb-icccm4-dev libx11-xcb-dev

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Baseview by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.