beffroi-tools/docs/midra-layout.md

1.3 KiB
Raw Blame History

Midra Layout appearance preview

A native Rust/egui visual draft of Concept A: dark operator workspace, fitted screen artwork, two sample layers, selection markers, dimension guides and a right-hand inspector. The inspector includes source format, corner offsets, layer dimensions and illustrative WebRCS values.

Run from the repository root:

cargo run --locked -p midra-layout

This is appearance only. Buttons, fields, layer selection, copy/paste, zoom and movement are inactive. The screen artwork is drawn into the preview; stage-layout.png is an illustrative label, not a loaded file. All displayed coordinates are fixed sample values, not computed device settings. There is no device connection, file import, clipboard access or persistent configuration.

The window can be resized; the screen retains its aspect ratio and the right inspector scrolls on shorter windows. The minimum window size is 1000 × 720 logical points. Native desktop launch requires a graphical session.

The crate is a Cargo workspace member, so existing workspace lint, tests, docs and coverage commands include it. It has no positioning/cropping logic to test yet; visual review is the relevant acceptance check for this draft.

See the project plan and SVG concepts and resolution/cropping specification for future work.