kova_native_widgets/
lib.rs1mod context;
6mod editor;
7mod element;
8pub mod elements;
9pub mod headless;
10pub mod icons;
11pub mod responsive;
12mod style;
13mod text_input;
14mod theme;
15mod tree;
16pub mod widgets;
17
18pub use context::{Clipboard, EventCx, MeasureCx, MemoryClipboard, PaintCx, WindowCommand};
19pub use editor::TextEditor;
20pub use element::{AnyElement, DragEvent, Element, ElementBase, Interactive, IntoElement};
21pub use responsive::{Breakpoint, breakpoint, responsive, viewport_size};
22pub use style::{BoxShadow, Mask, Style, Styled, TextRefinement};
23pub use theme::{Theme, set_theme, theme};
24pub use tree::{
25 DispatchContext, DispatchResult, ElementTree, FrameContext, FrameOutput, FrameStats, NodeId,
26};
27
28#[cfg(test)]
29mod tests;
30
31pub mod prelude {
34 pub use crate::elements::*;
35 pub use crate::responsive::{Breakpoint, breakpoint, responsive, viewport_size};
36 pub use crate::widgets::*;
37 pub use crate::{
38 BoxShadow, Interactive, IntoElement, Mask, Style, Styled, Theme, set_theme, theme,
39 };
40 pub use kova_native_render::{ShaderId, register_shader};
41}
42
43#[cfg(test)]
44mod overlay_tests;
45
46#[cfg(test)]
47mod widget_tests;