Commit Graph
13 Commits
Author SHA1 Message Date
aiongg a53d901967 One scroll bar painter for overlay and docked bars
ScrollBarLook names its kind: an overlay bar over the content, or a docked bar
beside the view with a chrome track, a divider on the side facing the view and
an inset thumb. ScrollBar::thumb is the one thumb geometry, which PartsCx::scroll
declares and ScrollBar::shapes paints; the canvas scroll bars and the timeline's
bar paint through Draw::scroll_bar instead of their own copies.
2026-11-12 14:32:41 +00:00
aiongg be6d1a3332 Rules draw one physical pixel at every scale
Dividers, edges and grid lines are hairlines, as the old Divider was; the drop
mark keeps its medium width. RuleLook carries a RuleWidth that the rule painter
resolves to whole physical pixels.
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 5815b66839 PageView: the page and arrow keys of the old view through a canvas that leaves its keys to its body, and the zoom and pan decided from the canvas's settled view 2026-11-12 14:32:41 +00:00
aiongg 06d8d76868 Footer content reaches the dialog's body context; GuideLayout's Preview under the side buttons
FooterCx::dialog gives footer content the dialog's body context, as settle_buttons and
on_pick have it. FormDialog::footer_value edits the bound value from the footer, and New
Guide Layout's Preview check box uses it under the side buttons.
2026-11-12 14:32:40 +00:00
aiongg 714301c54f Trials: session keys before the tool, Insert on an anchor, the keyed pasteboard menu, Transform Symmetry's press 2026-11-12 14:32:40 +00:00
aiongg 4a5a6831e9 Canvas overlays: Insert, the keyed pasteboard menu and Delete on a selected guide
BezierOverlay reports an insert halfway along the segment leaving the picked
anchor on Insert, and ArtboardOverlay adds a board on the right of the picked
one. The Menu key or Shift+F10 on the focused canvas reaches the background's
controls (BackgroundPress::context_key), so the pasteboard opens its menu at
the view's centre. While a guide is selected, Guides hold Delete and Backspace
on the focused canvas and remove it.
2026-11-12 14:32:40 +00:00
aiongg 54a0c063fa Canvas session controls take the canvas's Enter, Escape and arrows first
KeyUse::session marks an arena member that holds its arena's edit session.
While none of its parts has focus, the runtime lends it the Submit, Cancel and
nudge routed to its arena root and, with nothing focused, the window's; what
it leaves goes back before the canvas's tool reads them. With nothing focused
the key stage routes the arrows as window nudges, which the tool host also
offers to the tool.

CropOverlay, TransformBox, PerspectiveCropQuad and SymmetryHandles (in a
session) act on the whole frame, box, quad or centre when no part has focus.
The tool-side copies of those keys go: CropToolPass bundles the overlay's
nudges in take, TransformTool keeps Enter and Escape for the Warp phase only,
SymmetryTool and the quad's Submit and Cancel in PerspectiveCropTool go.
SymmetryTool spends a press away from the handles.
2026-11-12 14:32:40 +00:00
aiongg c32baa96ba Full-window canvas runs the momentary Hand and Zoom itself
Every full-window workspace pans with Space and zooms with Cmd+Space and Alt+Space: the canvas keeps its own Momentary set between passes. The opt-in builder and the copies in Fill and Vanishing Point go.
2026-11-12 14:32:40 +00:00
aiongg 86f91ac95d The checkerboard is one textured shape from a repeating 2x2 texture, for every checkerboard (FW-151) 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 9c7f50d40c Story canvas: the story document's ground is document pixels
Every story document shows the old gallery's ground: white with grey squares of 40 document pixels,
composed under the story's picture, so the squares scale and turn with the view. The screen-fixed
transparency grid and Checker::PREFERENCE_DEFAULT no longer draw story documents. Pasteboard and
RotateView stories show the story document again.
2026-11-12 14:32:39 +00:00
aiongg a2676b8eac Framework UI crates: widgets, panels, canvas, patterns, shell and the craft-ui facade 2026-11-12 14:09:32 +00:00