1
0
Fork 0
Go to file
Adrien Prokopowicz 45465c5f46
X11: Split off the event loop into a separate module (#183)
This PR splits off the X11 event loop logic into a separate module. It also changes the X11 implementation of the `Window` type to take only a shared reference to the inner type (`&WindowInner` instead of `&mut WindowInner`), bringing it in line with the other backends.

This does not change any of the logic however, it only separates some of the window state from the event loop state, to make sure they don't step on each other's toes in the future (particularly around the WindowHandler).

This is part of the effort to split up #174 into smaller pieces.
2024-04-05 14:18:49 -05:00
.github/workflows Remove unnecessary dependences from CI pipeline (#185) 2024-03-30 06:29:18 +01:00
examples Add additional CI checks (#182) 2024-03-30 00:55:44 +01:00
src X11: Split off the event loop into a separate module (#183) 2024-04-05 14:18:49 -05: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 Remove unnecessary dependences from CI pipeline (#185) 2024-03-30 06:29:18 +01:00
clippy.toml Add additional CI checks (#182) 2024-03-30 00:55:44 +01: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 Remove unnecessary dependences from CI pipeline (#185) 2024-03-30 06:29:18 +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 libxcb1-dev libx11-xcb-dev libgl1-mesa-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.