MCPcopy Index your code
hub / github.com/RustAudio/baseview

github.com/RustAudio/baseview @v0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2 ↗ · + Follow
538 symbols 985 edges 67 files 64 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 #baseview.

Prerequisites

Linux

Install dependencies, e.g.:

sudo apt-get install libx11-dev libxcb1-dev libx11-xcb-dev libgl1-mesa-dev

Contributing

Contributions are very much welcomed! As long as they comply to the policy and licensing requirements below.

AI policy

The general AI policy of the RustAudio Community applies to this repository. Please ensure compliance to these rules before submitting your contribution to this project.

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.

Extension points exported contracts — how you extend this code

WindowHandler (Interface)
(no doc) [5 implementers]
src/handler.rs
ViewImpl (Interface)
(no doc) [1 implementers]
src/wrappers/appkit/view.rs
WindowImpl (Interface)
(no doc) [1 implementers]
src/wrappers/win32/window.rs

Core symbols most depended-on inside this repo

set
called by 54
src/wrappers/win32/cursor.rs
k
called by 47
src/platform/x11/keyboard.rs
inner_ref
called by 32
src/wrappers/appkit/view.rs
clone
called by 22
src/platform/macos/mod.rs
as_raw
called by 19
src/wrappers/win32/h_instance.rs
load
called by 18
src/platform/macos/cursor.rs
on_event
called by 14
src/platform/win/drop_target.rs
make_modifiers
called by 12
src/platform/macos/keyboard.rs

Shape

Method 336
Function 101
Class 77
Enum 21
Interface 3

Languages

Rust100%

Modules by API surface

src/platform/macos/view.rs38 symbols
src/wrappers/appkit/view/implementation.rs31 symbols
src/wrappers/win32/window/handle.rs21 symbols
src/platform/x11/drag_n_drop.rs20 symbols
src/wrappers/glx.rs19 symbols
src/platform/win/window_state.rs18 symbols
src/platform/win/window.rs18 symbols
src/context.rs16 symbols
src/wrappers/xlib/xlib_connection.rs15 symbols
src/wrappers/appkit/view.rs15 symbols
src/platform/win/keyboard.rs14 symbols
src/platform/x11/window_shared.rs13 symbols

For agents

$ claude mcp add baseview \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact