#![forbid(unsafe_code)]
#![warn(missing_docs)]
mod animation;
mod cx;
mod edit;
mod floating;
mod geometry;
mod input;
mod keyboard;
mod keyed;
mod layout;
mod lock;
mod menu;
mod popup;
mod prop;
mod region;
mod screencopy;
mod scroll;
mod style;
mod text;
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 cx::Cx;
pub use floating::{FloatingConfig, FloatingWindow, WindowRequest};
pub use geometry::{Affine, Point, Rect, Size};
pub use input::{CursorShape, PointerButton, ScrollDelta};
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 screencopy::{CaptureFrame, CaptureRequest, CaptureSource, ScreencopyView};
pub use scroll::{ListView, ScrollView};
pub use style::{Border, Color, Font, Gradient, GradientShape, Padding, Shadow, Style};
pub use text::TextSystem;
pub use text_input::{FieldState, Preedit, TextInput};
pub use timer::{Timer, fire_timers, next_timer};
pub use view::{
CaptureView, Content, IconView, ImageView, InputView, NodeView, TextView, WindowView,
};
pub use widgets::{
Align, Button, Column, Element, Fit, Icon, IconPixels, IconSource, Image, 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, Color, Column, Cx, Edge, Font, Icon, IconSource, Justify, Layer, Menu, Output,
PanelWindow, PopupWindow, Row, Size, Spacer, Stack, Style, Text, TextSystem, Timer, Widget,
Window,
};
}