stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::ActionsBoxWidget::LocalInit Struct Reference
Inheritance diagram for stmg::ActionsBoxWidget::LocalInit:
Inheritance graph
[legend]

Public Attributes

std::vector< int32_t > m_aColumns
 Column weights in the action grid. More...
 
std::vector< int32_t > m_aRows
 Row weights in the action grid. More...
 
std::vector< BoxCellm_aActionCells
 The cells (nIndex = nRow * nTotCols + nCol). More...
 

Member Data Documentation

◆ m_aActionCells

std::vector<BoxCell> stmg::ActionsBoxWidget::LocalInit::m_aActionCells

The cells (nIndex = nRow * nTotCols + nCol).

If cells are missing ACTION_NONE is inserted.

◆ m_aColumns

std::vector<int32_t> stmg::ActionsBoxWidget::LocalInit::m_aColumns

Column weights in the action grid.

If empty, one column (with weight value 1) is created. Must all be >1.

◆ m_aRows

std::vector<int32_t> stmg::ActionsBoxWidget::LocalInit::m_aRows

Row weights in the action grid.

If empty, one row (with weight value 1) is created. Must all be >1.