Commit Graph
2205 Commits
Author SHA1 Message Date
aiongg 8a7d2ca627 Layer Style dialog fits a scrolling dialog body: the effect list takes its natural height, the Styles grid shows five rows and scrolls the rest (PresetBrowser max_rows) 2026-11-12 14:32:49 +00:00
aiongg 9c8c6a93d2 Stories: Blend If and the Warp type-layer case start from the old sample values 2026-11-12 14:32:49 +00:00
aiongg 984ab316c1 Stories: ColorBalance keeps its value and tone in one value; SwatchPair well names are static 2026-11-12 14:32:49 +00:00
aiongg 76aaa21b4f ComparePair story: active pane readout, spacing from tokens 2026-11-12 14:32:49 +00:00
aiongg 1b96198bd4 Colour stories: SwatchPair edits its colours with Active and Last event readouts; PaintChip shows fill, gradient fill and stroke 2026-11-12 14:32:49 +00:00
aiongg 092334d352 Layer style stories: the Blend If hint, ContourField under its Contour label with a readout, LayerStyleDialog in its form dialog starting closed 2026-11-12 14:32:49 +00:00
aiongg 0c30c66140 WarpFields stories: the group in an options bar, with Custom and an armed split, edits applied 2026-11-12 14:32:49 +00:00
aiongg c1e698eab1 Adjustment editor stories: each editor's cases in one card (Black & White, Channel Mixer, Selective Color, Color Balance tones, Photo Filter, Levels with a grayscale document, Curves with an isolated mask and a bumpy pencil curve) 2026-11-12 14:32:49 +00:00
aiongg 1b63d5ff48 LayerFilterBar stories: the three filter types in one card with the match count 2026-11-12 14:32:49 +00:00
aiongg 38fb06debd Runtime: with nothing focused, the clipboard events and edit chords of the canvas's edit set stay in egui for it 2026-11-12 14:32:49 +00:00
aiongg b55b820460 Runtime: the press rule moves only the framework's focus; the app's own widgets keep egui's surrender rule with the app's option 2026-11-12 14:32:49 +00:00
aiongg 9154f6fc4f egui fork 42e34e2a: Memory::set_focus_surrender, a focused widget's own rule for a press or click elsewhere 2026-11-12 14:32:49 +00:00
aiongg a7559262e3 Runtime: a Tab is egui's only when egui holds no focus either; focus on a component's widget without a stop keeps it from egui 2026-11-12 14:32:49 +00:00
aiongg b0670a47af Draw stories: AddBeside readout from the measuring run too; the transform story shows the reference point 2026-11-12 14:32:49 +00:00
aiongg 4bbb40a2b4 Draw stories: the brush section lookup as a method; Two artboards reports a board-name click 2026-11-12 14:32:49 +00:00
aiongg 118c58c606 CropOverlayMenu and CropOptionsMenu: drop the starts-open prop; the opener button opens them 2026-11-12 14:32:49 +00:00
aiongg b1f4f5f88f Brush settings stories: the 13 Photoshop sections, Shape Dynamics pane, two control rows and both size fields 2026-11-12 14:32:49 +00:00
aiongg 197d70c249 Gradient stories: swatches with names and full-width bars, click count; editor colour-request readout 2026-11-12 14:32:49 +00:00
aiongg cef5a06ae0 Crop menus and Path Options start closed; their own buttons open them 2026-11-12 14:32:49 +00:00
aiongg 07f4e4ac31 Artboard stories: boards on the pasteboard, the bar resizes a kept board with a size readout 2026-11-12 14:32:48 +00:00
aiongg a755fc4781 AddBesideHandles stories: readout of the button pointed at and the last click 2026-11-12 14:32:48 +00:00
aiongg 8dcf67cf49 TransformOverlay story: a live session under its TransformBar, phase readout 2026-11-12 14:32:48 +00:00
aiongg ac006af946 GradientEditor: stop fields keep the form labels 2026-11-12 14:32:48 +00:00
aiongg 11a815f187 BlendRows: Lock is the lock buttons' side label
The caption was a plain text, so it lacked the colon Opacity and Fill
take; as the group's side label it shows "Lock:" and names the group,
each button keeping its own name.
2026-11-12 14:32:48 +00:00
aiongg fdf07458b8 A caption above its control counts whole toward its field's width
A stacked caption added only its height to its field, so a row could
narrow the field to its control's least and cut the caption (the Columns
dialog's Preview showed "Pr...").
2026-11-12 14:32:48 +00:00
aiongg a6c95f705a A side label lines up with the first line of its control
The label scope took any control's baseline over every centre, so text
on a later line (AppearancePage's "Active" after a wrapped row of theme
chips) pulled the label down. A baseline now counts only from a control
that starts on the first reporting control's line.
2026-11-12 14:32:48 +00:00
aiongg 77e2e3d10d Check box, radio and switch labels in body type at full ink
A label after its control is the control's own text, as the old check
box and radio drew it; captions beside or above a control keep the muted
label type.
2026-11-12 14:32:48 +00:00
aiongg 1362d47fe4 Label scheme: a container sets Form or Inspector rows for the labels under it
LabelScheme decides where a beside label sits (against its control or at
the row's start), whether it ends with a colon (and, in a bar, a glyph
caption too) and whether its control fills the rest of the row. It is set
with ContainerProps::labels and replaces the per-label LabelAlign.
Inspector is set on the old inspectors: ShapePanel, ArtboardProperties,
TableProperties, the colour picker's and gradient editor's fields and the
Inspector pattern, and on the TextField, NumberField and Select stories;
a Field story shows inspector rows.
2026-11-12 14:32:48 +00:00
aiongg 9d2658dbc6 egui fork 5493e3aa: kittest's eframe harness runs App::raw_input_hook before every pass 2026-11-12 14:32:48 +00:00
aiongg 7c02fcef14 Runtime: a bare Tab with nothing focused in a window without focus stops is egui's, which moves its own focus 2026-11-12 14:32:48 +00:00
aiongg fbea3a0574 Runtime: with nothing focused, a canvas that keeps Tab gets the bare Tab from egui and nothing toggles 2026-11-12 14:32:48 +00:00
aiongg 564f089319 Regenerate docs/contract-api.md 2026-11-12 14:32:48 +00:00
aiongg 0599e9862e Runtime: a component clicks by the press lifecycle; egui's click options stay the app's 2026-11-12 14:32:48 +00:00
aiongg 0d521f98a7 Runtime: egui moves focus among an app's own widgets with the arrows and the Tab it keeps 2026-11-12 14:32:48 +00:00
aiongg 0c45ae2dc0 Runtime: an Escape the key stage takes ends egui's own drag, as egui's Escape does 2026-11-12 14:32:48 +00:00
aiongg 43549ad9db Runtime: runtime::keys re-exports the types an app reads window intents with 2026-11-12 14:32:48 +00:00
aiongg 6c76c5c915 Runtime: the window's pane and menu-bar keys are commands an app binding beats
F6, Shift+F6 and F10 become the window.nextPane, window.previousPane and
window.focusMenuBar commands (NavCommand). The keymap build lists the
chords bound to them and to the chrome commands once, and the key stage
takes a press only by that list, so rebinding moves the keys and unbinding
frees them. A default chord of these commands that another command also
binds is that command's: the app's binding beats the framework's default.
Menu and palette fires of NavCommand move panes or focus the menu bar in
the focused window's next pass.
2026-11-12 14:32:48 +00:00
aiongg 9dfdb4c26f Runtime: a host declares its own egui canvas as the window's document canvas
focus::host_canvas registers the app's own egui widget as a canvas stop
through the stop registration a framework canvas uses, so a bare Tab
toggles that window's panels, and the canvas takes keys as its KeyUse says
while it has focus.
2026-11-12 14:32:48 +00:00
aiongg 263ad24c08 Runtime: copy from an egui label selection stays egui's
The focus end hook records whether egui holds a label text selection; while
it does, the key stage leaves the copy and cut events in egui's input, so
egui copies the selection. A focused framework editor still takes them.
2026-11-12 14:32:48 +00:00
aiongg a1362ea605 Runtime: an app's own focused egui widget or popup keeps Tab, Escape and the clipboard
The focus end hook records whether egui focus is on a widget no framework
component made, or an egui popup is open, while no framework press or drag
is captured. While that holds, the key stage leaves Tab, Shift+Tab, plain
Escape and egui's clipboard events in egui's input and routes nothing for
them.
2026-11-12 14:32:48 +00:00
aiongg cde64912bc Runtime: the IME engine reads and writes the IME only while a framework editor owns it
The input hook leaves IME events in egui's input, and the end hook leaves
PlatformOutput.ime alone, unless a framework editor owns the IME or the
engine's reset is pending, so an app's own TextEdit or IME reader keeps
working under the runtime.
2026-11-12 14:32:48 +00:00
aiongg 3251c6c6fb Runtime: a press on the widget that holds egui focus keeps it
classify_press compares the press target with egui's focused widget, so a
host's own focused egui field keeps its focus when pressed, as a focused
framework stop already did.
2026-11-12 14:32:48 +00:00
aiongg a96e58b6bd MissingFontsDialog: the Replace With caption over the missing fonts
The field group named its rows for AccessKit only. A fixed section in the caption strength shows the old grey caption over them, with no rule.
2026-11-12 14:32:48 +00:00
aiongg 6ce4068b64 ShortcutsDialog: whole chord chips, an add button on every row, the reset arrow
A chip's label replaced its text with the access name, so the chips read "Sav…"; the chord is the painted text and the name stays the label. The shortcut column is as wide as its widest row of chips with the add and restore buttons, at most 40 % of the table, as the old was, and the add button keeps its place after the chips, so it no longer drops off rows. The restore button shows the catalog's new reset icon, a counter-clockwise circle, in place of the undo arrow.
2026-11-12 14:32:48 +00:00
aiongg 4989787bb4 CommentsPanel: plain icons at the button glyph size, the standard disclosure, a reply's author and age on one line
The status, check and lock icons were painted over a whole control-high square, twice the icon buttons beside them; they take the buttons' glyph side. A heading shows the disclosure glyph every component uses instead of chevron icons. A reply's author and age share one line, as in the old panel, where both fit whole; otherwise the age goes under the author.
2026-11-12 14:32:48 +00:00
aiongg cba374046d TextRuler: the decimal stop's dot at the size WordCraft draws it
Its radius was the thick stroke, about twice WordCraft's 1.1 pt, so the dots crowded the ruler.
2026-11-12 14:32:48 +00:00
aiongg e54fed5fa3 MediaControls: trim ends across a seek track that fills the bar
The trim ends were Slider marks: small ticks under the track that the seek snapped to. Slider::trim draws the ends of a kept span as lines across the track, a thumb high, in the warning colour, without snapping; Slider::fill_width lets a track take the rest of its row. The media controls use both, as the old did.
2026-11-12 14:32:48 +00:00
aiongg 56857cb223 Timeline and GraphEditor stories show the whole component; the time area is sunken without a frame
The time area is a fill view, so a story in the flow gave it only its content: the Timeline showed its top strip inside the view's rounded sunken frame, and the GraphEditor, shown over a rect nothing reserved, showed nothing. Timeline gets show_at and its story the stage; GraphEditor fills its row's width and measures a plot over its bar, and its story shows it in a strip view. The view paints the sunken fill under its time area only, square and with no edge, as the old panel did, and the track headers stay on the panel. The graph's value labels stay inside the plot: the top line's label stood above it.
2026-11-12 14:32:48 +00:00
aiongg 49da095b61 TimecodeField: as wide as its widest time
The field took the text field's length and shortest width, about twice its digits. FieldStyle::sized_by_content gives the field look without them, for the fields whose measure is their whole width; NumberField's style uses it too.
2026-11-12 14:32:48 +00:00
aiongg b35ae1b4b1 TimelineRuler: split-edit marks in their own row under the tick labels
The tick body is the label line over a mark row one label line high, as the old ruler kept a tick row under its labels. The video bracket hangs from the row's top, the audio bracket stands on its bottom, and each tag stays inside the row, so neither covers a tick label.
2026-11-12 14:32:48 +00:00