Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::FrameSides Struct Reference

Present frame sides, also defining one-cell content insets. More...

#include <frame.hpp>

Public Member Functions

constexpr LayoutPadding insets () const noexcept

Public Attributes

bool top {true}
 Reserve and paint the top row.
bool right {true}
 Reserve and paint the right column.
bool bottom {true}
 Reserve and paint the bottom row.
bool left {true}
 Reserve and paint the left column.

Detailed Description

Present frame sides, also defining one-cell content insets.

Member Function Documentation

◆ insets()

LayoutPadding portals::FrameSides::insets ( ) const
inlineconstexprnoexcept
Returns
Corresponding nonnegative left/top/right/bottom cell padding.

The documentation for this struct was generated from the following file: