#![forbid(unsafe_code)]
#![warn(missing_docs)]
mod animation;
mod canvas;
mod cx;
mod edit;
mod floating;
mod geometry;
mod grid_view;
mod image;
mod input;
mod keyboard;
mod keyed;
mod layout;
mod lock;
mod menu;
mod popup;
mod prop;
mod region;
mod rich;
mod screencopy;
mod scroll;
mod scrolling;
mod select;
mod slider;
mod style;
mod text;
mod text_area;
mod text_input;
mod timer;
mod tree;
mod view;
mod widgets;
mod window;
#[cfg(test)]
mod tests;
pub use animation::{
Animate, Animation, Easing, Spring, Transition, advance_animations, animating,
};
pub use canvas::{Canvas, CanvasOp, Cap, Join, Paint, Path, PathCommand, Pen, Stroke};
pub use cx::Cx;
pub use floating::{FloatingConfig, FloatingWindow, WindowRequest};
pub use geometry::{Affine, Point, Rect, Size};
pub use grid_view::GridView;
pub use image::{ImageTransition, dropped_images, image_source_decoding, image_source_failed};
pub use input::{CursorShape, Drag, DragPhase, PointerButton, ScrollSource, Wheel, WheelAxis};
pub use keyboard::{Clipboard, Key, KeyEvent, Modifiers};
pub use lock::{Lock, SessionLock};
pub use menu::{Menu, MenuEntry, MenuToggle};
pub use popup::{Adjust, Placement, PopupWindow};
pub use prop::{IntoProp, Prop};
pub use region::Region;
pub use rich::{MARKUP_CAP, Span, parse_markup};
pub use screencopy::{CaptureFrame, CaptureRequest, CaptureSource, ScreencopyView};
pub use scroll::{ListView, ScrollView};
pub use slider::Slider;
pub use style::{
Border, Color, Font, FontFeature, Gradient, GradientShape, Mask, Padding, Radii, Shadow, Style,
TextAlign,
};
pub use text::{TextMetrics, TextRun, TextSystem};
pub use text_area::TextArea;
pub use text_input::{FieldState, Preedit, TextInput};
pub use timer::{Timer, fire_timers, next_timer};
pub use view::{
CanvasView, CaptureView, Content, IconView, ImageView, InputView, NodeView, TextView, WindowView,
};
pub use widgets::{
Align, Button, Column, Element, Elide, Fit, Grid, Icon, IconPixels, IconSource, Image,
ImageFilters, Justify, Row, Spacer, Stack, Text, Widget,
};
pub use window::{
Anchors, Edge, KeyboardFocus, Layer, Margins, Output, PanelWindow, SurfaceConfig, Window,
};
pub mod prelude {
pub use crate::{
Align, Button, Canvas, Cap, Color, Column, CursorShape, Cx, Drag, DragPhase, Edge, Elide, Font,
FontFeature, Grid, GridView, Icon, IconSource, ImageTransition, Join, Justify, Layer, Mask,
Menu, Output, Paint, PanelWindow, Path, Pen, Point, PopupWindow, Radii, Rect, Row,
ScrollSource, Size, Slider, Spacer, Span, Stack, Stroke, Style, Text, TextAlign, TextMetrics,
TextSystem, Timer, Wheel, WheelAxis, Widget, Window, parse_markup,
};
}