File include/brisk/gui/Layout.hpp
¶
Undefined
class¶
Undefined
LengthOf
class¶
template <IsLengthUnit Unit> LengthOf
auto_
variable¶
constexpr inline Length auto_
Constant representing a Length with an auto size.
operator""_px
function¶
constexpr Length
operator""_px(unsigned long long value) noexcept
UDL operator to convert a value in scalable pixels to Length.
Param value
The value in scalable pixels.
Returns A Length object with the Pixels unit.
operator""_dpx
function¶
constexpr Length
operator""_dpx(unsigned long long value) noexcept
UDL operator to convert a value in device pixels to Length.
Param value
The value in device pixels.
Returns A Length object with the DevicePixels unit.
operator""_apx
function¶
constexpr Length
operator""_apx(unsigned long long value) noexcept
UDL operator to convert a value in aligned pixels to Length.
Param value
The value in aligned pixels.
Returns A Length object with the AlignedPixels unit.
operator""_em
function¶
constexpr Length
operator""_em(unsigned long long value) noexcept
UDL operator to convert a value in Em-units to Length.
Param value
The value in Em-units.
Returns A Length object with the Em unit.
operator""_perc
function¶
constexpr Length
operator""_perc(unsigned long long value) noexcept
UDL operator to convert a value in percents to Length.
Param value
The value in percents.
Returns A Length object with the Percent unit.
operator""_px
function¶
constexpr Length operator""_px(long double value) noexcept
UDL operator to convert a value in scalable pixels (long double) to Length.
Param value
The value in scalable pixels.
Returns A Length object with the Pixels unit.
operator""_dpx
function¶
constexpr Length operator""_dpx(long double value) noexcept
UDL operator to convert a value in device pixels (long double) to Length.
Param value
The value in device pixels.
Returns A Length object with the DevicePixels unit.
operator""_apx
function¶
constexpr Length operator""_apx(long double value) noexcept
UDL operator to convert a value in aligned pixels (long double) to Length.
Param value
The value in aligned pixels.
Returns A Length object with the AlignedPixels unit.
operator""_em
function¶
constexpr Length operator""_em(long double value) noexcept
UDL operator to convert a value in Em-units (long double) to Length.
Param value
The value in Em-units.
Returns A Length object with the Em unit.
operator""_perc
function¶
constexpr Length operator""_perc(long double value) noexcept
UDL operator to convert a value in percents (long double) to Length.
Param value
The value in percents.
Returns A Length object with the Percent unit.
FlexDirection
enum¶
enum class FlexDirection : uint8_t
Specifies the flex container's main axis direction.
Defines the direction in which flex items are placed within a flex container.
Column
enumerator (FlexDirection::Column
)¶
*/
ColumnReverse
enumerator (FlexDirection::ColumnReverse
)¶
*/
Row
enumerator (FlexDirection::Row
)¶
*/
RowReverse
enumerator (FlexDirection::RowReverse
)¶
*/
operator+
function¶
constexpr auto operator+(FlexDirection value) noexcept
Converts a FlexDirection value to its underlying integer type.
Justify
enum¶
enum class Justify : uint8_t
Specifies how flex items are aligned along the main axis.
Defines how the items are distributed along the flex container's main axis.
FlexStart
enumerator (Justify::FlexStart
)¶
*/
Center
enumerator (Justify::Center
)¶
*/
FlexEnd
enumerator (Justify::FlexEnd
)¶
*/
SpaceBetween
enumerator (Justify::SpaceBetween
)¶
*/
SpaceAround
enumerator (Justify::SpaceAround
)¶
*/
SpaceEvenly
enumerator (Justify::SpaceEvenly
)¶
*/
operator+
function¶
constexpr auto operator+(Justify value) noexcept
Converts a Justify value to its underlying integer type.
Align
enum¶
enum class Align : uint8_t
Specifies how flex items are aligned along the cross axis.
Defines how items are aligned perpendicular to the main axis of the flex container.
Auto
enumerator (Align::Auto
)¶
*/
FlexStart
enumerator (Align::FlexStart
)¶
*/
Center
enumerator (Align::Center
)¶
*/
FlexEnd
enumerator (Align::FlexEnd
)¶
*/
Stretch
enumerator (Align::Stretch
)¶
*/
Baseline
enumerator (Align::Baseline
)¶
*/
SpaceBetween
enumerator (Align::SpaceBetween
)¶
*/
SpaceAround
enumerator (Align::SpaceAround
)¶
*/
SpaceEvenly
enumerator (Align::SpaceEvenly
)¶
*/
operator+
function¶
constexpr auto operator+(Align value) noexcept
Converts an Align value to its underlying integer type.
AlignItems
typedef¶
AlignItems = Align
Alias for Align, used for aligning items along the cross axis.
AlignSelf
typedef¶
AlignSelf = Align
Alias for Align, used for aligning individual flex items.
AlignContent
typedef¶
AlignContent = Align
Alias for Align, used for aligning flex container's content along the cross axis.
Wrap
enum¶
enum class Wrap : uint8_t
Specifies whether flex items wrap onto multiple lines.
Defines how the flex container's items wrap within the container.
NoWrap
enumerator (Wrap::NoWrap
)¶
*/
Wrap
enumerator (Wrap::Wrap
)¶
*/
WrapReverse
enumerator (Wrap::WrapReverse
)¶
*/
operator+
function¶
constexpr auto operator+(Wrap value) noexcept
Converts a Wrap value to its underlying integer type.
OverflowScroll
enum¶
enum class OverflowScroll : uint8_t
OverflowScrollDefines the visibility of scrollbars for a container.
Disable
enumerator (OverflowScroll::Disable
)¶
Scrollbars are always hidden.
Enable
enumerator (OverflowScroll::Enable
)¶
Scrollbars are always visible.
Auto
enumerator (OverflowScroll::Auto
)¶
Scrollbars are visible only when content overflows.
ContentOverflow
enum¶
enum class ContentOverflow : uint8_t
ContentOverflowDefines how content overflow affects container sizing.
Default
enumerator (ContentOverflow::Default
)¶
Default sizing behavior is applied.
Allow
enumerator (ContentOverflow::Allow
)¶
Content overflow does not affect the container's size.
Gutter
enum¶
enum class Gutter : uint8_t
Specifies the gutter (spacing) direction for the flex container.
Defines the direction in which gutter spacing is applied between flex items.
Column
enumerator (Gutter::Column
)¶
*/
Row
enumerator (Gutter::Row
)¶
*/
All
enumerator (Gutter::All
)¶
*/
operator+
function¶
constexpr auto operator+(Gutter value) noexcept
Converts a Gutter value to its underlying integer type.
Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/