HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Fields
hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type Struct Reference

Data Fields

int minimum = 0
 The minimum width/height of the cells.
 
int preferred = 0
 The preferred width/height of the cells.
 
int maximum = std::numeric_limits<int>::max()
 The maximum width/height of the cells.
 
int margin_before = 0
 The left/top margin of the cells.
 
int margin_after = 0
 The right/bottom margin of the cells.
 
int padding_before = 0
 The left/top padding of the cells.
 
int padding_after = 0
 The right/bottom padding of the cells.
 
alignment_type alignment = alignment_type::none
 The alignment of the cells.
 
bool beyond_maximum = false
 Allow this cell to be resized beyond the maximum constraint.
 
int position = 0
 The position of the cell.
 
int extent = 0
 Size of the cell.
 
std::optional< int > guideline = 0
 The before-position within this cell where to align to.
 

Field Documentation

◆ alignment

template<hi::axis Axis, typename T >
alignment_type hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::alignment = alignment_type::none

The alignment of the cells.

◆ beyond_maximum

template<hi::axis Axis, typename T >
bool hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::beyond_maximum = false

Allow this cell to be resized beyond the maximum constraint.

◆ extent

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::extent = 0

Size of the cell.

Note
This field is valid after layout.

◆ guideline

template<hi::axis Axis, typename T >
std::optional<int> hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::guideline = 0

The before-position within this cell where to align to.

Note
This field is valid after layout.

◆ margin_after

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::margin_after = 0

The right/bottom margin of the cells.

◆ margin_before

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::margin_before = 0

The left/top margin of the cells.

◆ maximum

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::maximum = std::numeric_limits<int>::max()

The maximum width/height of the cells.

◆ minimum

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::minimum = 0

The minimum width/height of the cells.

◆ padding_after

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::padding_after = 0

The right/bottom padding of the cells.

◆ padding_before

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::padding_before = 0

The left/top padding of the cells.

◆ position

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::position = 0

The position of the cell.

Note
This field is valid after layout.

◆ preferred

template<hi::axis Axis, typename T >
int hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::preferred = 0

The preferred width/height of the cells.


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