#plugin #audio #ui #windowing #api #xcb #cocoa

augmented_baseview

windowing for audio plugin UIs, published fork of https://github.com/RustAudio/baseview

4 releases

0.1.3 Jan 17, 2024
0.1.2 Mar 22, 2023
0.1.1 Mar 22, 2023
0.1.0 Sep 29, 2022

#330 in Hardware support

40 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

205KB
4.5K SLoC

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.

Dependencies

~0.3–1.6MB
~28K SLoC