Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 370 Bytes

area.md

File metadata and controls

16 lines (12 loc) · 370 Bytes

Area

The Area struct is used to define the two-dimensions of a Widget's physical screen space. Each unit of length is equal to a single text cell on the terminal screen.

struct Area {
    std::size_t width;   // Horizontal
    std::size_t height;  // Vertical
};

See Also