font browser
Rename the internal backplate vocabulary to root plate (cce-ui RFC 7a-4)
Mechanical rename, no behaviour change: identifiers that carried the
retired word (statics, registry slots, setters, trait methods, locals)
now say root_plate, and comment prose says root plate.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
src/main.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main.rs b/src/main.rs
index 98f6f1f..b09f9b3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -127,7 +127,7 @@ struct TypefaceApp {
font_system: FontSystem,
needs_rebuild: bool,
- // Containers (root Backplate, the three Plates, and the ScrollBox/List are DISSOLVED:
+ // Containers (root plate container, the three Plates, and the ScrollBox/List are DISSOLVED:
// plates and scroll frames are prims, scroll state lives in the ScrollRegions,
// children are dispatched/walked directly, panel rects are computed)
mid_region: ScrollRegion,
@@ -455,8 +455,8 @@ impl Application for TypefaceApp {
true
}
- fn is_movable_backplate_at(&self, px: f32, py: f32) -> bool {
- // Root Backplate dissolved: the surface itself is the movable plate.
+ fn is_movable_root_plate_at(&self, px: f32, py: f32) -> bool {
+ // root plate container dissolved: the surface itself is the movable plate.
self.ui_context.drag_allowed_at(px, py)
}
@@ -862,7 +862,7 @@ impl Application for TypefaceApp {
(base_low[2] * 1.17).min(1.0),
base_low[3],
];
- // 2. The dissolved root Backplate's plate (bg at backplate opacity, config border
+ // 2. The dissolved root plate container's plate (bg at root plate opacity, config border
// and radius), then the dissolved panels' plates and their children walked in the
// legacy panel order.
use cce_ui::scene::layout::Rect;