show rich cells

This commit is contained in:
🪞👃🪞 2025-01-10 00:05:36 +01:00
parent 69832723b3
commit 39c44d1e67
3 changed files with 35 additions and 18 deletions

View file

@ -8,6 +8,14 @@ pub fn map_south<O: Output>(
Push::y(item_offset, Align::n(Fixed::y(item_height, Fill::x(item))))
}
pub fn map_south_west<O: Output>(
item_offset: O::Unit,
item_height: O::Unit,
item: impl Content<O>
) -> impl Content<O> {
Push::y(item_offset, Align::nw(Fixed::y(item_height, Fill::x(item))))
}
pub fn map_east<O: Output>(
item_offset: O::Unit,
item_width: O::Unit,