1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! BlackboxPanel composite widget — canvas-like panel with externally managed input.
//!
//! Unlike every other composite widget, BlackboxPanel registers ONE rect with the
//! `InputCoordinator` and rejects children. `InputCoordinator::is_over_ui()` returns
//! `false` when the cursor is over a BlackboxPanel rect — the area behaves as a canvas,
//! not as UI chrome.
//!
//! # Kinds
//!
//! | Kind | header | border | body |
//! |--------------------|--------|--------|------|
//! | `Default` | ✗ | ✗ | ✓ |
//! | `WithHeader` | ✓ | ✗ | ✓ |
//! | `WithBorder` | ✗ | ✓ | ✓ |
//! | `WithHeaderBorder` | ✓ | ✓ | ✓ |
//! | `Custom` | — | — | — |
//!
//! # Entry points
//!
//! - `register_input_coordinator_blackbox_panel` — hit-rect registration only
//! - `register_context_manager_blackbox_panel` — register + draw in one call
//! - `dispatch_blackbox_event` — forward events to the caller handler
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;