Commit Graph
4309 Commits
Author SHA1 Message Date
aiongg 1dcf0f8a17 Gradient icon: add the suite drawing of PhotoCraft's gradient swatch that icons.toml names 2026-11-16 16:26:39 +00:00
aiongg 1d8c7d13a2 Merge branch 'fw/mac1-bars' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-16 16:25:37 +00:00
aiongg 1cf223ebbc Merge branch 'fw/mac1-edges' into fw/mac1 2026-11-16 16:20:25 +00:00
aiongg 9e0f746710 Merge branch 'fw/mac1-dock' into fw/mac1 2026-11-16 16:20:25 +00:00
aiongg b32bb77e61 Dock area: a document panel's body is shown edge to edge, without the panel inset 2026-11-16 16:14:25 +00:00
aiongg 73d19e15d9 A gradient swatch among a bar's members is a short length wide 2026-11-16 16:14:04 +00:00
aiongg 49258624fc Inspector and Text Styles panels take no padding of their own: the dock group insets them 2026-11-16 16:13:59 +00:00
aiongg dc41b3dbe3 Shell slots choose their region before naming it; exhaustive pad edges 2026-11-16 16:13:37 +00:00
aiongg d5929d22a0 PresetPicker gains a compact Chip field: a small thumbnail over its caption on no well, sized for a bar's line; the brush preset picker uses it. PaintBarWords drop Size and Hardness 2026-11-16 16:13:33 +00:00
aiongg 7cd391de7e One floating scroll indicator for every scroll area
ScrollBarLook is one look: a clear track and a thin dim thumb line along the track's outer edge
at rest (stroke.thick), the whole track thickness (handle.sm) over a tinted track under the
pointer or while pressed. The docked kind (chrome track, edge rule, inset thumb) goes:
canvas and timeline bars take the same look. CxCore::scroll_bar_state gives a bar's state,
hovered while the pointer is anywhere on the bar, for every painter of a bar.
2026-11-16 16:12:12 +00:00
aiongg b3124fb9f2 Gallery: docked bodies leave their padding to the dock group 2026-11-16 16:12:04 +00:00
aiongg 88df0b40ee Dock area: every docked body fills its group inset by the panel padding 2026-11-16 16:10:57 +00:00
aiongg b47e5a28c7 TypeBar's size field shows the size glyph of the Character panel's size row 2026-11-16 16:10:08 +00:00
aiongg 718d054ecf A title bar end with no captions keeps its content the regular pad off the window's edge 2026-11-16 16:09:19 +00:00
aiongg 3250b5a213 Gradient styles show production's icons 2026-11-16 16:08:34 +00:00
aiongg 0e7ac68d43 CropBar: no Angle field, a labelled Straighten toggle, "Background (default)" 2026-11-16 16:07:54 +00:00
aiongg 23de14acd3 Hex fields show their # as the side label of their row: the Color readout, the compact and the full picker 2026-11-16 16:06:31 +00:00
aiongg aca39c7347 The status readout shows the document's resolution after its dimensions, and its zoom field has no glyph label 2026-11-16 16:06:08 +00:00
aiongg 60bdf15129 ToolRail fits its slot: block padding, a rail-width column per column with the buttons centred, toggles on one line
ContainerProps gains pad_edges (PadEdges::Block pads top and bottom only) and LeastWidth::Rail
(size.rail.width per column). ToolRail pads only above and below, is at least its columns'
rail width wide, and centres its grid of buttons, so no button or corner mark reaches past the
slot. The column and side toggles share one header line as small control-glyph buttons that
touch, which fits two in one rail column. A container's child_size and child_glyphs reach its
header and footer as well as its body, so a rail's footer buttons show the rail's glyphs.
AppShell::tools takes the rail's column count, so a two-column rail gets a two-column slot.
2026-11-16 16:05:13 +00:00
aiongg 4d1063b6dc PaintBar follows the Pro options bar: pen toggles, rules, no size or hardness fields; bar Home and tool buttons at the standard control size 2026-11-16 16:04:10 +00:00
aiongg 4a1f0e7494 Dock group: import Tokens for the drag band width 2026-11-16 16:03:34 +00:00
aiongg e99c005219 Dock group: the drag band at the strip's end is an icon's room with panel padding, so long tab names shrink 2026-11-16 16:03:28 +00:00
aiongg 8296832417 A field takes its content width among a bar's members
ContainerProps::content_in_bar keeps a container from the width in a bar; Field sets it, and an explicit sizing
clears it. The Content sizing every bar set on its fields is gone.
2026-11-16 16:02:09 +00:00
aiongg e86e041e13 Dock area: a group view lays out in a Ui held to its group's rect and clipped to it 2026-11-16 16:00:29 +00:00
aiongg 81078945af A row given its height centres its line; a fill-width row on that line fills it; top and bottom shell panes lay their bar on one line
A container given its height whose body is an unwrapped row sets the row's line at the middle of its band and
pads only along the line. A fill-width container with a row body on such a line is given the line's height, so a
bar in a top or bottom slot fills the slot. A container whose first line is its own row's line sits on an outer
row's line by it even with a child of two lines. The shell's top and bottom panes lay their content out as a row;
the egui centring wrapper and the slot's surface under the bar are gone.
2026-11-16 15:59:53 +00:00
aiongg 4816295631 Shell edge panes paint chrome and the rule toward the body; the window paints the background
Every shell slot but the title is a chrome pane: its surface covers the whole pane, so a rail
shorter than the window leaves no band of the clear colour, and a divider runs along its edge
toward the body (rails, options bar, status bar, the canvas panel rail). The edge rule is drawn
by the pane itself; PanelRail's own rule and the env's enclosing pane edge go. The window root
paints the background surface and the document tabs pane sits on it.
2026-11-16 15:55:32 +00:00
aiongg 310439e6b4 Trial: only the last open group of a dock column fills it 2026-11-16 15:52:34 +00:00
aiongg dbeb743fab Dock column: the last open group fills; groups asking for a fill no longer share 2026-11-16 15:52:27 +00:00
aiongg 296810849c Report an unresolved icon name once per name 2026-11-16 15:51:37 +00:00
aiongg 540387ec88 Gradient icon: a suite drawing of PhotoCraft's gradient swatch replaces Phosphor's striped file 2026-11-16 15:51:25 +00:00
aiongg 63a4811416 cargo fmt 2026-11-16 14:34:57 +00:00
aiongg 10f681650e design-lint: PenDraft on the closed list (own or foreign, fixed by meaning) 2026-11-16 14:21:29 +00:00
aiongg 2c39aa8eb2 TransformBox: format the craft_behavior import 2026-11-16 14:19:34 +00:00
aiongg 4c6712623f Keys: texts record their place in egui's input as presses do (in_egui); withdraw finds presses and texts by that place through one lookup 2026-11-16 14:18:56 +00:00
aiongg fe7246f6c6 TransformBox: one predicate decides which parts follow inside the slop, for the declared sense and the grip; a click that ends with the box as pressed cancels (CancelReason::Unchanged) 2026-11-16 14:15:26 +00:00
aiongg 8f1d4731d5 Props: vis option for setters; settings read follows open_with's folder and reports a damaged file; agent link rejects out-of-range ports 2026-11-16 14:10:46 +00:00
aiongg e1e8f86845 Pen: whose anchors a draft's are is a state of the handed-in draft (PenDraft), read by Delete, Backspace and remove_last alike 2026-11-16 14:10:37 +00:00
aiongg 594f455b80 Save for Web: the slice number inset is the tight gap token 2026-11-16 14:04:19 +00:00
aiongg fca840bcc5 Per-statement marks for the print marks; exception entries for the vec2 allows; slice number inset allow 2026-11-16 14:02:50 +00:00
aiongg 3bce302286 Allow markers for printer marks, print story page sizes and the Convert Point cursor tip 2026-11-16 14:01:16 +00:00
aiongg 5e5a4364dd design-lint: literal -1, 0 and 1 vectors are directions, not sizes (literal-size/vec2) 2026-11-16 14:01:16 +00:00
aiongg 4fb9c7c0a5 craft-draw: trial for the transform box's secondary-click mode menu 2026-11-16 13:58:43 +00:00
aiongg c02478d2b1 HistoryEvent::rename/new_snapshot and SwatchEdit::move_group constructors 2026-11-16 13:44:24 +00:00
aiongg f647f41e82 Merge branch 'dl/api' into dl/all 2026-11-16 13:39:11 +00:00
aiongg be59c9572f Merge branch 'dl/props' into dl/all 2026-11-16 13:39:10 +00:00
aiongg b39d967677 Merge branch 'dl/contract' into dl/all 2026-11-16 13:39:10 +00:00
aiongg fbe5a16ffe design-lint: api/non-exhaustive: #[non_exhaustive] on public types and variants, constructors where other crates build them 2026-11-16 13:31:29 +00:00
aiongg 3be93ea350 design-lint: contract/keys, contract/egui-import, contract/pointer, test/harness: imaging's raw story presses through testing::input, SelectMask::start_pass, CylinderValues::moved, the magnetic width trial in the select trials 2026-11-16 13:29:30 +00:00
aiongg 2512b3c381 design-lint: style/token-read: StyleCx::of_env gives the style context of a scope (with_root and ContentPainterCx::style_cx build on it); the adjustments grid works out its columns from it 2026-11-16 13:29:30 +00:00
aiongg da0fcfd21a design-lint: props: derive the setters of ui-widgets components (#[prop]) and drop the hand setters 2026-11-16 13:27:45 +00:00