rocketsplash_rt/render/mod.rs
1// <FILE>crates/rocketsplash-rt/src/render/mod.rs</FILE>
2// <DESC>Render buffer and ANSI output helpers</DESC>
3// <VERS>VERSION: 1.1.0</VERS>
4// <WCTX>Runtime library implementation</WCTX>
5// <CLOG>Add internal ANSI state module and preserve render exports</CLOG>
6
7mod cls_ansi_state;
8mod cls_render_buffer;
9mod fnc_apply_color;
10mod fnc_apply_shadow;
11mod fnc_to_ansi;
12
13pub use cls_render_buffer::*;
14pub use fnc_apply_color::*;
15pub use fnc_apply_shadow::*;
16pub use fnc_to_ansi::*;
17
18use rocketsplash_formats::Rgb;
19
20#[derive(Clone, Debug)]
21pub enum ColorFill {
22 Solid(Rgb),
23 Gradient {
24 start: Rgb,
25 end: Rgb,
26 vertical: bool,
27 },
28}
29
30// <FILE>crates/rocketsplash-rt/src/render/mod.rs</FILE>
31// <VERS>END OF VERSION: 1.1.0</VERS>