Skip to main content

Crate fluor

Crate fluor 

Source
Expand description

Fluor — first-principles GUI compositor library.

Center-origin, harmonic-mean RU coordinates with +y down and Spirix ScalarF4E4 storage. CPU pixel buffer with SIMD blits. Layout state serializes via VSF. Targets: aarch64 (production, including ferros bare-metal), x86_64 (development).

Re-exports§

pub use coord::Coord;
pub use coord::RuVec2;
pub use geom::Viewport;
pub use pane::Compositor;
pub use pane::Pane;
pub use pane::PaneId;

Modules§

coord
Center-origin, +y-down 2D coordinates in f32.
geom
Viewport geometry: pixel dimensions, derived universal scaling units, and conversions between RU coordinates and integer pixel coordinates.
host
Host backends — adapters between fluor’s Compositor and the platform’s window/framebuffer system.
paint
Pixel-buffer paint primitives. ARGB layout is 0xAARRGGBB (alpha high byte, blue low). All inputs are pixel-space, not RU — convert via Viewport::ru_to_px before calling.
pane
Panes — the unit of UI in fluor — and the Compositor that owns them.
theme
Theme constants — colors and geometry shared between paint primitives, chrome, and (eventually) widgets. Sourced verbatim from photon’s theme.rs; names match photon exactly so cross-codebase greps work.