Commit Graph
2760 Commits
Author SHA1 Message Date
aiongg fdeeec6d41 cargo fmt 2026-11-13 19:26:50 +00:00
aiongg 7d64b7ddee Faced sliders keep the groove's ramp thickness; a triangle-pointer slider (colour channel) shows its face as a band of size.ramp.bar 2026-11-13 19:26:50 +00:00
aiongg 1e2a432679 SwatchPair: round wells take the pointer in their circle, trial for the well shape per theme; Color panel slider modes: the ramp takes the room the channel rows leave (least size.ramp.bar); SliderField keeps its field width from its measure; story-render --theme/--mode; Fixture::theme_id 2026-11-13 19:26:50 +00:00
aiongg 9a2efb6cbb Color panel: the slider modes' ramp is the body's footer outside the scroll; channel rows in a FieldGroup (shared letter column, FieldGroup::gap); a content-sized text field goes without the short-length floor (hex field sized to # and its digits) 2026-11-13 19:26:50 +00:00
aiongg 833cc71505 Token dumps carry shape.wells 2026-11-13 19:26:50 +00:00
aiongg 5b3749e34a docs: PaintUi::measure in contract-api 2026-11-13 19:26:50 +00:00
aiongg f04b5867fa Color panel look (fix round): channel rows at production density with content-sized fields and the colour band of size.ramp.bar; readout letters and fold; framed edited well; gamut warning beside its swatch; ramp a control tall
- PaintUi::measure: a composite measures a child as PaintUi::child shows it.
- SliderField::field_sizing; the Inline field takes its measured width.
- Slider: the triangle starts under the colour band; TrackLook::ramp is size.ramp.bar.
- NumberField: a field that rounds what it commits is sized at those places; a mixed field is sized as with a value.
- ColorReadout: a wrapping row, the hex field then R, G, B fields after their letters, each content-sized.
- SwatchPair::frame_active; ColorWarningChip::beside.
2026-11-13 19:26:50 +00:00
aiongg c17531be51 cargo fmt 2026-11-13 19:26:50 +00:00
aiongg acb9642b06 Color panel: Sizing::Fill leaves report that they fill; the readout shares its column's width; trials for the cubes' room and one-line channels 2026-11-13 19:26:50 +00:00
aiongg 622f18768c Color panel look: a leaf with Sizing::Fill fills both axes; the Hue and Brightness Cubes take the height the readout leaves; ChannelRow is one line with the channel's letter and a triangle thumb (SliderField::thumb) 2026-11-13 19:26:50 +00:00
aiongg cc4b4ec895 Trial: register the Color panel menu trial with the crate's harness 2026-11-13 19:26:50 +00:00
aiongg 920f839f05 Trial: the Color panel menu's drawn and published checks follow the state 2026-11-13 19:26:50 +00:00
aiongg 273f6957c6 ColorPanelMenu::checked: a row's check for hosts that draw the menu themselves; states() maps over it 2026-11-13 19:26:50 +00:00
aiongg b27d5d4eb5 Theme: shape.wells, the shape of a colour well that stands on its own; SwatchPair draws round wells where the theme says so (Adwaita, Breeze, Soft) 2026-11-13 19:26:50 +00:00
aiongg 80fa53719e docs: contract-api and components-index regenerated 2026-11-13 18:47:26 +00:00
aiongg f759fce00f Canvas: Overscroll off centres a document smaller than the view; the wheel's modifiers carry a held Alt the wheel events miss (Windows); a part read in a run that stopped before the parts step (an egui sizing pass) reads idle 2026-11-13 18:44:56 +00:00
aiongg 9b957ec673 Canvas wheel zoom: anchor at the pointer the wheel came at (Wheel::at, in the taker's layer space from take_wheel), so an app widget over the body does not move the anchor to the centre 2026-11-13 18:44:56 +00:00
aiongg e1ae7a64a4 Canvas wheel: a line pans Photoshop's 16 points (Component::wheel_notch), Alt with the Control key zooms as Alt does; a focused field takes the field's share of the wheel wherever the pointer is; FrameOutput.delivered records the commands components took 2026-11-13 18:44:56 +00:00
aiongg 7399b2124d RasterDisplay: a mapped picture with Extent::Tiled repeats its area a whole area apart 2026-11-13 18:44:56 +00:00
aiongg bdf0c6db0b CanvasSpace::set_view: the target and the shown view by one rule for the canvas and the tool host; easing_view reads a canvas's zoom ease outside its pass 2026-11-13 18:44:56 +00:00
aiongg fc9d22f16e Canvas: view_follows_pointer leaves the shown view unaligned while the app's tool moves the view with the pointer 2026-11-13 18:44:56 +00:00
aiongg 496332d5dc Canvas: pixel_aligned is public for apps that map outside the pass; CanvasSpace::easing says when view is part way to target 2026-11-13 18:44:56 +00:00
aiongg 34c9ec35c5 Canvas: the shown view is pixel-aligned at whole device magnifications with no rotation; the Hand's glide steps from the view it set 2026-11-13 18:44:56 +00:00
aiongg 5e7ce4fd88 Canvas: ease_from and jumped, an app's own view change eases or stops the canvas's zoom ease 2026-11-13 18:44:56 +00:00
aiongg 6db659f909 docs: contract-api and components-index regenerated 2026-11-13 18:43:43 +00:00
aiongg 449e133c11 A resized anchored popover keeps only its size: each opening places it from its anchor or point at that size, with grips only on the edges its placement leaves free; Contour picker in 4 columns; contract-api regenerated 2026-11-13 18:40:30 +00:00
aiongg 3944c303e3 Popovers size from their content, at least their anchor's width below or above it, capped by the window; a collection measured from its content lays its rows out at the width it asks for; PresetPicker and PresetBrowser columns (default 6) give the grid's ideal width 2026-11-13 18:40:30 +00:00
aiongg c25aa4280e BrushPresetPicker: angle and roundness in the head, Escape reverts size, hardness, angle and roundness, open_at and resizable, Show Search Bar and app gear rows; BrushSizeField is one stacked shape, its restore the binding's reset value 2026-11-13 18:40:30 +00:00
aiongg a555f84b71 PresetPicker as a pattern over a Popover container: open at a point without the field (open_at), resizable with a remembered size; PopoverOutput reports its open state from its binding (ColorPopover and PresetPicker read it, not the exit fade); no hover proposals 2026-11-13 18:40:30 +00:00
aiongg 4daa178128 docs: contract-api and components-index regenerated 2026-11-13 18:38:51 +00:00
aiongg d78a3aa6b2 theme-store: has_theme and in_library check the suite's themes without copying a definition 2026-11-13 18:36:52 +00:00
aiongg 27608b1da3 RootEnv: the theme is private with its definition; theme_id reads it, set_theme sets it in place 2026-11-13 18:36:52 +00:00
aiongg 6448292d7b SuiteClient: selection_read exposes whether the suite's selection has been read 2026-11-13 18:36:52 +00:00
aiongg d2c8f4d1a0 RootEnv: theme_def is set only with the theme; naming a theme by id clears it 2026-11-13 18:36:52 +00:00
aiongg 49bd1f1851 RootEnv: a library theme the root names resolves from its own definition 2026-11-13 18:36:52 +00:00
aiongg 172e753d87 Multi-line text parts declare that they act on Enter, so the one Submit take in the text step keeps it from the default button; ParamRows' full-width choice is one Line method 2026-11-13 18:32:12 +00:00
aiongg 02e1c47112 Param list additions and the preview click point: Param::multiline, Param::read_only_text, PreviewOutput::clicked through ParamDialog and HostedParamDialog 2026-11-13 18:32:12 +00:00
aiongg df9a3eee36 docs: contract-api and components-index regenerated 2026-11-13 18:28:08 +00:00
aiongg 32d694f8c3 A column group's value and unit reads settle before a measure stands, wherever the row sits
Every read of a column other than a label one in a measuring run counts as early: the reader's own width holds the column, so a content-sized field read directly in a group (or after a presets chevron) re-sweeps at the group's final widths instead of running past the group.

The settle re-sweep is drafted with the Auto id ordinals kept, so the rows of the second sweep get the ids the real run gives them and a settled frame takes the kept measurements.

A component's own leaf label step runs under the field frame: its control reads the value and unit columns in both runs.
2026-11-13 18:25:43 +00:00
aiongg 24416a0c17 Divide Slices: a count shows no pixel unit 2026-11-13 18:25:43 +00:00
aiongg 35b57473e3 Content-sized number fields line up their values and units across a column group: a field's body shares the group's columns other than its labels 2026-11-13 18:25:43 +00:00
aiongg 5a0f8a6cdd docs: contract-api and components-index regenerated 2026-11-13 18:25:40 +00:00
aiongg 871945b5ae Trial: the focus target uses Id::unique (Id::new is deprecated in the egui pin) 2026-11-13 18:21:21 +00:00
aiongg b0f858b567 Injected input: a document withdraw takes effect per step at the next input hook and removes a handed-over step 2026-11-13 18:21:21 +00:00
aiongg 9d0d7ff3e2 Trial: queued input is withdrawn when its target changes 2026-11-13 18:21:21 +00:00
aiongg 12dae06907 Injected input holds presses, keys and modifiers; wheel, release, Caps Lock override, hover rest and document points 2026-11-13 18:21:21 +00:00
aiongg 42f4adb378 docs: contract-api and components-index regenerated 2026-11-13 18:21:18 +00:00
aiongg e0162ae507 Layer stack: a family is modal by its root, so a hosted modal lifted by its drag strips stacks under a later app dialog 2026-11-13 18:15:44 +00:00
aiongg 23b96d6115 DialogHost walk: hosted and app-drawn dialogs show in one walk of the stack, each at its place
walk + next_beside show the host's dialogs in stack order inside their stack place and hand the app each of its own dialogs (BesideStep) to show at its place; run is the walk with no app dialogs. A dialog of the app that leaves the stack (close_beside, or with a hosted parent) closes the framework layers opened inside it: at once when a Context is there, else at the next walk. Trials: app_dialogs_draw_and_take_input_at_their_stack_place, the_walk_shows_each_dialog_once_per_pass, a_framework_popup_in_an_app_dialog_closes_with_it.
2026-11-13 18:15:44 +00:00
aiongg 8de9e2dd3e Layer stack: dialogs stack at their stack place; app-drawn modals are modal layers of the stack
overlay::stack_place gives the layers a dialog host shows their place on its stack, and the modal families that carry one stack in the stack's order in the slots the raise order gave them: a press on a lower dialog or a dialog replaced in place no longer reorders them. contract::overlay::show_beside_modal shows an egui::Modal the app draws itself as a modal layer (order, top modal, egui's modal layer, key blocking, a focus scope that leaves Escape and Enter to the app, parent of the layers opened inside it); close_beside_modal closes those layers when the dialog closes.
2026-11-13 18:15:44 +00:00