1
0
Fork 0
Go to file
George Atkinson 9fdb75155d
Added mouse capture/release to windows backend (#81)
* Added mouse capture/release to windows backend

* Mouse capture now automatic only

Removed manual ability to trigger mouse capture and release.

* Added refcount for mouse button event

Added refcount to prevent the mouse capture from releasing before all mouse buttons have been released.

* Removed unnecessary function from window
2020-12-19 17:41:40 -06:00
.github/workflows Change dependency libxcursor to libxcursor-dev 2020-09-13 18:33:51 -05:00
examples remove WindowHandle 2020-12-12 17:15:09 -06:00
src Added mouse capture/release to windows backend (#81) 2020-12-19 17:41:40 -06:00
.gitignore Add Windows initial code 2020-05-25 21:35:03 +02:00
.rustfmt.toml fix some rustfmt annoyances 2020-09-11 22:29:29 +02:00
Cargo.toml remove Message api 2020-12-12 17:06:50 -06: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 macOS: always use scale=1.0 with WindowScalePolicy::SystemScaleFactor 2020-12-04 23:38:17 +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 ✔️ ✔️ ✔️
Window uses an OpenGL surface ✔️ ✔️
Can find DPI scale factor ✔️ ✔️
Basic event handling (mouse, keyboard) ✔️ ✔️ ✔️
Parent window support ✔️ ✔️ ✔️
Send messages ✔️
(Converge on a common API for all platforms?)

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.