Commit Graph
2747 Commits
Author SHA1 Message Date
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
aiongg e4f89cf796 Repin the egui fork to craft/popup-above-parent dcd4de1fb (E34 on E33): an egui popup stays directly above the layer it opened from 2026-11-13 18:15:44 +00:00
aiongg a9ed41b60f DialogHost::open_beside and close_beside: app dialogs take their stack place when they open and close 2026-11-13 18:15:44 +00:00
aiongg e98b39a326 DialogHost::sync_beside and automation inspect_stack: app dialogs share the host's stack 2026-11-13 18:15:44 +00:00
aiongg c6a443ac1b docs: contract-api and components-index regenerated 2026-11-13 18:02:26 +00:00
aiongg 1150dd376c Elided text: a path's readable least is measured on the cut it paints, a cut trims white space before its ellipsis, and a row records which units it dropped
TextRun::least_width measures Wrap::ElidePath on the range layout_cut paints at that width (the last name cut, or
the name whole after the ellipsis), through one path_name helper both share. cut_pieces trims white space before the
ellipsis, in the paint and the least alike. The row shrink step records each unit's width and whether it dropped as a
Shrink record in layout memory (layout::ShrinkCap), and a leaf reads the drop from it.
2026-11-13 17:57:00 +00:00
aiongg abddf29103 Row shrink step: a row that does not scroll drops its cut-first units from the end when they do not fit at their least 2026-11-13 17:57:00 +00:00
aiongg ac83ed0ed2 TextRun readable least: an elided run narrows to its first four characters and the ellipsis, measured and painted through one cut 2026-11-13 17:57:00 +00:00
aiongg 633bbba9da Bar: a labelled control and its label are judged as one member, so the rules before it settle with it 2026-11-13 17:57:00 +00:00
aiongg 449f761222 docs: contract-api and components-index regenerated 2026-11-13 17:56:56 +00:00
aiongg c6035506e9 Tool drawer: group headings are section headings (strong, as in the old gallery) 2026-11-13 17:44:44 +00:00
aiongg 6f1263daad ListRow trial: group header weight against section heading 2026-11-13 17:44:44 +00:00
aiongg fb3962ce5d ListRow: a group header reads in the body weight, section_heading for a table's strong section rows; TileGrid: a leading group header sits at the top edge 2026-11-13 17:44:43 +00:00
aiongg 53ff1a9cc7 cargo fmt 2026-11-13 17:44:43 +00:00