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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT
//! Display widgets: progress bars, sliders, scroll bars, etc.
/// Circular arc / gauge primitive used by the progress and meter widgets.
/// Shell for choosing a glyph; the glyph table is supplied by the caller.
/// The icon set: the built-in tokens (generated), their bundled geometry, the fallback geometry,
/// and the storage for host-registered icons.
///
/// Compiled in **every** profile, not only the unstripped ones: the `IconName` vocabulary, the
/// `IconData` shape and the `draw_icon_at` / `draw_icon_centered` primitives are what a control
/// uses to paint an icon inline (a combo box's chevron, a rating's star), and those controls exist
/// on `mini`/`embedded` too. Only the [`Icon`] widget and the host registry below stay gated.
/// The storage behind the runtime icon registry. Its own module so the lock and the table can be
/// reasoned about without the public API (`crate::widget::icon_registry`) in view.
pub
/// Seven-segment style numeric readout.
// Re-export shared helpers.
pub use draw_line;