uzor_framework/widgets/mod.rs
1//! Widget convenience functions over [`PanelCx`] and [`OverlayCx`].
2//!
3//! One call registers the widget with the hook's [`Widgets`] face and draws
4//! it through the library paint function (design §6.4, brief F8). The
5//! chainable [`lm`] builders are the same surface the [`view!`](crate::view)
6//! macro lowers to (brief M1), retargeted off `layout façade` onto a
7//! [`ContentCx`]. [`raw`] re-exports the level-1 register functions for
8//! callers that draw themselves. [`kit`] is the stable component kit
9//! (button, input, select, menu, dialog, tabs, list, splitter, tooltip,
10//! toast) with one builder shape and one [`kit::Response`].
11//!
12//! Blackbox panels are not in this module. Overlay chain builders for
13//! modal/dropdown/context menu/popup/panel/sidebar/toolbar were left
14//! unported in F8 (they held `layout façade` handles); M1 does not revive
15//! them.
16
17mod atomics;
18mod button;
19mod composites;
20mod host;
21pub mod kit;
22pub mod lm;
23mod paint;
24mod scroll;
25pub mod splitter;
26pub mod raw;
27
28#[cfg(test)]
29mod golden;
30
31pub use atomics::{checkbox, chevron, separator, text, toggle, tooltip};
32pub use button::button;
33pub use composites::{chrome, context_menu, dropdown, modal, panel, popup, sidebar, toolbar};
34pub use host::ContentCx;
35pub use scroll::{queue_scroll_key, scroll_begin, scroll_begin_overlay, scroll_end, scroll_end_overlay};