LayerSelection.sub_row is the sub-row the app keeps selected: the list highlights it beside its layer and gives it
the lead. LayerSelect.row names the sub-row a click, right-click or selection key picked. The Background's doc names
ActivateOn::Row, which a double click on its name reports.
LayersOutput.hovered names the layer row under the pointer, read from the list's row state, so an app can outline
that layer on the canvas (PhotoCraft's Move tool).
The filter bar offers Photoshop's types: Kind, Name, Effect, Mode, Attribute,
Color, Smart Object, Artboard and Group. LayerInfo carries what the generic rule
reads (effect kinds, Advanced Blending, smart object source); LayerTree::listed
lets the app answer what only it knows (missing linked files, empty layers) and
defaults to LayerFilter::lists, which walks the tree for Group and Artboard.
Artboard and Group keep each group open or closed; the Mode list leaves out
Pass Through. LayersPanel::focus_filter_name switches the bar to Name and puts
the caret in its field with the text selected.
ColorWheel, ColorDisc, ColorRamp, GradientSwatch and GradientEditor each
get a Disabled story, as their old stories had a disabled argument. The
gradient bar trial checks that a disabled editor's ramp, painted with its
content painter, dims and keeps its red and blue ends.
Picture, ColorWheel, ColorDisc, ColorRamp, TrackRamp, GradientSwatch,
BrushStrokeStrip, Histogram, GraphEditor, FontSample, CurveGraph,
ToneRamp, CurvePreview, VectorscopePlot and FramePreview declare
DisabledLook::Faded: their content is data painted with the content
painter, and their chrome has no Disabled look of its own. GradientSwatch
goes the way of Swatch: its edge loses its Disabled entry.
DataMode holds the one mapping of a data colour (DataMode::color) and maps
every colour of a shape with it (DataMode::shape). ContentPainterCx gets
data_shapes for shapes whose colours are data, and its data methods
(picture, checker, checker_with, ramp) paint through the mode, sharing
data_picture and data_checker with Draw::texture and Draw::checker. A
States component's ramps, pictures and checkers in a content painter dim
while it paints its Disabled state, as its Draw's data colours do.
The histogram's bins and outlines and the notes editor's document text
paint through data_shapes.
The dialog shells take their regions from frame.rs (HEADER, FOOTER, SIDE_BUTTONS), spaced by one gap. FooterRegion gains an
inset tier, the counterpart of HeaderRegion::inset, so a full-window dialog keeps its title and buttons off the window edges
while its canvas and side columns reach them.
A content-sized row asks for room for its optional trailing items, so a
content-fitted box (the CommandPalette) shows each row's path with its
label whole. A row given less than its ideal width still drops them
first; its least width is unchanged.
The env's offered width, the room a body's children share, came from the
container's room or, in a content-sized real run, from what all its regions
took together, less only a side label's column. The end region beside the body
(a dialog's side buttons) and an inline header were left in, so a fill-width
child widened past the body region and its clip cut its end edge. The regions
record the width they give the regions beside the body on its line, and the body
offers what is left.
A content-sized body inside a group (a row holding a stack of fields) measured
while the group's column was still narrower than its widest label, which came
later, and the real run placed it by that measure at the wider column: its
labels stacked inside a row measured for labels beside. The group's measuring
run now notes the narrowest column a row of a body that shows at its measured
width read; when that is narrower than the column ends, the sweep is taken back
and the content runs once more with the group opened at the settled widths. A
held body, shown across the column, does not count. The Through body's own
extent arithmetic goes: its rows always measure at the final column.
A section, box, stack or row inside a column group passes the group through
(Frame::Through): its labelled rows read and report the group's widths, as the
rows directly in the group do. A labelled container's body, a body on its own
mount, a scrolling body and a grid lay out apart behind a barrier. A
content-sized body measures at the group's widest label so far and hands its
rows' reach past the columns on to the frame around it, with its own padding
or the row members after the labelled one, so the group's extent covers the
widest column across its containers.
Command states are keys of the read record: a resolution a surface shows notes the state it read, the app's input notes the states it changes for the frame, and a publish notes a changed state and reruns the pass when something earlier read it. A publish is journaled, so a replayed region publishes again, and is a board effect a measuring run skips, as it skips registration. A rebuilt keymap unsettles every region. An inspection record or its pointed element changing is an edit settled readers see.
PaintShape::Polygon is any closed polygon whose edges don't cross.
kit::fill_polygon fills it as one mesh: egui's edge fade around the outline
and an ear-clipped inside, so the parts of one shape meet without a seam.
Draw fills every polygon with it.
Chart wedges and area polygons fill as one polygon each, and the eyedropper
ring band as one polygon, in place of runs of convex pieces whose faded
edges left seams between them.
ChartPrimitive::Text carries its TypeRole in place of a bold flag. The chart
story sets titles in BodyStrong and axis labels in Caption, as the old
gallery did, so the region labels no longer touch.
ChartPrimitive lines paint solid or dashed in the theme's dash pattern, and
every stroke (rect, polygon, wedge, circle) paints. Widths are a named theme
width or a document width that scales with the chart's zoom. Draw::dashes
gives the theme's dash pattern. The chart story draws its axes, gridlines
and wedge gaps hairline, as the old gallery did.