Commit Graph
2462 Commits
Author SHA1 Message Date
aiongg 0109b9b8bf craft-automation: trials for the screenshot queue's budgets, settling, deadlines, cancellation, document generation and image checks 2026-11-13 03:20:08 +00:00
aiongg 738d034b69 craft-automation: names_open_dialog tells an app which ui.dialog requests are its DialogHost's 2026-11-13 03:20:08 +00:00
aiongg d4c4f57d96 craft-automation: a finished job sends the app's reply, so an error can carry partial results 2026-11-13 03:20:08 +00:00
aiongg d9566067a7 List rows: a row in_label_column keeps its label in the label column and leaves the empty toggle columns before it empty; Brush Tip Shape lines up with the section names 2026-11-13 02:48:04 +00:00
aiongg f780c31085 List rows: in a list of toggle columns only, the label band takes the room past the last column, so the label shows whole as measure counts it 2026-11-13 02:48:04 +00:00
aiongg f80288f2a0 RasterDisplay: the checkerboard and edge of a mapped display lie on its area, for painted pictures too
mapped/placed say where a picture lies in document space for a source and a
painted display alike. A size-changing preview the app paints (a rotation
centred off the document's origin) gets its checkerboard and edge under the
preview, not at 0..size. Trial with offset areas; story RasterDisplay rotated.
2026-11-13 02:34:07 +00:00
aiongg 0381885d67 Layer Style: the effect list has a name column, so a name shows whole and the list takes its widest name's width 2026-11-13 02:26:58 +00:00
aiongg 1e5782dfd4 Dialogs: StackDialog::story_facts; hosted forms keep their last pass's facts and hosted stories report them 2026-11-13 02:26:58 +00:00
aiongg af8855c139 Dialogs: FormDialog::preview takes an optional owner, every owner-less open starts with Preview on; Guide Layout's Preview box is FormDialog's; the story host is a story note 2026-11-13 02:26:58 +00:00
aiongg 7f34140aa6 Dialogs: FormDialog::preview is the one Preview box; hosted stories reopen their dialog when a knob changes
FormDialog::preview(Bind<bool>) adds the Preview check box under the side buttons, with one
word (formDialog.preview) and hold-to-compare in FormOutput::comparing. ParamDialog,
HostedAdjustDialog and HostedLayerStyle use it; their own boxes and the paramDialog.preview,
adjust.preview and layerStyle.preview words are gone.

The hosted story helpers take the knob values the dialog is built from and replace the open
dialog when they change. The Export As story asks for a preview only while preview_ready is on.
2026-11-13 02:26:58 +00:00
aiongg be927e9393 Dialogs: hosted forms for Canvas Size, About, format options, Export As, Alert, Layer Style and the adjustment dialogs
Each opens on a DialogHost as a StackDialog that owns what its dialog edits
and binds the dialog's open state to its own field, so it opens again after
closing. HostedCanvasSize and HostedImageSize share SizingOutput::hosted.
HostedExportAs keeps its preview and save requests for the app as
HostedSaveForWeb does; HostedAbout keeps the activated link. HostedAlert
holds an Alert's content. HostedLayerStyle frames the Layer Style body in a
form dialog with side buttons and the Preview box, and queues the page's asks
as LayerStyleAsk. HostedAdjustDialog<V, E> frames any adjustment editor the
same way, resizable and remembered for Curves, with the editor's asks as E.

Stories open the hosted dialogs through a story host bound to the card's
open value (dialog::stories::hosted), so the card holds them behind its
button and story-render shows them open. Trials open each on a DialogHost
and check Escape, OK and the asks.
2026-11-13 02:26:58 +00:00
aiongg c2d351eb83 RasterSource::read: out holds premultiplied sRGBA, as ColorImage does 2026-11-13 02:24:03 +00:00
aiongg f5dafff290 BrushSectionEvent: constructors for hosts and their tests 2026-11-13 02:01:17 +00:00
aiongg 1a128b726a Brush Settings stories: switch rows carry a lock 2026-11-13 02:01:17 +00:00
aiongg f824a7c6c0 BrushSectionList: a switch row carries its lock like a pane row 2026-11-13 02:01:17 +00:00
aiongg ce8b988404 RasterDisplay: checkerboard under the run of copies and the document only 2026-11-13 01:44:11 +00:00
aiongg e918fb84e4 RasterDisplay stories tiled and beyond 2026-11-13 01:44:11 +00:00
aiongg dbd8ec10c6 RasterDisplay extent: tiled copies and a region past the document, for source and painted pictures 2026-11-13 01:44:11 +00:00
aiongg 0748cf6634 FW-263 review: a list trial for the multi-click selection rule; a triple thumbnail click that selected acts once; the hold comment names keeps_pick 2026-11-13 01:30:21 +00:00
aiongg 4b607c829d Lists: a later click of a multi-click on a selected row keeps the selection the first click left; Layers: a double click's selection names its thumbnail part
A double click on a Smart Filter row reported its Activate on the second press and narrowed the selection on its
release, after the app had opened the filter's editor. A double click on a fill thumbnail reselected the row with no
part, which targets a fill layer's mask.
2026-11-13 01:30:21 +00:00
aiongg 27c143b9f0 docs: contract-api and components-index regenerated 2026-11-13 01:30:18 +00:00
aiongg 045b9df8c6 Cursor images: a trial for the root-window rule; the API map points CursorBitmap at the cursor service
Frames::frame_in_viewport runs a full frame of a child window, events and recorded output included, through the
fixture's one frame runner, so a trial can see what a child window's pass sends out. A painted pointer in a child
window sends no image and is painted.
2026-11-13 01:27:37 +00:00
aiongg 6e301f04c7 Cursor images: a badged system cursor keeps the system arrow; trials for where, when and how the image goes out 2026-11-13 01:27:37 +00:00
aiongg 0067fe7b3c Cursor service: painted pointers reach the window as cursor images
A painted pointer is drawn once as a list of marks around its hotspot (ghost/art.rs) and either painted on the ghost
layer or rasterised with tiny-skia into the cursor image the window shows, where the window takes one at its size:
the root viewport of a native build, not Wayland off scale 1, within 255 px on Linux and 2048 elsewhere. The image is
in points on macOS. A brush tip too large for an image hands its centre cross and badge to the window and paints its
ring. The cursor service clears egui's sticky image every pass and keeps the last image while the art and scale are
unchanged, so the integration uploads it once. The brush cursor's own distance-field rasteriser goes.
2026-11-13 01:27:37 +00:00
aiongg 67afa195e2 docs: contract-api and components-index regenerated 2026-11-13 01:25:45 +00:00
aiongg 908da71beb New Workspace's Capture boxes sit in a titled group box; contract API lists the workspace captures 2026-11-13 01:22:55 +00:00
aiongg a2e346e414 Trials: dock side width, workspace captures, bottom pane on switch, workspace dialogs 2026-11-13 01:22:55 +00:00
aiongg 741be65f20 New Workspace and Delete Workspace dialogs for WorkspaceAsk 2026-11-13 01:22:55 +00:00
aiongg d4077e8219 Dock side width scales its columns within their bounds; saved workspaces keep the toolbar choice 2026-11-13 01:22:55 +00:00
aiongg bcd07c7167 F-5 docs: the hover band lies inside the view; the host's clock is the last painting pass 2026-11-13 01:08:19 +00:00
aiongg 74a1426e57 F-5 review: the host reports the autoscroll step from the pass clock; the hover band is size.hit.edge inside the view's rect; a secondary background press leaves a text session open 2026-11-13 01:08:19 +00:00
aiongg 408d419e9b ToolHost: a tool that autoscrolls on hover scrolls the view from the band inside the canvas edge; Autoscroll::step 2026-11-13 01:08:19 +00:00
aiongg 47a49e542d TextEditor: a press on the canvas background commits the session 2026-11-13 01:08:19 +00:00
aiongg 5b22727818 Story suite: a shown run lies inside its own clip, and a run the base shot shows whole stays whole under each variant 2026-11-13 00:45:28 +00:00
aiongg a8607f3526 Theme: field widths follow the text size; a field holds a number of characters 2026-11-13 00:45:28 +00:00
aiongg fcc93550ef docs: contract-api and components-index regenerated 2026-11-12 22:55:41 +00:00
aiongg 33a389b1bc Keys: keys::keyed reports a pass's key input, withheld presses included; craft-menu's had_input reads it 2026-11-12 22:54:16 +00:00
aiongg 9f2fe6923e Keys: the held-open canvas's Space is a press the held rule decides; a space a text field types is the field's 2026-11-12 22:54:16 +00:00
aiongg 164420d72f Keys: focus_holds reads a plain Space as the space it types, as routing does 2026-11-12 22:54:16 +00:00
aiongg a10810e44d Keys: a text field in a menu keeps the text field's rule; its editing keys reach the egui text widget 2026-11-12 22:54:16 +00:00
aiongg 1d9733b61c Keys: a text field holds the presses whose text it took, in place of the typed-shortcut filter; focus_holds names its letters 2026-11-12 22:54:16 +00:00
aiongg 41c16c7b6e Commands: a key command keeps open the popup whose content declares its scope; instances record the layer they run in 2026-11-12 22:54:16 +00:00
aiongg 95cddb5b6e Canvas: an empty or app-painted RasterDisplay releases every texture its stores hold 2026-11-12 22:54:16 +00:00
aiongg 9767ae636d Keys: trial that a letter typed on a list without type-ahead reaches the app 2026-11-12 22:54:16 +00:00
aiongg f37a8b2a7f Keys: focus_holds answers from routing's own decisions: a list's type-ahead letters, and every press of a menu or recorder, which routing also keeps from egui 2026-11-12 22:54:16 +00:00
aiongg c08ad7196b Keys: a press's release or a clipboard event ends the press a following text links to 2026-11-12 22:54:16 +00:00
aiongg 788c89b024 Commands: a key command closes the open popups, as an app shortcut through close_popups does 2026-11-12 22:54:16 +00:00
aiongg 4e7ab74238 docs: contract-api and components-index regenerated 2026-11-12 22:48:32 +00:00
aiongg b250a325fa F-1 review: layer runs by their clip, opt-in cross flip, capped popups in a region, strip speed in rows
- Story suite: a text run counts as shown by an open layer only when its clip lies
  in that layer; PaintedText records the clip.
- Place::flipping_across: only submenus open upward from a low row; rail and dock
  flyouts slide as PhotoCraft's tool flyouts do.
- Only modal and window layers in an embedded shell's region take the whole
  region; a popup kept in a PopupRegion keeps its cap.
- Strips scroll at rows per second of a control's height and show in the pass
  whose measured content first overflows.
- Trials: a bar menu reopened after scrolling to its end shows one level from
  its first row; a dropdown in a bar menu keeps its cap; a low tool's flyout slides.
2026-11-12 22:46:05 +00:00
aiongg 79c7a62e12 Story suite: a text run in an open layer stays in its part; restore the overflowing-menu story
The text-size case counted only the story's own area as shown, so a scrolled
popup's rows, cut only by its view, read as leaving their part once a density
change moved them past that area. What the story shows is its area and the
layers it has open.
2026-11-12 22:46:05 +00:00