- List::edge_press(mods, test): while the modifiers are held, the band of the line between two adjacent rows the
test gives a cursor for shows that cursor and takes the click (CollectionEvent::EdgePressed), picking neither
row. The band reaches LINE_REACH from the line; a toggle cell keeps its press. Collections without it are
unchanged.
- craft-layers: LayersEvent::ClipLine { upper, release } for an Alt-click on the line between two sibling layers,
with the clip-below or clip-release cursor.
- ListRow::part_drag(RowDragSpot, payload) replaces thumb_drag: a thumbnail or a trailing part drags instead of
the row (RowEvent::PartDrag). A trailing part that drags is a handle: its click is the row's.
- TrailingFace::Strong: a text face for a trailing part.
- ListRow::thumb_cursor: the cursor over a thumbnail.
- CollectionEvent::EmptyContextMenu: a secondary click on a collection's empty space.
- craft-layers: the fx badge drags every effect of its layer onto another layer (a transfer, Alt copies) and a
click on it selects the row; MenuTarget.row is None for the empty space's menu; the load-selection cursor over
thumbnails while Cmd/Ctrl is held; LayerTree::label_colors_in_menu decides per target whether the row menu
gets the Label Color submenu.
The rows take the mask through the list's drop kind for the panel's drag payload. LayerTree::accepts_mask_drop
decides which layers take it; by default a layer takes a mask of a kind it does not have.
The mask badges and the app's thumbnail badge fill the theme's small icon size (size.icon.sm) within the thumbnail,
and the app's icon draws at the small glyph size (size.icon.glyph_sm), instead of a share of the thumbnail.
ListRow::thumb_target takes ThumbTargets, built from one ThumbTarget or an array of them; one set of brackets frames
each run of adjacent targets, so two targets side by side never cut into each other. In the Layers panel,
LayerPart::Pixels on a frame targets its shape and content together, LayerPart::FrameShape the shape alone and
LayerPart::FrameContent the content alone; a click on a frame's first thumbnail reports FrameShape. Story
composites/layers-panel/frame-selected shows it.
Story composites/layers-panel/row-kinds shows a compact artboard heading, a frame, a smart object's badge and Smart
Filter rows with their Blending Options buttons, one selected on its own. Trials: the hovered layer row, a Smart
Filter row selected on its own holding the lead, the Blending Options double click, and a frame's mask chain after
its content thumbnail.
LayerInfo.thumb_badge puts an icon in the thumbnail's corner on the scrim, in the square the mask badges use
(PhotoCraft's smart object and shape marks).
LayerKind::Frame rows show the frame's shape and, as a second thumbnail, its content (LayerPart::FrameContent,
LayerThumbKind::FrameContent). A click on the content reports that part in Select and ThumbClick, and the target
brackets frame it when the app targets the content. The masks follow the content thumbnail.
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.