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

float minimum = 0.0f
 The minimum width/height of the cells.
 
float preferred = 0.0f
 The preferred width/height of the cells.
 
float maximum = std::numeric_limits<float>::max()
 The maximum width/height of the cells.
 
float margin_before = 0.0f
 The left/top margin of the cells.
 
float margin_after = 0.0f
 The right/bottom margin 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.
 
float position = 0.0f
 The position of the cell.
 
float extent = 0.0f
 Size of the cell.
 
std::optional< float > guideline = 0.0f
 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 >
float hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::extent = 0.0f

Size of the cell.

Note
This field is valid after layout.

◆ guideline

template<hi::axis Axis, typename T >
std::optional<float> hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::guideline = 0.0f

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 >
float hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::margin_after = 0.0f

The right/bottom margin of the cells.

◆ margin_before

template<hi::axis Axis, typename T >
float hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::margin_before = 0.0f

The left/top margin of the cells.

◆ maximum

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

The maximum width/height of the cells.

◆ minimum

template<hi::axis Axis, typename T >
float hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::minimum = 0.0f

The minimum width/height of the cells.

◆ position

template<hi::axis Axis, typename T >
float hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::position = 0.0f

The position of the cell.

Note
This field is valid after layout.

◆ preferred

template<hi::axis Axis, typename T >
float hi::v1::detail::grid_layout_axis_constraints< Axis, T >::constraint_type::preferred = 0.0f

The preferred width/height of the cells.


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