mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-18 01:22:49 +00:00
Each opens on a DialogHost as a StackDialog that owns what its dialog edits and binds the dialog's open state to its own field, so it opens again after closing. HostedCanvasSize and HostedImageSize share SizingOutput::hosted. HostedExportAs keeps its preview and save requests for the app as HostedSaveForWeb does; HostedAbout keeps the activated link. HostedAlert holds an Alert's content. HostedLayerStyle frames the Layer Style body in a form dialog with side buttons and the Preview box, and queues the page's asks as LayerStyleAsk. HostedAdjustDialog<V, E> frames any adjustment editor the same way, resizable and remembered for Curves, with the editor's asks as E. Stories open the hosted dialogs through a story host bound to the card's open value (dialog::stories::hosted), so the card holds them behind its button and story-render shows them open. Trials open each on a DialogHost and check Escape, OK and the asks.
14 lines
294 B
Rust
14 lines
294 B
Rust
//! The form dialogs' own logic: the parameter model, its spec-string parser, the value store, the size model,
|
|
//! guide layout and the export file name.
|
|
|
|
mod about;
|
|
mod dialog;
|
|
mod export;
|
|
mod hosted;
|
|
mod new_document;
|
|
mod params;
|
|
mod password;
|
|
mod preview;
|
|
mod preview_width;
|
|
mod size_model;
|