HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
hi::v1::detail::grid_layout_cell< T > Struct Template Reference

Public Types

using value_type = T
 

Public Member Functions

constexpr grid_layout_cell (grid_layout_cell const &) noexcept=default
 
constexpr grid_layout_cell (grid_layout_cell &&) noexcept=default
 
constexpr grid_layout_celloperator= (grid_layout_cell const &) noexcept=default
 
constexpr grid_layout_celloperator= (grid_layout_cell &&) noexcept=default
 
template<std::convertible_to< value_type > Value>
constexpr grid_layout_cell (size_t first_column, size_t first_row, size_t last_column, size_t last_row, bool beyond_maximum, Value &&value) noexcept
 
constexpr void set_constraints (box_constraints const &constraints) noexcept
 
template<hi::axis Axis>
constexpr size_t first () const noexcept
 
template<hi::axis Axis>
constexpr size_t last () const noexcept
 
template<hi::axis Axis>
constexpr size_t span () const noexcept
 
template<hi::axis Axis>
constexpr auto alignment () const noexcept
 
template<hi::axis Axis>
constexpr float minimum () const noexcept
 
template<hi::axis Axis>
constexpr float preferred () const noexcept
 
template<hi::axis Axis>
constexpr float maximum () const noexcept
 
template<hi::axis Axis>
constexpr float margin_before (bool forward) const noexcept
 
template<hi::axis Axis>
constexpr float margin_after (bool forward) const noexcept
 

Data Fields

size_t first_column = 0
 
size_t first_row = 0
 
size_t last_column = 0
 
size_t last_row = 0
 
bool beyond_maximum = false
 
value_type value = {}
 
box_shape shape = {}
 

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