Skip to main content

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;
23pub mod mobile;
24mod paint;
25mod scroll;
26pub mod splitter;
27pub mod raw;
28
29#[cfg(test)]
30mod golden;
31
32pub use atomics::{checkbox, chevron, separator, text, toggle, tooltip};
33pub use button::button;
34pub use composites::{chrome, context_menu, dropdown, modal, panel, popup, sidebar, toolbar};
35pub use host::ContentCx;
36pub use scroll::{queue_scroll_key, scroll_begin, scroll_begin_overlay, scroll_end, scroll_end_overlay};