tvision_rs/desktop/mod.rs
1//! Desktop-layer views — the desktop surface and its backdrop.
2//!
3//! [`Background`] is the simplest concrete view: it fills its owner's bounds
4//! with a repeated pattern character. [`Desktop`] is the group-embedding
5//! desktop that owns a [`Background`], hosts the application's windows, and gives
6//! `Program` a named real desktop.
7//!
8//! **Guide:** [Windows & the desktop](../../../apps/windows.html).
9
10mod background;
11// The module file is named `desktop.rs` (matching the `Desktop` type) inside the
12// `desktop` layer module; the inner-name match is intentional, not a smell.
13#[allow(clippy::module_inception)]
14mod desktop;
15
16pub use background::Background;
17pub use desktop::Desktop;