fret-ui 0.1.0

Mechanism-layer UI engine for Fret with tree, layout, focus, routing, and interaction contracts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod solver;
mod types;
mod util;

pub use solver::{
    anchored_panel_bounds, anchored_panel_bounds_sized, anchored_panel_layout,
    anchored_panel_layout_sized, anchored_panel_layout_sized_with_trace,
    anchored_panel_layout_with_trace,
};
pub use types::{
    Align, AnchoredPanelLayout, AnchoredPanelLayoutTrace, AnchoredPanelOptions, ArrowLayout,
    ArrowOptions, CollisionOptions, LayoutDirection, Offset, ShiftOptions, Side, StickyMode,
};
pub use util::{inset_rect, intersect_rect};

#[cfg(test)]
mod tests;