Commit Graph
9 Commits
Author SHA1 Message Date
aiongg dae805591c SwatchPalette wells, ThemeChip and rail buttons take the old sizes from shared tokens
SwatchTable's cells can be wells at the control height (`wells`), as a
palette's swatches are; SwatchPalette shows its colours that way. A theme
chip is a medium control's height by a small one's inside `space.pad.control`.
A rail button (FlyoutButton) is `size.rail.button` square.
2026-11-12 14:32:41 +00:00
aiongg 8c3715256c Pictures take the width they are given
`MeasureCx::picture_width`: a picture takes its column's room, between its
least and its most, and its least at `Proposal::Min`. CurveGraph's own rule
moves onto it. Band pictures (the point picker and the colour area, the
histogram, the vectorscope, the navigator preview, the preview pane, the
reading view) take the width at least `size.plot.width` and keep their
height; the colour wheel and disc are squares between `size.plot.height`
and `size.plot.width`.

ColorWheel, ScopePanel's plots and the ColorPicker area fill the card's
width as the old ones did.
2026-11-12 14:32:41 +00:00
aiongg 243c601e28 SwatchTable: a cell's selected ring comes from its row's flags 2026-11-12 14:32:40 +00:00
aiongg c897f3faf3 Collection members: a collection's items can be members of its run, sensed in its arena and painted as faces; SwatchTable's cells are members, SwatchCell goes 2026-11-12 14:32:40 +00:00
aiongg 0e9ca32073 Story readouts: a line under the story in the old stories' words
StoryOutput::readout is a line a story words about what it shows or what last happened in it;
the gallery card shows it, muted, under the story in every layout. StoryData::note keeps what a
readout needs (last event, click count) outside the story's values, so drives and Reset compare
values only. The old readout lines come back for ColorWheel, ColorPicker, SwatchPalette and
SwatchTable, GradientPalette, TipEllipse, the symmetry canvas stories, LutPicker, ColorChoice,
Swatch, LayersPanel, MediaBin, ChannelsPanel, ToolRail, StrokeEditor and StrokeButton.
2026-11-12 14:32:40 +00:00
aiongg c427e539c3 Bars: rules between groups, faint hints and the options bar's Home and tool icon
A Divider::vertical() is the bar's one section break: the connector,
shape and eyedropper bars, the about dialog's controls and the status
story place it where the old bars did. Hints use the faint shade.
BarHome and BarTool are the parts an options bar starts with. A
captioned control in a bar is a Field; BarCell goes.
2026-11-12 14:32:40 +00:00
aiongg 613b6a82c1 Story canvas: stories draw their old content through StoryPicture
StoryPicture is a story picture whose pixels are a function of the document point, and StoryShape
fills and outlines shapes on it; show_quad takes any picture. The stories show what the old gallery
drew under their control again:
- CropOverlay: the crop tool's landscape under ratio_held, straighten_armed (horizon at 6 degrees)
  and image_mode.
- GradientOverlay: the gradient itself in 64 x 40 cells, on the old line with the old four stops.
- HoverOutline: the light picture with the hovered object in the accent.
- ConnectorHandles, CornerWidgets, RulerOverlay, TransformOverlay: the boxes, rounded shapes,
  measured object and transformed layer in the accent.
- TransformBox and PerspectiveCropQuad: the layer and page with their dark grey edge.
- ColorSamplerMarks: the hue and brightness picture the samplers sit on.
- WideAngleWorkspace and ConstraintLines: the generated picture in place of flat grey.
SmartGuides, RasterDisplay and PixelGrid stories draw their pictures through StoryPicture;
FlatPicture is gone.
2026-11-12 14:32:39 +00:00
aiongg c09e0a6798 Entries a step skips: Entry::stepped, one step rule for Select and ComboBox
A step over a closed control stops on the enabled, stepped entries only. A value on
none of them (mixed, or an entry only the open list offers) has no place: it reports
no number, so both steps are offered, and a step forward lands on the first stop and
a step back on the last. Select and ComboBox step with the shared step_stops and
step_stop.

LutPicker marks Load 3D LUT…, the folder files and the loaded LUT as not stepped, in
place of its filter on step events. The loaded LUT then offers both steps, which the
craft-color activation suite asks for.
2026-11-12 14:32:38 +00:00
aiongg fa139e6d3d Picture crates on the framework: imaging, draw, colour, layers 2026-11-12 14:09:48 +00:00