#include <nxt/tui.hpp>
template <Layout Child>
Surface struct
Layout decorator that clears its raster before rendering a child.
Public functions
- auto height_hint() const → HeightHint constexpr
- Forward the child's height hint.
- void render(RasterView& raster, Size size) const
- Clear the full raster and render the child.
- auto width_hint() const → WidthHint constexpr
- Forward the child's width hint.