Skip to main content

geop_core_editor/editing/
mod.rs

1//! What an editor exchanges with an operation while a step is edited: the
2//! [`Presentation`] it shows, a [`Dialog`] of fields and the [`Visual`]s it
3//! draws, and the [`Event`]s of what the user did. Fields say what a value
4//! means, never how it is edited, so a pick, a selection or a drag means
5//! the same in every operation.
6
7mod dialog;
8mod event;
9mod form;
10pub mod gizmo;
11pub mod hit;
12mod visual;
13
14pub use dialog::{
15    Action, Cell, Choice, Column, ColumnKind, Control, Dialog, Field, FileEntry, Layout, ListItem,
16    Number, Picked, Preview, Reference, Table, TableRow, Tone, Track, Unit, is_formula,
17};
18pub use event::{CanvasEvent, DRAG_SNAP, Pointer, Reach, StepEditEvent, TableEdit, Value};
19pub use form::{Event, Form, InHand, Pull};
20pub use gizmo::{Axis, Change, Gizmo, GizmoDrag, GizmoPart, GizmoView, Orientation};
21pub use visual::{Extent, Presentation, Prompt, Shape, Style, TRIAD, Visual};