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
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT
pub
pub use CustomPaintControlBackend;
pub use ;
// Each table is re-exported under the gate its **consumer** compiles in, not under
// `full_widgets`. The two consumers differ:
//
// * `LABEL_PROPERTY_NAMES` is read by the label accessor, gated `widgets_unstripped`;
// * `MENU_KIND` is read by the menu creation arm, which is `all(not(alloc_frugal),
// not(embedded_surface))` — it covers the no-device-profile desktop build
// (`windows controls-custom …`) where `full_widgets` is false but the popup still has to be
// mounted, and it is absent from `embedded` because the menu fragment is too.
//
// Gating both on `full_widgets` broke exactly that cell: the menu arm compiled and the table
// it names was cfg'd out (check_profiles step 6b).
pub use LABEL_PROPERTY_NAMES;
pub use MENU_KIND;
/// Tests for the custom backend's creation and state accessors.
///
/// Gated on the full widget set because every one of them exercises the real
/// creation path: they assert that a `create_*` call returns an id addressing a
/// mounted widget, and that reads and writes reach that widget. The alloc-frugal
/// profile compiles neither the factory nor the widget registry, so those
/// assertions describe machinery that is deliberately absent there — an earlier
/// revision kept these tests alive by asserting against a backend-side shadow map,
/// which is the duplication this refactor removed.