ttui/lib.rs
1#![warn(missing_docs)]
2
3//! `ttui` — a terminal UI framework built around layered buffers,
4//! `Transition`-driven animation, and dumb (no-internal-state) widgets.
5
6/// Terminal event loop and the `App` trait apps implement.
7pub mod app;
8/// `AudioSink` trait for optional sound-effect playback.
9pub mod audio;
10/// Alpha-blending prototype — spike prototype, not a committed API.
11pub mod blend;
12/// Cell/`Buffer`/`LayerStack` — the framework's core render target.
13pub mod buffer;
14/// Deterministic camera viewport and brightness scaling.
15pub mod camera;
16/// Sub-cell rendering primitive (half-block + braille) — graduated,
17/// committed API; see the module docs for `HalfBlock` vs `Braille`
18/// details.
19pub mod canvas;
20/// Linear/eased interpolation and progress helpers.
21pub mod easing;
22/// Screen-shake and other whole-buffer visual effects.
23pub mod effects;
24/// Decaying noise overlay for glitch/corruption effects.
25pub mod glitch;
26/// Key-binding resolver: single keys and multi-key chords resolving
27/// to an app-defined action type.
28pub mod input;
29/// `Rect`/`Constraint`-based area splitting.
30pub mod layout;
31/// Deterministic seed-driven jitter for scattering and placement.
32pub mod noise;
33/// A simple particle system for bursts and impacts.
34pub mod particles;
35/// Fixed-forward pinhole-camera projection: points, lines, polygons.
36pub mod perspective;
37/// Raw-mode terminal setup/teardown.
38pub mod terminal;
39/// App color palette and border glyph set.
40pub mod theme;
41/// Time-driven progress tracking for animations, and the `Phases`
42/// subdivision of a progress range.
43pub mod transition;
44/// Ready-to-render widgets — see `widgets` module docs.
45pub mod widgets;