HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Fields
hi::v1::detail::grid_cell_data Struct Reference

Data Fields

int32_t parent = -1
 
uint32_t in_use: 1 = 0
 
uint32_t leaf: 1 = 0
 
uint32_t perminant_mark: 1 = 0
 
uint32_t temporary_mark: 1 = 0
 
uint32_t reserved: 28 = 0
 
int32_t col_offset = 0
 Offset in the column table.
 
int32_t row_offset = 0
 Offset in the row table.
 
int8_t col_begin = 0
 
int8_t col_end = 0
 
int8_t row_begin = 0
 
int8_t row_end = 0
 
int8_t width_priority = 0
 The priority when the change the width compared to other cells in the row.
 
int8_t height_priority = 0
 The priority when the change the height compared to other cells in the column.
 
int8_t margin_left = 0
 The left-margin for this cell.
 
int8_t margin_bottom = 0
 The bottom-margin for this cell.
 
int8_t margin_right = 0
 The right-margin for this cell.
 
int8_t margin_top = 0
 The top-margin for this cell.
 
int32_t wrapped_width
 The thinner width when the cell can wrap.
 
int32_t minimum_width
 The preferred width.
 
int32_t maximum_width
 The maximum width.
 
int32_t wrapped_height
 The taller height when the cell can wrap.
 
int32_t minimum_height
 The minimum height.
 
int32_t maximum_height
 The maximum height.
 
int32_t left
 The left position of this cell relative to the parent.
 
int32_t bottom
 The bottom position of this cell relative to the parent.
 
int32_t width
 The width of this cell.
 
int32_t height
 The height of this cell.
 
int8_t num_cols = 0
 Number of columns based on the locations of this cell's children.
 
int8_t num_rows = 0
 Number of rows based on the locations of this cell's children.
 
int8_t col_before_margin = 0
 The left-margin (rtl: right-margin) calculated from children.
 
int8_t row_before_margin = 0
 The top-margin calculated from children.
 
int8_t col_after_margin = 0
 The right-margin (rtl: left-margin) calculated from children.
 
int8_t row_after_margin = 0
 The bottom margin calculated from children.
 

Field Documentation

◆ bottom

int32_t hi::v1::detail::grid_cell_data::bottom

The bottom position of this cell relative to the parent.

Note
This field is calculated.

◆ col_after_margin

int8_t hi::v1::detail::grid_cell_data::col_after_margin = 0

The right-margin (rtl: left-margin) calculated from children.

Note
This field is calculated.

◆ col_before_margin

int8_t hi::v1::detail::grid_cell_data::col_before_margin = 0

The left-margin (rtl: right-margin) calculated from children.

Note
This field is calculated.

◆ col_offset

int32_t hi::v1::detail::grid_cell_data::col_offset = 0

Offset in the column table.

◆ height

int32_t hi::v1::detail::grid_cell_data::height

The height of this cell.

Note
This field is calculated, except for the root grid.

◆ height_priority

int8_t hi::v1::detail::grid_cell_data::height_priority = 0

The priority when the change the height compared to other cells in the column.

◆ left

int32_t hi::v1::detail::grid_cell_data::left

The left position of this cell relative to the parent.

Note
This field is calculated.

◆ margin_bottom

int8_t hi::v1::detail::grid_cell_data::margin_bottom = 0

The bottom-margin for this cell.

Note
For non-leaf cells this is calculated.

◆ margin_left

int8_t hi::v1::detail::grid_cell_data::margin_left = 0

The left-margin for this cell.

Note
For non-leaf cells this is calculated.

◆ margin_right

int8_t hi::v1::detail::grid_cell_data::margin_right = 0

The right-margin for this cell.

Note
For non-leaf cells this is calculated.

◆ margin_top

int8_t hi::v1::detail::grid_cell_data::margin_top = 0

The top-margin for this cell.

Note
For non-leaf cells this is calculated.

◆ maximum_height

int32_t hi::v1::detail::grid_cell_data::maximum_height

The maximum height.

◆ maximum_width

int32_t hi::v1::detail::grid_cell_data::maximum_width

The maximum width.

◆ minimum_height

int32_t hi::v1::detail::grid_cell_data::minimum_height

The minimum height.

◆ minimum_width

int32_t hi::v1::detail::grid_cell_data::minimum_width

The preferred width.

◆ num_cols

int8_t hi::v1::detail::grid_cell_data::num_cols = 0

Number of columns based on the locations of this cell's children.

Note
This field is calculated.

◆ num_rows

int8_t hi::v1::detail::grid_cell_data::num_rows = 0

Number of rows based on the locations of this cell's children.

Note
This field is calculated.

◆ row_after_margin

int8_t hi::v1::detail::grid_cell_data::row_after_margin = 0

The bottom margin calculated from children.

Note
This field is calculated.

◆ row_before_margin

int8_t hi::v1::detail::grid_cell_data::row_before_margin = 0

The top-margin calculated from children.

Note
This field is calculated.

◆ row_offset

int32_t hi::v1::detail::grid_cell_data::row_offset = 0

Offset in the row table.

◆ width

int32_t hi::v1::detail::grid_cell_data::width

The width of this cell.

Note
This field is calculated, except for the root grid.

◆ width_priority

int8_t hi::v1::detail::grid_cell_data::width_priority = 0

The priority when the change the width compared to other cells in the row.

◆ wrapped_height

int32_t hi::v1::detail::grid_cell_data::wrapped_height

The taller height when the cell can wrap.

◆ wrapped_width

int32_t hi::v1::detail::grid_cell_data::wrapped_width

The thinner width when the cell can wrap.


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