bmux_scene_protocol 0.0.1-alpha.0

Typed scene-decoration protocol shared by bmux core and any decoration plugin
//! Typed scene-decoration protocol.
//!
//! Plugins that paint chrome around pane surfaces (borders, badges,
//! focus highlights) publish a retained [`scene_protocol::DecorationScene`] on
//! the typed plugin event bus. Core caches the latest snapshot and
//! consults it during frame assembly to determine each surface's
//! authoritative `content_rect` and any paint commands to apply.
//!
//! See `bpdl/scene-protocol.bpdl` for the full schema. The
//! [`scene_protocol`] module is generated by the
//! [`bmux_plugin_schema_macros::schema!`] proc macro.

#![cfg_attr(feature = "fail-on-warnings", deny(warnings))]
#![warn(clippy::all, clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]

pub mod glyphs;

bmux_plugin_schema_macros::schema! {
    source: "bpdl/scene-protocol.bpdl",
}